diff --git a/fittrackee/dist/index.html b/fittrackee/dist/index.html index 4bdf8d2e..8fc5302b 100644 --- a/fittrackee/dist/index.html +++ b/fittrackee/dist/index.html @@ -1 +1 @@ -FitTrackee
\ No newline at end of file +FitTrackee
\ No newline at end of file diff --git a/fittrackee/dist/precache-manifest.33b1081ef2ad6d2cfdbc250d48cb556e.js b/fittrackee/dist/precache-manifest.ab33977b8ffd9aa70dbdc34ad7888ab2.js similarity index 94% rename from fittrackee/dist/precache-manifest.33b1081ef2ad6d2cfdbc250d48cb556e.js rename to fittrackee/dist/precache-manifest.ab33977b8ffd9aa70dbdc34ad7888ab2.js index d64e7f01..e8dece86 100644 --- a/fittrackee/dist/precache-manifest.33b1081ef2ad6d2cfdbc250d48cb556e.js +++ b/fittrackee/dist/precache-manifest.ab33977b8ffd9aa70dbdc34ad7888ab2.js @@ -64,7 +64,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/img/workouts/mountains.svg" }, { - "revision": "1bdce419e10d1064c38aceeaeb2222fd", + "revision": "a1b500ae35a9d51136e952d1c7c3cb25", "url": "/index.html" }, { @@ -80,7 +80,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/static/css/admin.c784857e.css" }, { - "revision": "7d41f2082ed42273f277", + "revision": "80f0e1783d1dc19a615b", "url": "/static/css/app.fc944b83.css" }, { @@ -108,8 +108,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/static/css/reset.528e2916.css" }, { - "revision": "37e775456654cbd24e0b", - "url": "/static/css/workouts.105c79ea.css" + "revision": "afbde641dcb3d7f75c9f", + "url": "/static/css/workouts.a9a41b99.css" }, { "revision": "e719f9244c69e28e7d00e725ca1e280e", @@ -196,8 +196,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/static/js/admin.b2c267a7.js" }, { - "revision": "7d41f2082ed42273f277", - "url": "/static/js/app.f769a5c1.js" + "revision": "80f0e1783d1dc19a615b", + "url": "/static/js/app.e122d304.js" }, { "revision": "bd7d183c9f68e5f4027d", @@ -240,7 +240,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([ "url": "/static/js/reset.607f183f.js" }, { - "revision": "37e775456654cbd24e0b", - "url": "/static/js/workouts.833bfd44.js" + "revision": "afbde641dcb3d7f75c9f", + "url": "/static/js/workouts.4a8b05f4.js" } ]); \ No newline at end of file diff --git a/fittrackee/dist/service-worker.js b/fittrackee/dist/service-worker.js index 3b415bf7..ee077d2b 100644 --- a/fittrackee/dist/service-worker.js +++ b/fittrackee/dist/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/precache-manifest.33b1081ef2ad6d2cfdbc250d48cb556e.js" + "/precache-manifest.ab33977b8ffd9aa70dbdc34ad7888ab2.js" ); workbox.core.setCacheNameDetails({prefix: "fittrackee_client"}); diff --git a/fittrackee/dist/static/css/workouts.105c79ea.css b/fittrackee/dist/static/css/workouts.a9a41b99.css similarity index 95% rename from fittrackee/dist/static/css/workouts.105c79ea.css rename to fittrackee/dist/static/css/workouts.a9a41b99.css index 05fcbb6a..3745a4fc 100644 --- a/fittrackee/dist/static/css/workouts.105c79ea.css +++ b/fittrackee/dist/static/css/workouts.a9a41b99.css @@ -1 +1 @@ -[data-v-6d15726f]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-6d15726f]{margin:0}#app[data-v-6d15726f]{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-6d15726f]{color:var(--app-a-color);text-decoration:none}img[data-v-6d15726f]{max-width:100%}input[data-v-6d15726f],select[data-v-6d15726f],textarea[data-v-6d15726f]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-6d15726f]:disabled,select[data-v-6d15726f]:disabled,textarea[data-v-6d15726f]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-6d15726f]{font-weight:700}button[data-v-6d15726f]{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[data-v-6d15726f]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-6d15726f]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-6d15726f]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-6d15726f]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-6d15726f]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-6d15726f]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-6d15726f]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-6d15726f]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-6d15726f]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-6d15726f]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-6d15726f]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-6d15726f]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-6d15726f]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-6d15726f]{display:flex;flex-direction:column}.form-box .form-items input[data-v-6d15726f]{margin:10px;padding:5px}.upper[data-v-6d15726f]{text-transform:uppercase}.fa-trophy[data-v-6d15726f]{color:var(--workout-trophy-color)}.section-title[data-v-6d15726f]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-6d15726f]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-6d15726f]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-6d15726f]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-6d15726f]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-6d15726f]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-6d15726f]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-6d15726f]{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-6d15726f]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-6d15726f]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-6d15726f]{font-weight:700}.description-list dl dd[data-v-6d15726f]{margin-bottom:10px}.center-card[data-v-6d15726f]{margin:0 auto;width:700px}.center-card.with-margin[data-v-6d15726f]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-6d15726f]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-6d15726f]{margin-top:0}}.center-text[data-v-6d15726f]{text-align:center}.responsive-table[data-v-6d15726f]{margin-bottom:15px}.responsive-table table[data-v-6d15726f]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-6d15726f]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-6d15726f]{font-size:.95em}.responsive-table table tbody td[data-v-6d15726f]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-6d15726f]{border:none}.responsive-table table .cell-heading[data-v-6d15726f]{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-6d15726f]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-6d15726f]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-6d15726f]{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-6d15726f]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-6d15726f]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-6d15726f]{width:100%}}.workouts-filters .form[data-v-6d15726f]{display:flex;flex-direction:column;padding-top:0}.workouts-filters .form .form-items-group[data-v-6d15726f]{display:flex;flex-direction:column;padding:5px}.workouts-filters .form .form-items-group .form-item[data-v-6d15726f]{display:flex;flex-direction:column}.workouts-filters .form .form-items-group .form-item .form-inputs-group[data-v-6d15726f]{display:flex;flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-items-group .form-item .form-inputs-group input[data-v-6d15726f]{width:34%}.workouts-filters .form .form-items-group .form-item .form-inputs-group span[data-v-6d15726f]{padding:5px}.workouts-filters .form .form-items-group .form-item input[data-v-6d15726f]{height:16px}.workouts-filters .form .form-items-group .form-item select[data-v-6d15726f]{height:36px;padding:0 5px}.workouts-filters .form-button[data-v-6d15726f]{display:flex;justify-content:center}.workouts-filters .form-button button[data-v-6d15726f]{margin:20px 5px 10px 5px;width:100%}@media screen and (max-width:1000px){.workouts-filters .form[data-v-6d15726f]{flex-direction:row;padding-top:5px}.workouts-filters .form .form-items-group[data-v-6d15726f]{padding:0 5px;height:100%}.workouts-filters .form .form-items-group .form-item label[data-v-6d15726f]{font-size:.9em}.workouts-filters .form .form-items-group .form-item .form-inputs-group[data-v-6d15726f]{flex-direction:column;justify-content:normal;padding:0}.workouts-filters .form .form-items-group .form-item .form-inputs-group input[data-v-6d15726f]{width:75%}.workouts-filters .form-button button[data-v-6d15726f]{margin:10px 5px;width:100%}}@media screen and (max-width:700px){.workouts-filters .form[data-v-6d15726f]{flex-direction:column;padding-top:0}.workouts-filters .form .form-items-group[data-v-6d15726f]{padding:5px}.workouts-filters .form .form-items-group .form-item label[data-v-6d15726f]{font-size:1em}.workouts-filters .form .form-items-group .form-item .form-inputs-group[data-v-6d15726f]{flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-items-group .form-item .form-inputs-group input[data-v-6d15726f]{width:50%}.workouts-filters .form .form-items-group .form-item .form-inputs-group span[data-v-6d15726f]{padding:5px}.workouts-filters .form-button button[data-v-6d15726f]{margin:10px 5px}}[data-v-d190dd62]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-d190dd62]{margin:0}#app[data-v-d190dd62]{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-d190dd62]{color:var(--app-a-color);text-decoration:none}img[data-v-d190dd62]{max-width:100%}input[data-v-d190dd62],select[data-v-d190dd62],textarea[data-v-d190dd62]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-d190dd62]:disabled,select[data-v-d190dd62]:disabled,textarea[data-v-d190dd62]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-d190dd62]{font-weight:700}button[data-v-d190dd62]{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[data-v-d190dd62]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-d190dd62]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-d190dd62]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-d190dd62]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-d190dd62]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-d190dd62]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-d190dd62]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-d190dd62]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-d190dd62]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-d190dd62]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-d190dd62]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-d190dd62]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-d190dd62]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-d190dd62]{display:flex;flex-direction:column}.form-box .form-items input[data-v-d190dd62]{margin:10px;padding:5px}.upper[data-v-d190dd62]{text-transform:uppercase}.fa-trophy[data-v-d190dd62]{color:var(--workout-trophy-color)}.section-title[data-v-d190dd62]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-d190dd62]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-d190dd62]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-d190dd62]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-d190dd62]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-d190dd62]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-d190dd62]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-d190dd62]{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-d190dd62]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-d190dd62]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-d190dd62]{font-weight:700}.description-list dl dd[data-v-d190dd62]{margin-bottom:10px}.center-card[data-v-d190dd62]{margin:0 auto;width:700px}.center-card.with-margin[data-v-d190dd62]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-d190dd62]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-d190dd62]{margin-top:0}}.center-text[data-v-d190dd62]{text-align:center}.responsive-table[data-v-d190dd62]{margin-bottom:15px}.responsive-table table[data-v-d190dd62]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-d190dd62]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-d190dd62]{font-size:.95em}.responsive-table table tbody td[data-v-d190dd62]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-d190dd62]{border:none}.responsive-table table .cell-heading[data-v-d190dd62]{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-d190dd62]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-d190dd62]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-d190dd62]{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-d190dd62]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-d190dd62]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-d190dd62]{width:100%}}.workouts-list[data-v-d190dd62]{display:flex;flex-direction:column;margin-bottom:50px;width:100%}@media screen and (max-width:700px){.workouts-list .box.empty-table[data-v-d190dd62]{display:none}}.workouts-list .box .workouts-table .sport-col[data-v-d190dd62]{padding-right:0}.workouts-list .box .workouts-table .workout-title[data-v-d190dd62]{max-width:90px;position:relative}.workouts-list .box .workouts-table .workout-title .fa-map-o[data-v-d190dd62]{font-size:.75em}.workouts-list .box .workouts-table .workout-title .static-map[data-v-d190dd62]{display:none;box-shadow:3px 3px 3px 1px #d3d3d3}.workouts-list .box .workouts-table .workout-title:hover .static-map[data-v-d190dd62]{display:block}.workouts-list .box .workouts-table .sport-img[data-v-d190dd62]{height:20px;width:20px}@media screen and (max-width:700px){.workouts-list .box .workouts-table .sport-col[data-v-d190dd62]{display:flex;justify-content:center;padding:10px}.workouts-list .box .workouts-table .workout-title[data-v-d190dd62]{max-width:none}}.workouts-list .more-workouts[data-v-d190dd62]{display:flex;justify-content:center;padding:10px}[data-v-499760ae]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-499760ae]{margin:0}#app[data-v-499760ae]{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-499760ae]{color:var(--app-a-color);text-decoration:none}img[data-v-499760ae]{max-width:100%}input[data-v-499760ae],select[data-v-499760ae],textarea[data-v-499760ae]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-499760ae]:disabled,select[data-v-499760ae]:disabled,textarea[data-v-499760ae]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-499760ae]{font-weight:700}button[data-v-499760ae]{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[data-v-499760ae]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-499760ae]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-499760ae]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-499760ae]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-499760ae]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-499760ae]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-499760ae]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-499760ae]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-499760ae]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-499760ae]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-499760ae]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-499760ae]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-499760ae]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-499760ae]{display:flex;flex-direction:column}.form-box .form-items input[data-v-499760ae]{margin:10px;padding:5px}.upper[data-v-499760ae]{text-transform:uppercase}.fa-trophy[data-v-499760ae]{color:var(--workout-trophy-color)}.section-title[data-v-499760ae]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-499760ae]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-499760ae]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-499760ae]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-499760ae]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-499760ae]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-499760ae]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-499760ae]{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-499760ae]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-499760ae]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-499760ae]{font-weight:700}.description-list dl dd[data-v-499760ae]{margin-bottom:10px}.center-card[data-v-499760ae]{margin:0 auto;width:700px}.center-card.with-margin[data-v-499760ae]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-499760ae]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-499760ae]{margin-top:0}}.center-text[data-v-499760ae]{text-align:center}.responsive-table[data-v-499760ae]{margin-bottom:15px}.responsive-table table[data-v-499760ae]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-499760ae]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-499760ae]{font-size:.95em}.responsive-table table tbody td[data-v-499760ae]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-499760ae]{border:none}.responsive-table table .cell-heading[data-v-499760ae]{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-499760ae]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-499760ae]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-499760ae]{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-499760ae]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-499760ae]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-499760ae]{width:100%}}#workouts[data-v-499760ae]{height:100%}#workouts .workouts-container[data-v-499760ae]{display:flex;flex-direction:row}@media screen and (max-width:1000px){#workouts .workouts-container[data-v-499760ae]{flex-direction:column}}#workouts .workouts-container .filters-container[data-v-499760ae],#workouts .workouts-container .list-container[data-v-499760ae]{display:flex;flex-direction:column}#workouts .workouts-container .filters-container[data-v-499760ae]{width:25%}@media screen and (max-width:1000px){#workouts .workouts-container .filters-container[data-v-499760ae]{width:100%}}@media screen and (max-width:1000px)and (max-width:700px){#workouts .workouts-container .filters-container.hidden[data-v-499760ae]{display:none}}#workouts .workouts-container .display-filters[data-v-499760ae]{display:none;font-size:.8em;padding:0 20px}#workouts .workouts-container .display-filters span[data-v-499760ae]{cursor:pointer;font-weight:700;padding-left:5px}#workouts .workouts-container .display-filters .fa[data-v-499760ae]{cursor:pointer}@media screen and (max-width:700px){#workouts .workouts-container .display-filters[data-v-499760ae]{display:flex;justify-content:flex-end;align-items:center}}#workouts .workouts-container .list-container[data-v-499760ae]{width:75%}@media screen and (max-width:1000px){#workouts .workouts-container .list-container[data-v-499760ae]{width:100%}}[data-v-2230775e]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-2230775e]{margin:0}#app[data-v-2230775e]{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-2230775e]{color:var(--app-a-color);text-decoration:none}img[data-v-2230775e]{max-width:100%}input[data-v-2230775e],select[data-v-2230775e],textarea[data-v-2230775e]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-2230775e]:disabled,select[data-v-2230775e]:disabled,textarea[data-v-2230775e]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-2230775e]{font-weight:700}button[data-v-2230775e]{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[data-v-2230775e]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-2230775e]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-2230775e]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-2230775e]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-2230775e]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-2230775e]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-2230775e]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-2230775e]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-2230775e]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-2230775e]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-2230775e]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-2230775e]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-2230775e]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-2230775e]{display:flex;flex-direction:column}.form-box .form-items input[data-v-2230775e]{margin:10px;padding:5px}.upper[data-v-2230775e]{text-transform:uppercase}.fa-trophy[data-v-2230775e]{color:var(--workout-trophy-color)}.section-title[data-v-2230775e]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-2230775e]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-2230775e]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-2230775e]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-2230775e]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-2230775e]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-2230775e]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-2230775e]{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-2230775e]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-2230775e]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-2230775e]{font-weight:700}.description-list dl dd[data-v-2230775e]{margin-bottom:10px}.center-card[data-v-2230775e]{margin:0 auto;width:700px}.center-card.with-margin[data-v-2230775e]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-2230775e]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-2230775e]{margin-top:0}}.center-text[data-v-2230775e]{text-align:center}.responsive-table[data-v-2230775e]{margin-bottom:15px}.responsive-table table[data-v-2230775e]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-2230775e]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-2230775e]{font-size:.95em}.responsive-table table tbody td[data-v-2230775e]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-2230775e]{border:none}.responsive-table table .cell-heading[data-v-2230775e]{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-2230775e]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-2230775e]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-2230775e]{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-2230775e]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-2230775e]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-2230775e]{width:100%}}#workout-chart[data-v-2230775e] .card .card-title{text-transform:capitalize}#workout-chart[data-v-2230775e] .card .card-content{display:flex;flex-direction:column}#workout-chart[data-v-2230775e] .card .card-content .chart-radio{width:100%;display:flex;justify-content:center}#workout-chart[data-v-2230775e] .card .card-content .chart-radio label{padding:0 10px}#workout-chart[data-v-2230775e] .card .card-content .no-data-cleaning{font-size:.85em;font-style:italic}@media screen and (max-width:700px){#workout-chart[data-v-2230775e] .card .card-content{padding:10px 0}#workout-chart[data-v-2230775e] .card .card-content .no-data-cleaning{padding:0 20px}}[data-v-9cab340c]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-9cab340c]{margin:0}#app[data-v-9cab340c]{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-9cab340c]{color:var(--app-a-color);text-decoration:none}img[data-v-9cab340c]{max-width:100%}input[data-v-9cab340c],select[data-v-9cab340c],textarea[data-v-9cab340c]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-9cab340c]:disabled,select[data-v-9cab340c]:disabled,textarea[data-v-9cab340c]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-9cab340c]{font-weight:700}button[data-v-9cab340c]{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[data-v-9cab340c]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-9cab340c]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-9cab340c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-9cab340c]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-9cab340c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-9cab340c]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-9cab340c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-9cab340c]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-9cab340c]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-9cab340c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-9cab340c]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-9cab340c]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-9cab340c]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-9cab340c]{display:flex;flex-direction:column}.form-box .form-items input[data-v-9cab340c]{margin:10px;padding:5px}.upper[data-v-9cab340c]{text-transform:uppercase}.fa-trophy[data-v-9cab340c]{color:var(--workout-trophy-color)}.section-title[data-v-9cab340c]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-9cab340c]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-9cab340c]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-9cab340c]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-9cab340c]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-9cab340c]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-9cab340c]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-9cab340c]{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-9cab340c]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-9cab340c]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-9cab340c]{font-weight:700}.description-list dl dd[data-v-9cab340c]{margin-bottom:10px}.center-card[data-v-9cab340c]{margin:0 auto;width:700px}.center-card.with-margin[data-v-9cab340c]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-9cab340c]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-9cab340c]{margin-top:0}}.center-text[data-v-9cab340c]{text-align:center}.responsive-table[data-v-9cab340c]{margin-bottom:15px}.responsive-table table[data-v-9cab340c]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-9cab340c]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-9cab340c]{font-size:.95em}.responsive-table table tbody td[data-v-9cab340c]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-9cab340c]{border:none}.responsive-table table .cell-heading[data-v-9cab340c]{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-9cab340c]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-9cab340c]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-9cab340c]{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-9cab340c]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-9cab340c]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-9cab340c]{width:100%}}#workout-card-title[data-v-9cab340c]{display:flex;justify-content:space-between;align-items:center}#workout-card-title .workout-arrow[data-v-9cab340c]{cursor:pointer}#workout-card-title .workout-arrow.inactive[data-v-9cab340c]{color:var(--disabled-color);cursor:default}#workout-card-title .workout-card-title[data-v-9cab340c]{display:flex;flex-grow:1}#workout-card-title .workout-card-title .sport-img[data-v-9cab340c]{height:35px;width:35px;padding:0 10px}#workout-card-title .workout-card-title .workout-date[data-v-9cab340c]{font-size:.8em;font-weight:400}#workout-card-title .workout-card-title .workout-segment[data-v-9cab340c]{font-weight:400}#workout-card-title .workout-card-title .workout-link[data-v-9cab340c]{padding-left:10px}#workout-card-title .workout-card-title .fa[data-v-9cab340c]{padding:0 3px}@media screen and (max-width:700px){#workout-card-title .workout-card-title .fa-edit[data-v-9cab340c],#workout-card-title .workout-card-title .fa-trash[data-v-9cab340c]{border:solid 1px var(--card-border-color);border-radius:4px;margin-left:5px;padding:0 10px}}[data-v-da96984c]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-da96984c]{margin:0}#app[data-v-da96984c]{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-da96984c]{color:var(--app-a-color);text-decoration:none}img[data-v-da96984c]{max-width:100%}input[data-v-da96984c],select[data-v-da96984c],textarea[data-v-da96984c]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-da96984c]:disabled,select[data-v-da96984c]:disabled,textarea[data-v-da96984c]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-da96984c]{font-weight:700}button[data-v-da96984c]{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[data-v-da96984c]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-da96984c]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-da96984c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-da96984c]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-da96984c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-da96984c]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-da96984c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-da96984c]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-da96984c]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-da96984c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-da96984c]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-da96984c]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-da96984c]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-da96984c]{display:flex;flex-direction:column}.form-box .form-items input[data-v-da96984c]{margin:10px;padding:5px}.upper[data-v-da96984c]{text-transform:uppercase}.fa-trophy[data-v-da96984c]{color:var(--workout-trophy-color)}.section-title[data-v-da96984c]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-da96984c]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-da96984c]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-da96984c]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-da96984c]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-da96984c]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-da96984c]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-da96984c]{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-da96984c]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-da96984c]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-da96984c]{font-weight:700}.description-list dl dd[data-v-da96984c]{margin-bottom:10px}.center-card[data-v-da96984c]{margin:0 auto;width:700px}.center-card.with-margin[data-v-da96984c]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-da96984c]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-da96984c]{margin-top:0}}.center-text[data-v-da96984c]{text-align:center}.responsive-table[data-v-da96984c]{margin-bottom:15px}.responsive-table table[data-v-da96984c]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-da96984c]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-da96984c]{font-size:.95em}.responsive-table table tbody td[data-v-da96984c]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-da96984c]{border:none}.responsive-table table .cell-heading[data-v-da96984c]{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-da96984c]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-da96984c]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-da96984c]{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-da96984c]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-da96984c]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-da96984c]{width:100%}}.workout-record sup[data-v-da96984c]{font-size:75%;line-height:0}[data-v-7eb41918]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-7eb41918]{margin:0}#app[data-v-7eb41918]{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-7eb41918]{color:var(--app-a-color);text-decoration:none}img[data-v-7eb41918]{max-width:100%}input[data-v-7eb41918],select[data-v-7eb41918],textarea[data-v-7eb41918]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-7eb41918]:disabled,select[data-v-7eb41918]:disabled,textarea[data-v-7eb41918]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-7eb41918]{font-weight:700}button[data-v-7eb41918]{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[data-v-7eb41918]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-7eb41918]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-7eb41918]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-7eb41918]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-7eb41918]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-7eb41918]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-7eb41918]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-7eb41918]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-7eb41918]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-7eb41918]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-7eb41918]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-7eb41918]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-7eb41918]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-7eb41918]{display:flex;flex-direction:column}.form-box .form-items input[data-v-7eb41918]{margin:10px;padding:5px}.upper[data-v-7eb41918]{text-transform:uppercase}.fa-trophy[data-v-7eb41918]{color:var(--workout-trophy-color)}.section-title[data-v-7eb41918]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-7eb41918]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-7eb41918]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-7eb41918]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-7eb41918]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-7eb41918]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-7eb41918]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-7eb41918]{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-7eb41918]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-7eb41918]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-7eb41918]{font-weight:700}.description-list dl dd[data-v-7eb41918]{margin-bottom:10px}.center-card[data-v-7eb41918]{margin:0 auto;width:700px}.center-card.with-margin[data-v-7eb41918]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-7eb41918]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-7eb41918]{margin-top:0}}.center-text[data-v-7eb41918]{text-align:center}.responsive-table[data-v-7eb41918]{margin-bottom:15px}.responsive-table table[data-v-7eb41918]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-7eb41918]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-7eb41918]{font-size:.95em}.responsive-table table tbody td[data-v-7eb41918]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-7eb41918]{border:none}.responsive-table table .cell-heading[data-v-7eb41918]{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-7eb41918]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-7eb41918]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-7eb41918]{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-7eb41918]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-7eb41918]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-7eb41918]{width:100%}}#workout-weather[data-v-7eb41918]{padding-top:10px}#workout-weather .weather-img[data-v-7eb41918]{height:30px;filter:var(--workout-img-color)}#workout-weather .weather-img-small[data-v-7eb41918]{height:20px}#workout-weather .weather-table[data-v-7eb41918]{width:100%;text-align:center}#workout-weather .weather-table .weather-th[data-v-7eb41918]{display:flex;flex-direction:column;text-transform:capitalize}#workout-weather .weather-table tbody[data-v-7eb41918]{font-size:.8em}[data-v-45a7f031]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-45a7f031]{margin:0}#app[data-v-45a7f031]{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-45a7f031]{color:var(--app-a-color);text-decoration:none}img[data-v-45a7f031]{max-width:100%}input[data-v-45a7f031],select[data-v-45a7f031],textarea[data-v-45a7f031]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-45a7f031]:disabled,select[data-v-45a7f031]:disabled,textarea[data-v-45a7f031]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-45a7f031]{font-weight:700}button[data-v-45a7f031]{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[data-v-45a7f031]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-45a7f031]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-45a7f031]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-45a7f031]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-45a7f031]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-45a7f031]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-45a7f031]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-45a7f031]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-45a7f031]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-45a7f031]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-45a7f031]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-45a7f031]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-45a7f031]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-45a7f031]{display:flex;flex-direction:column}.form-box .form-items input[data-v-45a7f031]{margin:10px;padding:5px}.upper[data-v-45a7f031]{text-transform:uppercase}.fa-trophy[data-v-45a7f031]{color:var(--workout-trophy-color)}.section-title[data-v-45a7f031]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-45a7f031]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-45a7f031]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-45a7f031]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-45a7f031]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-45a7f031]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-45a7f031]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-45a7f031]{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-45a7f031]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-45a7f031]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-45a7f031]{font-weight:700}.description-list dl dd[data-v-45a7f031]{margin-bottom:10px}.center-card[data-v-45a7f031]{margin:0 auto;width:700px}.center-card.with-margin[data-v-45a7f031]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-45a7f031]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-45a7f031]{margin-top:0}}.center-text[data-v-45a7f031]{text-align:center}.responsive-table[data-v-45a7f031]{margin-bottom:15px}.responsive-table table[data-v-45a7f031]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-45a7f031]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-45a7f031]{font-size:.95em}.responsive-table table tbody td[data-v-45a7f031]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-45a7f031]{border:none}.responsive-table table .cell-heading[data-v-45a7f031]{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-45a7f031]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-45a7f031]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-45a7f031]{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-45a7f031]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-45a7f031]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-45a7f031]{width:100%}}#workout-info[data-v-45a7f031]{display:flex;flex-direction:column;padding:10px 20px;width:100%}#workout-info .mountains[data-v-45a7f031]{margin-bottom:-3px;height:16px;filter:var(--workout-img-color)}#workout-info .workout-data[data-v-45a7f031]{text-transform:capitalize;padding:5px 0}#workout-info .workout-data span[data-v-45a7f031]{font-weight:700;text-transform:lowercase}@media screen and (max-width:700px){#workout-info[data-v-45a7f031]{padding:10px}}[data-v-76f3a2e8]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-76f3a2e8]{margin:0}#app[data-v-76f3a2e8]{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-76f3a2e8]{color:var(--app-a-color);text-decoration:none}img[data-v-76f3a2e8]{max-width:100%}input[data-v-76f3a2e8],select[data-v-76f3a2e8],textarea[data-v-76f3a2e8]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-76f3a2e8]:disabled,select[data-v-76f3a2e8]:disabled,textarea[data-v-76f3a2e8]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-76f3a2e8]{font-weight:700}button[data-v-76f3a2e8]{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[data-v-76f3a2e8]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-76f3a2e8]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-76f3a2e8]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-76f3a2e8]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-76f3a2e8]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-76f3a2e8]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-76f3a2e8]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-76f3a2e8]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-76f3a2e8]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-76f3a2e8]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-76f3a2e8]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-76f3a2e8]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-76f3a2e8]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-76f3a2e8]{display:flex;flex-direction:column}.form-box .form-items input[data-v-76f3a2e8]{margin:10px;padding:5px}.upper[data-v-76f3a2e8]{text-transform:uppercase}.fa-trophy[data-v-76f3a2e8]{color:var(--workout-trophy-color)}.section-title[data-v-76f3a2e8]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-76f3a2e8]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-76f3a2e8]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-76f3a2e8]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-76f3a2e8]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-76f3a2e8]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-76f3a2e8]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-76f3a2e8]{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-76f3a2e8]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-76f3a2e8]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-76f3a2e8]{font-weight:700}.description-list dl dd[data-v-76f3a2e8]{margin-bottom:10px}.center-card[data-v-76f3a2e8]{margin:0 auto;width:700px}.center-card.with-margin[data-v-76f3a2e8]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-76f3a2e8]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-76f3a2e8]{margin-top:0}}.center-text[data-v-76f3a2e8]{text-align:center}.responsive-table[data-v-76f3a2e8]{margin-bottom:15px}.responsive-table table[data-v-76f3a2e8]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-76f3a2e8]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-76f3a2e8]{font-size:.95em}.responsive-table table tbody td[data-v-76f3a2e8]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-76f3a2e8]{border:none}.responsive-table table .cell-heading[data-v-76f3a2e8]{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-76f3a2e8]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-76f3a2e8]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-76f3a2e8]{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-76f3a2e8]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-76f3a2e8]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-76f3a2e8]{width:100%}}#workout-map[data-v-76f3a2e8]{padding:10px 0}#workout-map .leaflet-container[data-v-76f3a2e8],#workout-map .no-map[data-v-76f3a2e8]{height:400px;width:600px}#workout-map .no-map[data-v-76f3a2e8]{line-height:400px}@media screen and (max-width:700px){#workout-map[data-v-76f3a2e8]{padding:0}#workout-map .leaflet-container[data-v-76f3a2e8]{width:100%;height:300px}#workout-map .no-map[data-v-76f3a2e8]{display:none}}[data-v-a17554ea]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-a17554ea]{margin:0}#app[data-v-a17554ea]{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-a17554ea]{color:var(--app-a-color);text-decoration:none}img[data-v-a17554ea]{max-width:100%}input[data-v-a17554ea],select[data-v-a17554ea],textarea[data-v-a17554ea]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-a17554ea]:disabled,select[data-v-a17554ea]:disabled,textarea[data-v-a17554ea]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-a17554ea]{font-weight:700}button[data-v-a17554ea]{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[data-v-a17554ea]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-a17554ea]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-a17554ea]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-a17554ea]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-a17554ea]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-a17554ea]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-a17554ea]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-a17554ea]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-a17554ea]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-a17554ea]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-a17554ea]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-a17554ea]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-a17554ea]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-a17554ea]{display:flex;flex-direction:column}.form-box .form-items input[data-v-a17554ea]{margin:10px;padding:5px}.upper[data-v-a17554ea]{text-transform:uppercase}.fa-trophy[data-v-a17554ea]{color:var(--workout-trophy-color)}.section-title[data-v-a17554ea]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-a17554ea]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-a17554ea]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-a17554ea]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-a17554ea]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-a17554ea]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-a17554ea]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-a17554ea]{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-a17554ea]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-a17554ea]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-a17554ea]{font-weight:700}.description-list dl dd[data-v-a17554ea]{margin-bottom:10px}.center-card[data-v-a17554ea]{margin:0 auto;width:700px}.center-card.with-margin[data-v-a17554ea]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-a17554ea]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-a17554ea]{margin-top:0}}.center-text[data-v-a17554ea]{text-align:center}.responsive-table[data-v-a17554ea]{margin-bottom:15px}.responsive-table table[data-v-a17554ea]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-a17554ea]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-a17554ea]{font-size:.95em}.responsive-table table tbody td[data-v-a17554ea]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-a17554ea]{border:none}.responsive-table table .cell-heading[data-v-a17554ea]{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-a17554ea]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-a17554ea]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-a17554ea]{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-a17554ea]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-a17554ea]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-a17554ea]{width:100%}}.workout-detail[data-v-a17554ea]{display:flex}.workout-detail[data-v-a17554ea] .card{width:100%}.workout-detail[data-v-a17554ea] .card .card-content{display:flex;flex-direction:row}@media screen and (max-width:1000px){.workout-detail[data-v-a17554ea] .card .card-content{flex-direction:column}}[data-v-5c47d30a]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-5c47d30a]{margin:0}#app[data-v-5c47d30a]{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-5c47d30a]{color:var(--app-a-color);text-decoration:none}img[data-v-5c47d30a]{max-width:100%}input[data-v-5c47d30a],select[data-v-5c47d30a],textarea[data-v-5c47d30a]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-5c47d30a]:disabled,select[data-v-5c47d30a]:disabled,textarea[data-v-5c47d30a]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-5c47d30a]{font-weight:700}button[data-v-5c47d30a]{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[data-v-5c47d30a]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-5c47d30a]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-5c47d30a]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-5c47d30a]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-5c47d30a]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-5c47d30a]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-5c47d30a]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-5c47d30a]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-5c47d30a]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-5c47d30a]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-5c47d30a]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-5c47d30a]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-5c47d30a]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-5c47d30a]{display:flex;flex-direction:column}.form-box .form-items input[data-v-5c47d30a]{margin:10px;padding:5px}.upper[data-v-5c47d30a]{text-transform:uppercase}.fa-trophy[data-v-5c47d30a]{color:var(--workout-trophy-color)}.section-title[data-v-5c47d30a]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-5c47d30a]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-5c47d30a]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-5c47d30a]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-5c47d30a]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-5c47d30a]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-5c47d30a]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-5c47d30a]{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-5c47d30a]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-5c47d30a]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-5c47d30a]{font-weight:700}.description-list dl dd[data-v-5c47d30a]{margin-bottom:10px}.center-card[data-v-5c47d30a]{margin:0 auto;width:700px}.center-card.with-margin[data-v-5c47d30a]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-5c47d30a]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-5c47d30a]{margin-top:0}}.center-text[data-v-5c47d30a]{text-align:center}.responsive-table[data-v-5c47d30a]{margin-bottom:15px}.responsive-table table[data-v-5c47d30a]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-5c47d30a]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-5c47d30a]{font-size:.95em}.responsive-table table tbody td[data-v-5c47d30a]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-5c47d30a]{border:none}.responsive-table table .cell-heading[data-v-5c47d30a]{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-5c47d30a]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-5c47d30a]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-5c47d30a]{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-5c47d30a]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-5c47d30a]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-5c47d30a]{width:100%}}#workout-note[data-v-5c47d30a] .card-content{font-style:italic}[data-v-5c40d110]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-5c40d110]{margin:0}#app[data-v-5c40d110]{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-5c40d110]{color:var(--app-a-color);text-decoration:none}img[data-v-5c40d110]{max-width:100%}input[data-v-5c40d110],select[data-v-5c40d110],textarea[data-v-5c40d110]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-5c40d110]:disabled,select[data-v-5c40d110]:disabled,textarea[data-v-5c40d110]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-5c40d110]{font-weight:700}button[data-v-5c40d110]{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[data-v-5c40d110]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-5c40d110]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-5c40d110]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-5c40d110]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-5c40d110]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-5c40d110]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-5c40d110]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-5c40d110]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-5c40d110]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-5c40d110]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-5c40d110]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-5c40d110]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-5c40d110]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-5c40d110]{display:flex;flex-direction:column}.form-box .form-items input[data-v-5c40d110]{margin:10px;padding:5px}.upper[data-v-5c40d110]{text-transform:uppercase}.fa-trophy[data-v-5c40d110]{color:var(--workout-trophy-color)}.section-title[data-v-5c40d110]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-5c40d110]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-5c40d110]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-5c40d110]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-5c40d110]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-5c40d110]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-5c40d110]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-5c40d110]{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-5c40d110]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-5c40d110]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-5c40d110]{font-weight:700}.description-list dl dd[data-v-5c40d110]{margin-bottom:10px}.center-card[data-v-5c40d110]{margin:0 auto;width:700px}.center-card.with-margin[data-v-5c40d110]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-5c40d110]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-5c40d110]{margin-top:0}}.center-text[data-v-5c40d110]{text-align:center}.responsive-table[data-v-5c40d110]{margin-bottom:15px}.responsive-table table[data-v-5c40d110]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-5c40d110]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-5c40d110]{font-size:.95em}.responsive-table table tbody td[data-v-5c40d110]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-5c40d110]{border:none}.responsive-table table .cell-heading[data-v-5c40d110]{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-5c40d110]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-5c40d110]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-5c40d110]{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-5c40d110]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-5c40d110]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-5c40d110]{width:100%}}#workout-segments[data-v-5c40d110] .card .card-title{text-transform:capitalize}#workout-segments[data-v-5c40d110] .card .card-content{padding-bottom:0;padding-top:0}#workout-segments[data-v-5c40d110] .card .card-content a{font-weight:700}#workout-segments[data-v-5c40d110] .card .card-content ul{padding:0 10px;list-style:square}[data-v-a4156454]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-a4156454]{margin:0}#app[data-v-a4156454]{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-a4156454]{color:var(--app-a-color);text-decoration:none}img[data-v-a4156454]{max-width:100%}input[data-v-a4156454],select[data-v-a4156454],textarea[data-v-a4156454]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-a4156454]:disabled,select[data-v-a4156454]:disabled,textarea[data-v-a4156454]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-a4156454]{font-weight:700}button[data-v-a4156454]{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[data-v-a4156454]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-a4156454]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-a4156454]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-a4156454]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-a4156454]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-a4156454]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-a4156454]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-a4156454]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-a4156454]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-a4156454]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-a4156454]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-a4156454]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-a4156454]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-a4156454]{display:flex;flex-direction:column}.form-box .form-items input[data-v-a4156454]{margin:10px;padding:5px}.upper[data-v-a4156454]{text-transform:uppercase}.fa-trophy[data-v-a4156454]{color:var(--workout-trophy-color)}.section-title[data-v-a4156454]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-a4156454]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-a4156454]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-a4156454]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-a4156454]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-a4156454]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-a4156454]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-a4156454]{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-a4156454]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-a4156454]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-a4156454]{font-weight:700}.description-list dl dd[data-v-a4156454]{margin-bottom:10px}.center-card[data-v-a4156454]{margin:0 auto;width:700px}.center-card.with-margin[data-v-a4156454]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-a4156454]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-a4156454]{margin-top:0}}.center-text[data-v-a4156454]{text-align:center}.responsive-table[data-v-a4156454]{margin-bottom:15px}.responsive-table table[data-v-a4156454]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-a4156454]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-a4156454]{font-size:.95em}.responsive-table table tbody td[data-v-a4156454]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-a4156454]{border:none}.responsive-table table .cell-heading[data-v-a4156454]{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-a4156454]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-a4156454]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-a4156454]{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-a4156454]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-a4156454]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-a4156454]{width:100%}}#workout[data-v-a4156454]{display:flex;margin-bottom:45px}#workout .container[data-v-a4156454]{width:100%;padding:0}#workout .container .workout-container[data-v-a4156454]{width:100%}#workout .container .workout-loading[data-v-a4156454]{height:calc(100vh - 130px);width:100%}#workout .container .workout-loading .loading[data-v-a4156454]{display:flex;align-items:center;height:100%}[data-v-29a8656e]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-29a8656e]{margin:0}#app[data-v-29a8656e]{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-29a8656e]{color:var(--app-a-color);text-decoration:none}img[data-v-29a8656e]{max-width:100%}input[data-v-29a8656e],select[data-v-29a8656e],textarea[data-v-29a8656e]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-29a8656e]:disabled,select[data-v-29a8656e]:disabled,textarea[data-v-29a8656e]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-29a8656e]{font-weight:700}button[data-v-29a8656e]{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[data-v-29a8656e]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-29a8656e]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-29a8656e]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-29a8656e]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-29a8656e]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-29a8656e]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-29a8656e]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-29a8656e]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-29a8656e]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-29a8656e]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-29a8656e]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-29a8656e]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-29a8656e]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-29a8656e]{display:flex;flex-direction:column}.form-box .form-items input[data-v-29a8656e]{margin:10px;padding:5px}.upper[data-v-29a8656e]{text-transform:uppercase}.fa-trophy[data-v-29a8656e]{color:var(--workout-trophy-color)}.section-title[data-v-29a8656e]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-29a8656e]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-29a8656e]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-29a8656e]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-29a8656e]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-29a8656e]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-29a8656e]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-29a8656e]{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-29a8656e]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-29a8656e]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-29a8656e]{font-weight:700}.description-list dl dd[data-v-29a8656e]{margin-bottom:10px}.center-card[data-v-29a8656e]{margin:0 auto;width:700px}.center-card.with-margin[data-v-29a8656e]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-29a8656e]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-29a8656e]{margin-top:0}}.center-text[data-v-29a8656e]{text-align:center}.responsive-table[data-v-29a8656e]{margin-bottom:15px}.responsive-table table[data-v-29a8656e]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-29a8656e]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-29a8656e]{font-size:.95em}.responsive-table table tbody td[data-v-29a8656e]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-29a8656e]{border:none}.responsive-table table .cell-heading[data-v-29a8656e]{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-29a8656e]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-29a8656e]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-29a8656e]{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-29a8656e]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-29a8656e]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-29a8656e]{width:100%}}@media screen and (max-width:700px){#workout-edition.center-form[data-v-29a8656e]{margin:50px auto}}#workout-edition[data-v-29a8656e] .card .card-title{text-align:center;text-transform:uppercase}@media screen and (max-width:1000px){#workout-edition[data-v-29a8656e] .card .card-content{padding:10px 0}}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items{display:flex;flex-direction:column}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items input{height:20px}#workout-edition[data-v-29a8656e] .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-29a8656e] .card .card-content #workout-form .form-items .workout-date-duration{flex-direction:column}}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item{display:flex;flex-direction:column;padding:10px}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item .workout-date-time{display:flex}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item .workout-date-time #workout-date{margin-right:10px}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item .workout-duration{width:25px}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item-radio{display:flex;justify-content:space-around}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item-radio label{font-weight:400}@media screen and (max-width:1000px){#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item-radio label{font-size:.9em}}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-items .form-item-radio input{margin-top:-2px;vertical-align:middle}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-buttons{display:flex;justify-content:flex-end}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .form-buttons button{margin:5px}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .files-help{display:flex;justify-content:space-around;margin-top:10px}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .files-help div{display:flex}@media screen and (max-width:1000px){#workout-edition[data-v-29a8656e] .card .card-content #workout-form .files-help div{flex-direction:column}}#workout-edition[data-v-29a8656e] .card .card-content #workout-form .files-help div ul{margin:0;padding:0 20px}[data-v-2e2371d9]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(../../static/fonts/pt-sans-v9-latin-regular.c2a4d575.eot);src:local("PT Sans"),local("PTSans-Regular"),url(../../static/fonts/pt-sans-v9-latin-regular.c2a4d575.eot?#iefix) format("embedded-opentype"),url(../../static/fonts/pt-sans-v9-latin-regular.198d320b.woff2) format("woff2"),url(../../static/fonts/pt-sans-v9-latin-regular.399a9357.woff) format("woff"),url(../../static/fonts/pt-sans-v9-latin-regular.4ffa4616.ttf) format("truetype"),url(../../static/img/pt-sans-v9-latin-regular.f1f73e45.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.d5f81343.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(../../static/fonts/pt-sans-v9-latin-italic.d5f81343.eot?#iefix) format("embedded-opentype"),url(../../static/fonts/pt-sans-v9-latin-italic.57d98c19.woff2) format("woff2"),url(../../static/fonts/pt-sans-v9-latin-italic.de9540fd.woff) format("woff"),url(../../static/fonts/pt-sans-v9-latin-italic.4ef1aece.ttf) format("truetype"),url(../../static/img/pt-sans-v9-latin-italic.648d3351.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.1db19001.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(../../static/fonts/pt-sans-v9-latin-700.1db19001.eot?#iefix) format("embedded-opentype"),url(../../static/fonts/pt-sans-v9-latin-700.f6d5807c.woff2) format("woff2"),url(../../static/fonts/pt-sans-v9-latin-700.e86e8add.woff) format("woff"),url(../../static/fonts/pt-sans-v9-latin-700.6078a795.ttf) format("truetype"),url(../../static/img/pt-sans-v9-latin-700.061c8566.svg#PTSans) format("svg")}body[data-v-2e2371d9]{margin:0}#app[data-v-2e2371d9]{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-2e2371d9]{color:var(--app-a-color);text-decoration:none}img[data-v-2e2371d9]{max-width:100%}input[data-v-2e2371d9],select[data-v-2e2371d9],textarea[data-v-2e2371d9]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-2e2371d9]:disabled,select[data-v-2e2371d9]:disabled,textarea[data-v-2e2371d9]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-2e2371d9]{font-weight:700}button[data-v-2e2371d9]{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[data-v-2e2371d9]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-2e2371d9]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-2e2371d9]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-2e2371d9]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-2e2371d9]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-2e2371d9]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-2e2371d9]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-2e2371d9]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-2e2371d9]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-2e2371d9]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-2e2371d9]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-2e2371d9]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-2e2371d9]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-2e2371d9]{display:flex;flex-direction:column}.form-box .form-items input[data-v-2e2371d9]{margin:10px;padding:5px}.upper[data-v-2e2371d9]{text-transform:uppercase}.fa-trophy[data-v-2e2371d9]{color:var(--workout-trophy-color)}.section-title[data-v-2e2371d9]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-2e2371d9]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-2e2371d9]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-2e2371d9]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-2e2371d9]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-2e2371d9]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-2e2371d9]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-2e2371d9]{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-2e2371d9]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-2e2371d9]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-2e2371d9]{font-weight:700}.description-list dl dd[data-v-2e2371d9]{margin-bottom:10px}.center-card[data-v-2e2371d9]{margin:0 auto;width:700px}.center-card.with-margin[data-v-2e2371d9]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-2e2371d9]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-2e2371d9]{margin-top:0}}.center-text[data-v-2e2371d9]{text-align:center}.responsive-table[data-v-2e2371d9]{margin-bottom:15px}.responsive-table table[data-v-2e2371d9]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-2e2371d9]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-2e2371d9]{font-size:.95em}.responsive-table table tbody td[data-v-2e2371d9]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-2e2371d9]{border:none}.responsive-table table .cell-heading[data-v-2e2371d9]{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-2e2371d9]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-2e2371d9]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-2e2371d9]{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-2e2371d9]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-2e2371d9]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-2e2371d9]{width:100%}} \ No newline at end of file +[data-v-6d15726f]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-6d15726f]{margin:0}#app[data-v-6d15726f]{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-6d15726f]{color:var(--app-a-color);text-decoration:none}img[data-v-6d15726f]{max-width:100%}input[data-v-6d15726f],select[data-v-6d15726f],textarea[data-v-6d15726f]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-6d15726f]:disabled,select[data-v-6d15726f]:disabled,textarea[data-v-6d15726f]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-6d15726f]{font-weight:700}button[data-v-6d15726f]{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[data-v-6d15726f]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-6d15726f]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-6d15726f]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-6d15726f]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-6d15726f]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-6d15726f]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-6d15726f]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-6d15726f]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-6d15726f]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-6d15726f]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-6d15726f]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-6d15726f]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-6d15726f]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-6d15726f]{display:flex;flex-direction:column}.form-box .form-items input[data-v-6d15726f]{margin:10px;padding:5px}.upper[data-v-6d15726f]{text-transform:uppercase}.fa-trophy[data-v-6d15726f]{color:var(--workout-trophy-color)}.section-title[data-v-6d15726f]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-6d15726f]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-6d15726f]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-6d15726f]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-6d15726f]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-6d15726f]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-6d15726f]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-6d15726f]{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-6d15726f]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-6d15726f]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-6d15726f]{font-weight:700}.description-list dl dd[data-v-6d15726f]{margin-bottom:10px}.center-card[data-v-6d15726f]{margin:0 auto;width:700px}.center-card.with-margin[data-v-6d15726f]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-6d15726f]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-6d15726f]{margin-top:0}}.center-text[data-v-6d15726f]{text-align:center}.responsive-table[data-v-6d15726f]{margin-bottom:15px}.responsive-table table[data-v-6d15726f]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-6d15726f]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-6d15726f]{font-size:.95em}.responsive-table table tbody td[data-v-6d15726f]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-6d15726f]{border:none}.responsive-table table .cell-heading[data-v-6d15726f]{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-6d15726f]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-6d15726f]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-6d15726f]{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-6d15726f]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-6d15726f]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-6d15726f]{width:100%}}.workouts-filters .form[data-v-6d15726f]{display:flex;flex-direction:column;padding-top:0}.workouts-filters .form .form-items-group[data-v-6d15726f]{display:flex;flex-direction:column;padding:5px}.workouts-filters .form .form-items-group .form-item[data-v-6d15726f]{display:flex;flex-direction:column}.workouts-filters .form .form-items-group .form-item .form-inputs-group[data-v-6d15726f]{display:flex;flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-items-group .form-item .form-inputs-group input[data-v-6d15726f]{width:34%}.workouts-filters .form .form-items-group .form-item .form-inputs-group span[data-v-6d15726f]{padding:5px}.workouts-filters .form .form-items-group .form-item input[data-v-6d15726f]{height:16px}.workouts-filters .form .form-items-group .form-item select[data-v-6d15726f]{height:36px;padding:0 5px}.workouts-filters .form-button[data-v-6d15726f]{display:flex;justify-content:center}.workouts-filters .form-button button[data-v-6d15726f]{margin:20px 5px 10px 5px;width:100%}@media screen and (max-width:1000px){.workouts-filters .form[data-v-6d15726f]{flex-direction:row;padding-top:5px}.workouts-filters .form .form-items-group[data-v-6d15726f]{padding:0 5px;height:100%}.workouts-filters .form .form-items-group .form-item label[data-v-6d15726f]{font-size:.9em}.workouts-filters .form .form-items-group .form-item .form-inputs-group[data-v-6d15726f]{flex-direction:column;justify-content:normal;padding:0}.workouts-filters .form .form-items-group .form-item .form-inputs-group input[data-v-6d15726f]{width:75%}.workouts-filters .form-button button[data-v-6d15726f]{margin:10px 5px;width:100%}}@media screen and (max-width:700px){.workouts-filters .form[data-v-6d15726f]{flex-direction:column;padding-top:0}.workouts-filters .form .form-items-group[data-v-6d15726f]{padding:5px}.workouts-filters .form .form-items-group .form-item label[data-v-6d15726f]{font-size:1em}.workouts-filters .form .form-items-group .form-item .form-inputs-group[data-v-6d15726f]{flex-direction:row;justify-content:space-around;align-items:center}.workouts-filters .form .form-items-group .form-item .form-inputs-group input[data-v-6d15726f]{width:50%}.workouts-filters .form .form-items-group .form-item .form-inputs-group span[data-v-6d15726f]{padding:5px}.workouts-filters .form-button button[data-v-6d15726f]{margin:10px 5px}}[data-v-d190dd62]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-d190dd62]{margin:0}#app[data-v-d190dd62]{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-d190dd62]{color:var(--app-a-color);text-decoration:none}img[data-v-d190dd62]{max-width:100%}input[data-v-d190dd62],select[data-v-d190dd62],textarea[data-v-d190dd62]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-d190dd62]:disabled,select[data-v-d190dd62]:disabled,textarea[data-v-d190dd62]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-d190dd62]{font-weight:700}button[data-v-d190dd62]{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[data-v-d190dd62]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-d190dd62]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-d190dd62]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-d190dd62]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-d190dd62]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-d190dd62]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-d190dd62]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-d190dd62]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-d190dd62]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-d190dd62]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-d190dd62]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-d190dd62]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-d190dd62]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-d190dd62]{display:flex;flex-direction:column}.form-box .form-items input[data-v-d190dd62]{margin:10px;padding:5px}.upper[data-v-d190dd62]{text-transform:uppercase}.fa-trophy[data-v-d190dd62]{color:var(--workout-trophy-color)}.section-title[data-v-d190dd62]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-d190dd62]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-d190dd62]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-d190dd62]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-d190dd62]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-d190dd62]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-d190dd62]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-d190dd62]{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-d190dd62]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-d190dd62]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-d190dd62]{font-weight:700}.description-list dl dd[data-v-d190dd62]{margin-bottom:10px}.center-card[data-v-d190dd62]{margin:0 auto;width:700px}.center-card.with-margin[data-v-d190dd62]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-d190dd62]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-d190dd62]{margin-top:0}}.center-text[data-v-d190dd62]{text-align:center}.responsive-table[data-v-d190dd62]{margin-bottom:15px}.responsive-table table[data-v-d190dd62]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-d190dd62]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-d190dd62]{font-size:.95em}.responsive-table table tbody td[data-v-d190dd62]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-d190dd62]{border:none}.responsive-table table .cell-heading[data-v-d190dd62]{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-d190dd62]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-d190dd62]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-d190dd62]{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-d190dd62]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-d190dd62]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-d190dd62]{width:100%}}.workouts-list[data-v-d190dd62]{display:flex;flex-direction:column;margin-bottom:50px;width:100%}@media screen and (max-width:700px){.workouts-list .box.empty-table[data-v-d190dd62]{display:none}}.workouts-list .box .workouts-table .sport-col[data-v-d190dd62]{padding-right:0}.workouts-list .box .workouts-table .workout-title[data-v-d190dd62]{max-width:90px;position:relative}.workouts-list .box .workouts-table .workout-title .fa-map-o[data-v-d190dd62]{font-size:.75em}.workouts-list .box .workouts-table .workout-title .static-map[data-v-d190dd62]{display:none;box-shadow:3px 3px 3px 1px #d3d3d3}.workouts-list .box .workouts-table .workout-title:hover .static-map[data-v-d190dd62]{display:block}.workouts-list .box .workouts-table .sport-img[data-v-d190dd62]{height:20px;width:20px}@media screen and (max-width:700px){.workouts-list .box .workouts-table .sport-col[data-v-d190dd62]{display:flex;justify-content:center;padding:10px}.workouts-list .box .workouts-table .workout-title[data-v-d190dd62]{max-width:none}}.workouts-list .more-workouts[data-v-d190dd62]{display:flex;justify-content:center;padding:10px}[data-v-499760ae]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-499760ae]{margin:0}#app[data-v-499760ae]{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-499760ae]{color:var(--app-a-color);text-decoration:none}img[data-v-499760ae]{max-width:100%}input[data-v-499760ae],select[data-v-499760ae],textarea[data-v-499760ae]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-499760ae]:disabled,select[data-v-499760ae]:disabled,textarea[data-v-499760ae]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-499760ae]{font-weight:700}button[data-v-499760ae]{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[data-v-499760ae]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-499760ae]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-499760ae]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-499760ae]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-499760ae]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-499760ae]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-499760ae]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-499760ae]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-499760ae]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-499760ae]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-499760ae]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-499760ae]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-499760ae]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-499760ae]{display:flex;flex-direction:column}.form-box .form-items input[data-v-499760ae]{margin:10px;padding:5px}.upper[data-v-499760ae]{text-transform:uppercase}.fa-trophy[data-v-499760ae]{color:var(--workout-trophy-color)}.section-title[data-v-499760ae]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-499760ae]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-499760ae]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-499760ae]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-499760ae]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-499760ae]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-499760ae]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-499760ae]{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-499760ae]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-499760ae]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-499760ae]{font-weight:700}.description-list dl dd[data-v-499760ae]{margin-bottom:10px}.center-card[data-v-499760ae]{margin:0 auto;width:700px}.center-card.with-margin[data-v-499760ae]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-499760ae]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-499760ae]{margin-top:0}}.center-text[data-v-499760ae]{text-align:center}.responsive-table[data-v-499760ae]{margin-bottom:15px}.responsive-table table[data-v-499760ae]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-499760ae]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-499760ae]{font-size:.95em}.responsive-table table tbody td[data-v-499760ae]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-499760ae]{border:none}.responsive-table table .cell-heading[data-v-499760ae]{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-499760ae]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-499760ae]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-499760ae]{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-499760ae]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-499760ae]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-499760ae]{width:100%}}#workouts[data-v-499760ae]{height:100%}#workouts .workouts-container[data-v-499760ae]{display:flex;flex-direction:row}@media screen and (max-width:1000px){#workouts .workouts-container[data-v-499760ae]{flex-direction:column}}#workouts .workouts-container .filters-container[data-v-499760ae],#workouts .workouts-container .list-container[data-v-499760ae]{display:flex;flex-direction:column}#workouts .workouts-container .filters-container[data-v-499760ae]{width:25%}@media screen and (max-width:1000px){#workouts .workouts-container .filters-container[data-v-499760ae]{width:100%}}@media screen and (max-width:1000px)and (max-width:700px){#workouts .workouts-container .filters-container.hidden[data-v-499760ae]{display:none}}#workouts .workouts-container .display-filters[data-v-499760ae]{display:none;font-size:.8em;padding:0 20px}#workouts .workouts-container .display-filters span[data-v-499760ae]{cursor:pointer;font-weight:700;padding-left:5px}#workouts .workouts-container .display-filters .fa[data-v-499760ae]{cursor:pointer}@media screen and (max-width:700px){#workouts .workouts-container .display-filters[data-v-499760ae]{display:flex;justify-content:flex-end;align-items:center}}#workouts .workouts-container .list-container[data-v-499760ae]{width:75%}@media screen and (max-width:1000px){#workouts .workouts-container .list-container[data-v-499760ae]{width:100%}}[data-v-2230775e]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-2230775e]{margin:0}#app[data-v-2230775e]{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-2230775e]{color:var(--app-a-color);text-decoration:none}img[data-v-2230775e]{max-width:100%}input[data-v-2230775e],select[data-v-2230775e],textarea[data-v-2230775e]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-2230775e]:disabled,select[data-v-2230775e]:disabled,textarea[data-v-2230775e]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-2230775e]{font-weight:700}button[data-v-2230775e]{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[data-v-2230775e]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-2230775e]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-2230775e]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-2230775e]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-2230775e]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-2230775e]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-2230775e]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-2230775e]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-2230775e]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-2230775e]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-2230775e]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-2230775e]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-2230775e]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-2230775e]{display:flex;flex-direction:column}.form-box .form-items input[data-v-2230775e]{margin:10px;padding:5px}.upper[data-v-2230775e]{text-transform:uppercase}.fa-trophy[data-v-2230775e]{color:var(--workout-trophy-color)}.section-title[data-v-2230775e]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-2230775e]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-2230775e]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-2230775e]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-2230775e]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-2230775e]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-2230775e]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-2230775e]{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-2230775e]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-2230775e]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-2230775e]{font-weight:700}.description-list dl dd[data-v-2230775e]{margin-bottom:10px}.center-card[data-v-2230775e]{margin:0 auto;width:700px}.center-card.with-margin[data-v-2230775e]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-2230775e]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-2230775e]{margin-top:0}}.center-text[data-v-2230775e]{text-align:center}.responsive-table[data-v-2230775e]{margin-bottom:15px}.responsive-table table[data-v-2230775e]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-2230775e]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-2230775e]{font-size:.95em}.responsive-table table tbody td[data-v-2230775e]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-2230775e]{border:none}.responsive-table table .cell-heading[data-v-2230775e]{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-2230775e]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-2230775e]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-2230775e]{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-2230775e]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-2230775e]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-2230775e]{width:100%}}#workout-chart[data-v-2230775e] .card .card-title{text-transform:capitalize}#workout-chart[data-v-2230775e] .card .card-content{display:flex;flex-direction:column}#workout-chart[data-v-2230775e] .card .card-content .chart-radio{width:100%;display:flex;justify-content:center}#workout-chart[data-v-2230775e] .card .card-content .chart-radio label{padding:0 10px}#workout-chart[data-v-2230775e] .card .card-content .no-data-cleaning{font-size:.85em;font-style:italic}@media screen and (max-width:700px){#workout-chart[data-v-2230775e] .card .card-content{padding:10px 0}#workout-chart[data-v-2230775e] .card .card-content .no-data-cleaning{padding:0 20px}}[data-v-9cab340c]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-9cab340c]{margin:0}#app[data-v-9cab340c]{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-9cab340c]{color:var(--app-a-color);text-decoration:none}img[data-v-9cab340c]{max-width:100%}input[data-v-9cab340c],select[data-v-9cab340c],textarea[data-v-9cab340c]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-9cab340c]:disabled,select[data-v-9cab340c]:disabled,textarea[data-v-9cab340c]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-9cab340c]{font-weight:700}button[data-v-9cab340c]{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[data-v-9cab340c]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-9cab340c]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-9cab340c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-9cab340c]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-9cab340c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-9cab340c]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-9cab340c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-9cab340c]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-9cab340c]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-9cab340c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-9cab340c]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-9cab340c]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-9cab340c]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-9cab340c]{display:flex;flex-direction:column}.form-box .form-items input[data-v-9cab340c]{margin:10px;padding:5px}.upper[data-v-9cab340c]{text-transform:uppercase}.fa-trophy[data-v-9cab340c]{color:var(--workout-trophy-color)}.section-title[data-v-9cab340c]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-9cab340c]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-9cab340c]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-9cab340c]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-9cab340c]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-9cab340c]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-9cab340c]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-9cab340c]{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-9cab340c]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-9cab340c]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-9cab340c]{font-weight:700}.description-list dl dd[data-v-9cab340c]{margin-bottom:10px}.center-card[data-v-9cab340c]{margin:0 auto;width:700px}.center-card.with-margin[data-v-9cab340c]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-9cab340c]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-9cab340c]{margin-top:0}}.center-text[data-v-9cab340c]{text-align:center}.responsive-table[data-v-9cab340c]{margin-bottom:15px}.responsive-table table[data-v-9cab340c]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-9cab340c]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-9cab340c]{font-size:.95em}.responsive-table table tbody td[data-v-9cab340c]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-9cab340c]{border:none}.responsive-table table .cell-heading[data-v-9cab340c]{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-9cab340c]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-9cab340c]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-9cab340c]{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-9cab340c]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-9cab340c]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-9cab340c]{width:100%}}#workout-card-title[data-v-9cab340c]{display:flex;justify-content:space-between;align-items:center}#workout-card-title .workout-arrow[data-v-9cab340c]{cursor:pointer}#workout-card-title .workout-arrow.inactive[data-v-9cab340c]{color:var(--disabled-color);cursor:default}#workout-card-title .workout-card-title[data-v-9cab340c]{display:flex;flex-grow:1}#workout-card-title .workout-card-title .sport-img[data-v-9cab340c]{height:35px;width:35px;padding:0 10px}#workout-card-title .workout-card-title .workout-date[data-v-9cab340c]{font-size:.8em;font-weight:400}#workout-card-title .workout-card-title .workout-segment[data-v-9cab340c]{font-weight:400}#workout-card-title .workout-card-title .workout-link[data-v-9cab340c]{padding-left:10px}#workout-card-title .workout-card-title .fa[data-v-9cab340c]{padding:0 3px}@media screen and (max-width:700px){#workout-card-title .workout-card-title .fa-edit[data-v-9cab340c],#workout-card-title .workout-card-title .fa-trash[data-v-9cab340c]{border:solid 1px var(--card-border-color);border-radius:4px;margin-left:5px;padding:0 10px}}[data-v-da96984c]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-da96984c]{margin:0}#app[data-v-da96984c]{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-da96984c]{color:var(--app-a-color);text-decoration:none}img[data-v-da96984c]{max-width:100%}input[data-v-da96984c],select[data-v-da96984c],textarea[data-v-da96984c]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-da96984c]:disabled,select[data-v-da96984c]:disabled,textarea[data-v-da96984c]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-da96984c]{font-weight:700}button[data-v-da96984c]{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[data-v-da96984c]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-da96984c]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-da96984c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-da96984c]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-da96984c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-da96984c]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-da96984c]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-da96984c]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-da96984c]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-da96984c]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-da96984c]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-da96984c]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-da96984c]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-da96984c]{display:flex;flex-direction:column}.form-box .form-items input[data-v-da96984c]{margin:10px;padding:5px}.upper[data-v-da96984c]{text-transform:uppercase}.fa-trophy[data-v-da96984c]{color:var(--workout-trophy-color)}.section-title[data-v-da96984c]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-da96984c]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-da96984c]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-da96984c]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-da96984c]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-da96984c]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-da96984c]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-da96984c]{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-da96984c]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-da96984c]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-da96984c]{font-weight:700}.description-list dl dd[data-v-da96984c]{margin-bottom:10px}.center-card[data-v-da96984c]{margin:0 auto;width:700px}.center-card.with-margin[data-v-da96984c]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-da96984c]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-da96984c]{margin-top:0}}.center-text[data-v-da96984c]{text-align:center}.responsive-table[data-v-da96984c]{margin-bottom:15px}.responsive-table table[data-v-da96984c]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-da96984c]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-da96984c]{font-size:.95em}.responsive-table table tbody td[data-v-da96984c]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-da96984c]{border:none}.responsive-table table .cell-heading[data-v-da96984c]{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-da96984c]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-da96984c]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-da96984c]{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-da96984c]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-da96984c]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-da96984c]{width:100%}}.workout-record sup[data-v-da96984c]{font-size:75%;line-height:0}[data-v-7eb41918]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-7eb41918]{margin:0}#app[data-v-7eb41918]{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-7eb41918]{color:var(--app-a-color);text-decoration:none}img[data-v-7eb41918]{max-width:100%}input[data-v-7eb41918],select[data-v-7eb41918],textarea[data-v-7eb41918]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-7eb41918]:disabled,select[data-v-7eb41918]:disabled,textarea[data-v-7eb41918]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-7eb41918]{font-weight:700}button[data-v-7eb41918]{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[data-v-7eb41918]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-7eb41918]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-7eb41918]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-7eb41918]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-7eb41918]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-7eb41918]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-7eb41918]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-7eb41918]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-7eb41918]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-7eb41918]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-7eb41918]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-7eb41918]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-7eb41918]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-7eb41918]{display:flex;flex-direction:column}.form-box .form-items input[data-v-7eb41918]{margin:10px;padding:5px}.upper[data-v-7eb41918]{text-transform:uppercase}.fa-trophy[data-v-7eb41918]{color:var(--workout-trophy-color)}.section-title[data-v-7eb41918]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-7eb41918]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-7eb41918]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-7eb41918]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-7eb41918]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-7eb41918]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-7eb41918]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-7eb41918]{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-7eb41918]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-7eb41918]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-7eb41918]{font-weight:700}.description-list dl dd[data-v-7eb41918]{margin-bottom:10px}.center-card[data-v-7eb41918]{margin:0 auto;width:700px}.center-card.with-margin[data-v-7eb41918]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-7eb41918]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-7eb41918]{margin-top:0}}.center-text[data-v-7eb41918]{text-align:center}.responsive-table[data-v-7eb41918]{margin-bottom:15px}.responsive-table table[data-v-7eb41918]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-7eb41918]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-7eb41918]{font-size:.95em}.responsive-table table tbody td[data-v-7eb41918]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-7eb41918]{border:none}.responsive-table table .cell-heading[data-v-7eb41918]{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-7eb41918]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-7eb41918]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-7eb41918]{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-7eb41918]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-7eb41918]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-7eb41918]{width:100%}}#workout-weather[data-v-7eb41918]{padding-top:10px}#workout-weather .weather-img[data-v-7eb41918]{height:30px;filter:var(--workout-img-color)}#workout-weather .weather-img-small[data-v-7eb41918]{height:20px}#workout-weather .weather-table[data-v-7eb41918]{width:100%;text-align:center}#workout-weather .weather-table .weather-th[data-v-7eb41918]{display:flex;flex-direction:column;text-transform:capitalize}#workout-weather .weather-table tbody[data-v-7eb41918]{font-size:.8em}[data-v-45a7f031]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-45a7f031]{margin:0}#app[data-v-45a7f031]{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-45a7f031]{color:var(--app-a-color);text-decoration:none}img[data-v-45a7f031]{max-width:100%}input[data-v-45a7f031],select[data-v-45a7f031],textarea[data-v-45a7f031]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-45a7f031]:disabled,select[data-v-45a7f031]:disabled,textarea[data-v-45a7f031]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-45a7f031]{font-weight:700}button[data-v-45a7f031]{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[data-v-45a7f031]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-45a7f031]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-45a7f031]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-45a7f031]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-45a7f031]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-45a7f031]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-45a7f031]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-45a7f031]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-45a7f031]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-45a7f031]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-45a7f031]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-45a7f031]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-45a7f031]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-45a7f031]{display:flex;flex-direction:column}.form-box .form-items input[data-v-45a7f031]{margin:10px;padding:5px}.upper[data-v-45a7f031]{text-transform:uppercase}.fa-trophy[data-v-45a7f031]{color:var(--workout-trophy-color)}.section-title[data-v-45a7f031]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-45a7f031]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-45a7f031]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-45a7f031]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-45a7f031]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-45a7f031]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-45a7f031]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-45a7f031]{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-45a7f031]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-45a7f031]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-45a7f031]{font-weight:700}.description-list dl dd[data-v-45a7f031]{margin-bottom:10px}.center-card[data-v-45a7f031]{margin:0 auto;width:700px}.center-card.with-margin[data-v-45a7f031]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-45a7f031]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-45a7f031]{margin-top:0}}.center-text[data-v-45a7f031]{text-align:center}.responsive-table[data-v-45a7f031]{margin-bottom:15px}.responsive-table table[data-v-45a7f031]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-45a7f031]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-45a7f031]{font-size:.95em}.responsive-table table tbody td[data-v-45a7f031]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-45a7f031]{border:none}.responsive-table table .cell-heading[data-v-45a7f031]{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-45a7f031]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-45a7f031]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-45a7f031]{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-45a7f031]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-45a7f031]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-45a7f031]{width:100%}}#workout-info[data-v-45a7f031]{display:flex;flex-direction:column;padding:10px 20px;width:100%}#workout-info .mountains[data-v-45a7f031]{margin-bottom:-3px;height:16px;filter:var(--workout-img-color)}#workout-info .workout-data[data-v-45a7f031]{text-transform:capitalize;padding:5px 0}#workout-info .workout-data span[data-v-45a7f031]{font-weight:700;text-transform:lowercase}@media screen and (max-width:700px){#workout-info[data-v-45a7f031]{padding:10px}}[data-v-76f3a2e8]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-76f3a2e8]{margin:0}#app[data-v-76f3a2e8]{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-76f3a2e8]{color:var(--app-a-color);text-decoration:none}img[data-v-76f3a2e8]{max-width:100%}input[data-v-76f3a2e8],select[data-v-76f3a2e8],textarea[data-v-76f3a2e8]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-76f3a2e8]:disabled,select[data-v-76f3a2e8]:disabled,textarea[data-v-76f3a2e8]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-76f3a2e8]{font-weight:700}button[data-v-76f3a2e8]{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[data-v-76f3a2e8]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-76f3a2e8]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-76f3a2e8]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-76f3a2e8]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-76f3a2e8]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-76f3a2e8]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-76f3a2e8]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-76f3a2e8]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-76f3a2e8]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-76f3a2e8]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-76f3a2e8]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-76f3a2e8]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-76f3a2e8]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-76f3a2e8]{display:flex;flex-direction:column}.form-box .form-items input[data-v-76f3a2e8]{margin:10px;padding:5px}.upper[data-v-76f3a2e8]{text-transform:uppercase}.fa-trophy[data-v-76f3a2e8]{color:var(--workout-trophy-color)}.section-title[data-v-76f3a2e8]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-76f3a2e8]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-76f3a2e8]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-76f3a2e8]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-76f3a2e8]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-76f3a2e8]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-76f3a2e8]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-76f3a2e8]{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-76f3a2e8]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-76f3a2e8]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-76f3a2e8]{font-weight:700}.description-list dl dd[data-v-76f3a2e8]{margin-bottom:10px}.center-card[data-v-76f3a2e8]{margin:0 auto;width:700px}.center-card.with-margin[data-v-76f3a2e8]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-76f3a2e8]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-76f3a2e8]{margin-top:0}}.center-text[data-v-76f3a2e8]{text-align:center}.responsive-table[data-v-76f3a2e8]{margin-bottom:15px}.responsive-table table[data-v-76f3a2e8]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-76f3a2e8]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-76f3a2e8]{font-size:.95em}.responsive-table table tbody td[data-v-76f3a2e8]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-76f3a2e8]{border:none}.responsive-table table .cell-heading[data-v-76f3a2e8]{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-76f3a2e8]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-76f3a2e8]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-76f3a2e8]{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-76f3a2e8]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-76f3a2e8]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-76f3a2e8]{width:100%}}#workout-map[data-v-76f3a2e8]{padding:10px 0}#workout-map .leaflet-container[data-v-76f3a2e8],#workout-map .no-map[data-v-76f3a2e8]{height:400px;width:600px}#workout-map .no-map[data-v-76f3a2e8]{line-height:400px}@media screen and (max-width:700px){#workout-map[data-v-76f3a2e8]{padding:0}#workout-map .leaflet-container[data-v-76f3a2e8]{width:100%;height:300px}#workout-map .no-map[data-v-76f3a2e8]{display:none}}[data-v-a17554ea]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-a17554ea]{margin:0}#app[data-v-a17554ea]{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-a17554ea]{color:var(--app-a-color);text-decoration:none}img[data-v-a17554ea]{max-width:100%}input[data-v-a17554ea],select[data-v-a17554ea],textarea[data-v-a17554ea]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-a17554ea]:disabled,select[data-v-a17554ea]:disabled,textarea[data-v-a17554ea]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-a17554ea]{font-weight:700}button[data-v-a17554ea]{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[data-v-a17554ea]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-a17554ea]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-a17554ea]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-a17554ea]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-a17554ea]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-a17554ea]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-a17554ea]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-a17554ea]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-a17554ea]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-a17554ea]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-a17554ea]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-a17554ea]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-a17554ea]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-a17554ea]{display:flex;flex-direction:column}.form-box .form-items input[data-v-a17554ea]{margin:10px;padding:5px}.upper[data-v-a17554ea]{text-transform:uppercase}.fa-trophy[data-v-a17554ea]{color:var(--workout-trophy-color)}.section-title[data-v-a17554ea]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-a17554ea]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-a17554ea]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-a17554ea]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-a17554ea]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-a17554ea]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-a17554ea]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-a17554ea]{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-a17554ea]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-a17554ea]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-a17554ea]{font-weight:700}.description-list dl dd[data-v-a17554ea]{margin-bottom:10px}.center-card[data-v-a17554ea]{margin:0 auto;width:700px}.center-card.with-margin[data-v-a17554ea]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-a17554ea]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-a17554ea]{margin-top:0}}.center-text[data-v-a17554ea]{text-align:center}.responsive-table[data-v-a17554ea]{margin-bottom:15px}.responsive-table table[data-v-a17554ea]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-a17554ea]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-a17554ea]{font-size:.95em}.responsive-table table tbody td[data-v-a17554ea]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-a17554ea]{border:none}.responsive-table table .cell-heading[data-v-a17554ea]{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-a17554ea]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-a17554ea]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-a17554ea]{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-a17554ea]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-a17554ea]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-a17554ea]{width:100%}}.workout-detail[data-v-a17554ea]{display:flex}.workout-detail[data-v-a17554ea] .card{width:100%}.workout-detail[data-v-a17554ea] .card .card-content{display:flex;flex-direction:row}@media screen and (max-width:1000px){.workout-detail[data-v-a17554ea] .card .card-content{flex-direction:column}}[data-v-5c47d30a]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-5c47d30a]{margin:0}#app[data-v-5c47d30a]{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-5c47d30a]{color:var(--app-a-color);text-decoration:none}img[data-v-5c47d30a]{max-width:100%}input[data-v-5c47d30a],select[data-v-5c47d30a],textarea[data-v-5c47d30a]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-5c47d30a]:disabled,select[data-v-5c47d30a]:disabled,textarea[data-v-5c47d30a]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-5c47d30a]{font-weight:700}button[data-v-5c47d30a]{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[data-v-5c47d30a]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-5c47d30a]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-5c47d30a]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-5c47d30a]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-5c47d30a]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-5c47d30a]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-5c47d30a]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-5c47d30a]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-5c47d30a]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-5c47d30a]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-5c47d30a]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-5c47d30a]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-5c47d30a]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-5c47d30a]{display:flex;flex-direction:column}.form-box .form-items input[data-v-5c47d30a]{margin:10px;padding:5px}.upper[data-v-5c47d30a]{text-transform:uppercase}.fa-trophy[data-v-5c47d30a]{color:var(--workout-trophy-color)}.section-title[data-v-5c47d30a]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-5c47d30a]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-5c47d30a]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-5c47d30a]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-5c47d30a]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-5c47d30a]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-5c47d30a]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-5c47d30a]{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-5c47d30a]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-5c47d30a]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-5c47d30a]{font-weight:700}.description-list dl dd[data-v-5c47d30a]{margin-bottom:10px}.center-card[data-v-5c47d30a]{margin:0 auto;width:700px}.center-card.with-margin[data-v-5c47d30a]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-5c47d30a]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-5c47d30a]{margin-top:0}}.center-text[data-v-5c47d30a]{text-align:center}.responsive-table[data-v-5c47d30a]{margin-bottom:15px}.responsive-table table[data-v-5c47d30a]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-5c47d30a]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-5c47d30a]{font-size:.95em}.responsive-table table tbody td[data-v-5c47d30a]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-5c47d30a]{border:none}.responsive-table table .cell-heading[data-v-5c47d30a]{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-5c47d30a]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-5c47d30a]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-5c47d30a]{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-5c47d30a]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-5c47d30a]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-5c47d30a]{width:100%}}#workout-note[data-v-5c47d30a] .card-content{font-style:italic}[data-v-5c40d110]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-5c40d110]{margin:0}#app[data-v-5c40d110]{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-5c40d110]{color:var(--app-a-color);text-decoration:none}img[data-v-5c40d110]{max-width:100%}input[data-v-5c40d110],select[data-v-5c40d110],textarea[data-v-5c40d110]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-5c40d110]:disabled,select[data-v-5c40d110]:disabled,textarea[data-v-5c40d110]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-5c40d110]{font-weight:700}button[data-v-5c40d110]{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[data-v-5c40d110]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-5c40d110]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-5c40d110]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-5c40d110]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-5c40d110]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-5c40d110]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-5c40d110]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-5c40d110]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-5c40d110]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-5c40d110]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-5c40d110]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-5c40d110]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-5c40d110]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-5c40d110]{display:flex;flex-direction:column}.form-box .form-items input[data-v-5c40d110]{margin:10px;padding:5px}.upper[data-v-5c40d110]{text-transform:uppercase}.fa-trophy[data-v-5c40d110]{color:var(--workout-trophy-color)}.section-title[data-v-5c40d110]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-5c40d110]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-5c40d110]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-5c40d110]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-5c40d110]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-5c40d110]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-5c40d110]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-5c40d110]{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-5c40d110]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-5c40d110]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-5c40d110]{font-weight:700}.description-list dl dd[data-v-5c40d110]{margin-bottom:10px}.center-card[data-v-5c40d110]{margin:0 auto;width:700px}.center-card.with-margin[data-v-5c40d110]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-5c40d110]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-5c40d110]{margin-top:0}}.center-text[data-v-5c40d110]{text-align:center}.responsive-table[data-v-5c40d110]{margin-bottom:15px}.responsive-table table[data-v-5c40d110]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-5c40d110]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-5c40d110]{font-size:.95em}.responsive-table table tbody td[data-v-5c40d110]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-5c40d110]{border:none}.responsive-table table .cell-heading[data-v-5c40d110]{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-5c40d110]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-5c40d110]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-5c40d110]{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-5c40d110]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-5c40d110]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-5c40d110]{width:100%}}#workout-segments[data-v-5c40d110] .card .card-title{text-transform:capitalize}#workout-segments[data-v-5c40d110] .card .card-content{padding-bottom:0;padding-top:0}#workout-segments[data-v-5c40d110] .card .card-content a{font-weight:700}#workout-segments[data-v-5c40d110] .card .card-content ul{padding:0 10px;list-style:square}[data-v-a4156454]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-a4156454]{margin:0}#app[data-v-a4156454]{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-a4156454]{color:var(--app-a-color);text-decoration:none}img[data-v-a4156454]{max-width:100%}input[data-v-a4156454],select[data-v-a4156454],textarea[data-v-a4156454]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-a4156454]:disabled,select[data-v-a4156454]:disabled,textarea[data-v-a4156454]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-a4156454]{font-weight:700}button[data-v-a4156454]{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[data-v-a4156454]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-a4156454]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-a4156454]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-a4156454]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-a4156454]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-a4156454]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-a4156454]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-a4156454]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-a4156454]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-a4156454]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-a4156454]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-a4156454]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-a4156454]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-a4156454]{display:flex;flex-direction:column}.form-box .form-items input[data-v-a4156454]{margin:10px;padding:5px}.upper[data-v-a4156454]{text-transform:uppercase}.fa-trophy[data-v-a4156454]{color:var(--workout-trophy-color)}.section-title[data-v-a4156454]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-a4156454]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-a4156454]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-a4156454]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-a4156454]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-a4156454]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-a4156454]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-a4156454]{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-a4156454]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-a4156454]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-a4156454]{font-weight:700}.description-list dl dd[data-v-a4156454]{margin-bottom:10px}.center-card[data-v-a4156454]{margin:0 auto;width:700px}.center-card.with-margin[data-v-a4156454]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-a4156454]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-a4156454]{margin-top:0}}.center-text[data-v-a4156454]{text-align:center}.responsive-table[data-v-a4156454]{margin-bottom:15px}.responsive-table table[data-v-a4156454]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-a4156454]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-a4156454]{font-size:.95em}.responsive-table table tbody td[data-v-a4156454]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-a4156454]{border:none}.responsive-table table .cell-heading[data-v-a4156454]{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-a4156454]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-a4156454]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-a4156454]{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-a4156454]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-a4156454]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-a4156454]{width:100%}}#workout[data-v-a4156454]{display:flex;margin-bottom:45px}#workout .container[data-v-a4156454]{width:100%;padding:0}#workout .container .workout-container[data-v-a4156454]{width:100%}#workout .container .workout-loading[data-v-a4156454]{height:calc(100vh - 130px);width:100%}#workout .container .workout-loading .loading[data-v-a4156454]{display:flex;align-items:center;height:100%}[data-v-0dfe7a73]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}body[data-v-0dfe7a73]{margin:0}#app[data-v-0dfe7a73]{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-0dfe7a73]{color:var(--app-a-color);text-decoration:none}img[data-v-0dfe7a73]{max-width:100%}input[data-v-0dfe7a73],select[data-v-0dfe7a73],textarea[data-v-0dfe7a73]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-0dfe7a73]:disabled,select[data-v-0dfe7a73]:disabled,textarea[data-v-0dfe7a73]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-0dfe7a73]{font-weight:700}button[data-v-0dfe7a73]{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[data-v-0dfe7a73]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-0dfe7a73]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-0dfe7a73]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-0dfe7a73]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-0dfe7a73]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-0dfe7a73]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-0dfe7a73]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-0dfe7a73]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-0dfe7a73]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-0dfe7a73]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-0dfe7a73]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-0dfe7a73]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-0dfe7a73]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-0dfe7a73]{display:flex;flex-direction:column}.form-box .form-items input[data-v-0dfe7a73]{margin:10px;padding:5px}.upper[data-v-0dfe7a73]{text-transform:uppercase}.fa-trophy[data-v-0dfe7a73]{color:var(--workout-trophy-color)}.section-title[data-v-0dfe7a73]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-0dfe7a73]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-0dfe7a73]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-0dfe7a73]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-0dfe7a73]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-0dfe7a73]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-0dfe7a73]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-0dfe7a73]{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-0dfe7a73]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-0dfe7a73]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-0dfe7a73]{font-weight:700}.description-list dl dd[data-v-0dfe7a73]{margin-bottom:10px}.center-card[data-v-0dfe7a73]{margin:0 auto;width:700px}.center-card.with-margin[data-v-0dfe7a73]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-0dfe7a73]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-0dfe7a73]{margin-top:0}}.center-text[data-v-0dfe7a73]{text-align:center}.responsive-table[data-v-0dfe7a73]{margin-bottom:15px}.responsive-table table[data-v-0dfe7a73]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-0dfe7a73]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-0dfe7a73]{font-size:.95em}.responsive-table table tbody td[data-v-0dfe7a73]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-0dfe7a73]{border:none}.responsive-table table .cell-heading[data-v-0dfe7a73]{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-0dfe7a73]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-0dfe7a73]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-0dfe7a73]{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-0dfe7a73]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-0dfe7a73]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-0dfe7a73]{width:100%}}@media screen and (max-width:700px){#workout-edition.center-form[data-v-0dfe7a73]{margin:50px auto}}#workout-edition[data-v-0dfe7a73] .card .card-title{text-align:center;text-transform:uppercase}@media screen and (max-width:1000px){#workout-edition[data-v-0dfe7a73] .card .card-content{padding:10px 0}}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items{display:flex;flex-direction:column}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items input{height:20px}#workout-edition[data-v-0dfe7a73] .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-0dfe7a73] .card .card-content #workout-form .form-items .workout-date-duration{flex-direction:column}}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item{display:flex;flex-direction:column;padding:10px}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item .workout-date-time{display:flex}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item .workout-date-time #workout-date{margin-right:10px}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item .workout-duration{width:25px}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item-radio{display:flex;justify-content:space-around}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item-radio label{font-weight:400}@media screen and (max-width:1000px){#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item-radio label{font-size:.9em}}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-items .form-item-radio input{margin-top:-2px;vertical-align:middle}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-buttons{display:flex;justify-content:flex-end}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .form-buttons button{margin:5px}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .files-help{display:flex;justify-content:space-around;margin-top:10px}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .files-help div{display:flex}@media screen and (max-width:1000px){#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .files-help div{flex-direction:column}}#workout-edition[data-v-0dfe7a73] .card .card-content #workout-form .files-help div ul{margin:0;padding:0 20px}[data-v-2e2371d9]:root{--app-background-color:#fff;--app-color:#2c3e50;--app-color-light:#808b96;--app-a-color:#40578a;--app-shadow-color:#d3d3d3;--app-loading-color:#f3f3f3;--app-loading-top-color:var(--app-color);--button-hover-color:#fff;--button-cancel-bg-color:#fff;--button-cancel-color:var(--app-color);--button-confirm-bg-color:#fff;--button-confirm-color:var(--app-color);--button-danger-bg-color:#fff;--button-danger-color:#dc3545;--button-danger-hover-bg-color:#dc3545;--button-danger-hover-color:#fff;--card-border-color:#c4c7cf;--input-border-color:#9da3af;--custom-checkbox-border-color:#9da3af;--custom-checkbox-checked-bg-color:#9da3af;--custom-checkbox-checked-color:#fff;--calendar-border-color:#c4c7cf;--calendar-week-end-color:#f5f5f5;--calendar-today-color:#eff1f3;--modal-background-color:rgba(0,0,0,0.3);--nav-bar-background-color:#fff;--nav-bar-link-active:#485b6e;--nav-border-color:#c5ccdb;--mobile-menu-selected-color:#fff;--mobile-menu-selected-bgcolor:#9da3af;--footer-background-color:#fff;--footer-border-color:#ebeef3;--footer-color:#8b8c8c;--alert-background-color:#c8cdd3;--alert-color:#3f3f3f;--info-background-color:#e5e7ea;--info-color:var(--app-color);--error-background-color:#ffd2d2;--error-color:#db1924;--disabled-background-color:#e0e0e0;--disabled-color:#a3a3a3;--scroll-button-bg-color:hsla(0,0%,100%,0.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:#666;--cell-heading-bg-color:#eee;--cell-heading-color:#696969;--svg-filter:drop-shadow(10px 10px 10px var(--app-shadow-color))}@font-face{font-family:PT Sans;font-style:normal;font-weight:400;src:url(../../static/fonts/pt-sans-v9-latin-regular.c2a4d575.eot);src:local("PT Sans"),local("PTSans-Regular"),url(../../static/fonts/pt-sans-v9-latin-regular.c2a4d575.eot?#iefix) format("embedded-opentype"),url(../../static/fonts/pt-sans-v9-latin-regular.198d320b.woff2) format("woff2"),url(../../static/fonts/pt-sans-v9-latin-regular.399a9357.woff) format("woff"),url(../../static/fonts/pt-sans-v9-latin-regular.4ffa4616.ttf) format("truetype"),url(../../static/img/pt-sans-v9-latin-regular.f1f73e45.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.d5f81343.eot);src:local("PT Sans Italic"),local("PTSans-Italic"),url(../../static/fonts/pt-sans-v9-latin-italic.d5f81343.eot?#iefix) format("embedded-opentype"),url(../../static/fonts/pt-sans-v9-latin-italic.57d98c19.woff2) format("woff2"),url(../../static/fonts/pt-sans-v9-latin-italic.de9540fd.woff) format("woff"),url(../../static/fonts/pt-sans-v9-latin-italic.4ef1aece.ttf) format("truetype"),url(../../static/img/pt-sans-v9-latin-italic.648d3351.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.1db19001.eot);src:local("PT Sans Bold"),local("PTSans-Bold"),url(../../static/fonts/pt-sans-v9-latin-700.1db19001.eot?#iefix) format("embedded-opentype"),url(../../static/fonts/pt-sans-v9-latin-700.f6d5807c.woff2) format("woff2"),url(../../static/fonts/pt-sans-v9-latin-700.e86e8add.woff) format("woff"),url(../../static/fonts/pt-sans-v9-latin-700.6078a795.ttf) format("truetype"),url(../../static/img/pt-sans-v9-latin-700.061c8566.svg#PTSans) format("svg")}body[data-v-2e2371d9]{margin:0}#app[data-v-2e2371d9]{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-2e2371d9]{color:var(--app-a-color);text-decoration:none}img[data-v-2e2371d9]{max-width:100%}input[data-v-2e2371d9],select[data-v-2e2371d9],textarea[data-v-2e2371d9]{border-radius:4px;border:solid 1px var(--input-border-color);padding:10px}input[data-v-2e2371d9]:disabled,select[data-v-2e2371d9]:disabled,textarea[data-v-2e2371d9]:disabled{background-color:var(--disabled-background-color);border-color:var(--disabled-color)}label[data-v-2e2371d9]{font-weight:700}button[data-v-2e2371d9]{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[data-v-2e2371d9]:hover{background:var(--app-color);color:var(--button-hover-color)}button[data-v-2e2371d9]:enabled:active{box-shadow:2px 0 2px var(--app-shadow-color);transform:translateY(2px)}button[data-v-2e2371d9]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}button.cancel[data-v-2e2371d9]{background:var(--button-cancel-bg-color);color:var(--button-cancel-color)}button.cancel[data-v-2e2371d9]:hover{background:var(--app-color);color:var(--button-hover-color)}button.confirm[data-v-2e2371d9]{background:var(--button-confirm-bg-color);color:var(--button-confirm-color)}button.confirm[data-v-2e2371d9]:hover{background:var(--app-color);color:var(--button-hover-color)}button.danger[data-v-2e2371d9]{background:var(--button-danger-bg-color);color:var(--button-danger-color)}button.danger[data-v-2e2371d9]:hover{background:var(--button-danger-hover-bg-color);color:var(--button-danger-hover-color)}button.danger[data-v-2e2371d9]:disabled{background:var(--disabled-background-color);border-color:var(--disabled-color);color:var(--disabled-color)}.box[data-v-2e2371d9]{border:solid 1px var(--card-border-color);border-radius:4px;padding:10px;margin:10px}.info-box[data-v-2e2371d9]{background-color:var(--info-background-color);border-radius:4px;color:var(--info-color);font-size:.8em;padding:10px}.container[data-v-2e2371d9]{display:flex;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px;max-width:1140px}.form-box .form-items[data-v-2e2371d9]{display:flex;flex-direction:column}.form-box .form-items input[data-v-2e2371d9]{margin:10px;padding:5px}.upper[data-v-2e2371d9]{text-transform:uppercase}.fa-trophy[data-v-2e2371d9]{color:var(--workout-trophy-color)}.section-title[data-v-2e2371d9]{font-weight:700;padding-top:15px;padding-left:10px;text-transform:capitalize}.no-map[data-v-2e2371d9]{background-color:var(--workout-no-map-bg-color);background-image:url(/img/workouts/map.svg);background-size:contain;background-repeat:no-repeat;background-position:50%;color:var(--workout-no-map-color);font-style:italic;font-weight:700;text-align:center;vertical-align:center}.custom-checkboxes-group[data-v-2e2371d9]{display:flex;justify-content:space-around}.custom-checkboxes-group .custom-checkboxes[data-v-2e2371d9]{display:inline-flex}@media screen and (max-width:300px){.custom-checkboxes-group .custom-checkboxes[data-v-2e2371d9]{display:flex;flex-direction:column;align-items:center;gap:5px}}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label[data-v-2e2371d9]{font-weight:400;float:left;padding:0 5px;cursor:pointer}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label input[data-v-2e2371d9]{display:none}.custom-checkboxes-group .custom-checkboxes .custom-checkbox label span[data-v-2e2371d9]{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-2e2371d9]{background-color:var(--custom-checkbox-checked-bg-color);color:var(--custom-checkbox-checked-color)}.description-list dl[data-v-2e2371d9]{display:flex;flex-direction:column;width:100%}.description-list dl dt[data-v-2e2371d9]{font-weight:700}.description-list dl dd[data-v-2e2371d9]{margin-bottom:10px}.center-card[data-v-2e2371d9]{margin:0 auto;width:700px}.center-card.with-margin[data-v-2e2371d9]{margin-top:100px}@media screen and (max-width:1000px){.center-card[data-v-2e2371d9]{width:100%;margin:0 auto 50px auto}.center-card.with-margin[data-v-2e2371d9]{margin-top:0}}.center-text[data-v-2e2371d9]{text-align:center}.responsive-table[data-v-2e2371d9]{margin-bottom:15px}.responsive-table table[data-v-2e2371d9]{width:100%;padding:10px;font-size:.9em;border-collapse:collapse}.responsive-table table thead th[data-v-2e2371d9]{vertical-align:center;padding:10px;border-bottom:2px solid var(--card-border-color)}.responsive-table table tbody[data-v-2e2371d9]{font-size:.95em}.responsive-table table tbody td[data-v-2e2371d9]{padding:10px;border-bottom:1px solid var(--card-border-color)}.responsive-table table tbody tr:last-child td[data-v-2e2371d9]{border:none}.responsive-table table .cell-heading[data-v-2e2371d9]{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-2e2371d9]{left:-9999px;position:absolute;visibility:hidden}.responsive-table table tr[data-v-2e2371d9]{border-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:40px}.responsive-table table td[data-v-2e2371d9]{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-2e2371d9]{border:1px solid var(--card-border-color)}.responsive-table table .cell-heading[data-v-2e2371d9]{display:flex}}@media screen and (max-width:500px){.responsive-table table td[data-v-2e2371d9]{width:100%}} \ No newline at end of file diff --git a/fittrackee/dist/static/js/app.f769a5c1.js b/fittrackee/dist/static/js/app.e122d304.js similarity index 99% rename from fittrackee/dist/static/js/app.f769a5c1.js rename to fittrackee/dist/static/js/app.e122d304.js index ce668178..8d607e4c 100644 --- a/fittrackee/dist/static/js/app.f769a5c1.js +++ b/fittrackee/dist/static/js/app.e122d304.js @@ -1,2 +1,2 @@ -(function(e){function t(t){for(var r,o,i=t[0],s=t[1],u=t[2],l=0,d=[];lr?1:n2&&void 0!==arguments[2]&&arguments[2];return e.filter((function(e){return!n||e.is_active})).map((function(e){return Object(r["a"])(Object(r["a"])({},e),{},{translatedLabel:t("sports.".concat(e.label,".LABEL"))})})).sort(c)},s=function(e,t){return t.filter((function(t){return t.id===e.sport_id})).map((function(e){return e.label}))[0]}},"16c2":function(e,t,n){"use strict";n("a03e")},"1f4c":function(e,t,n){},2024:function(e,t,n){},"27bb":function(e,t,n){},2906:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5502");function o(){return Object(r["b"])()}},3214:function(e,t,n){"use strict";n("2024")},3853:function(e,t,n){"use strict";n("c75e")},"3c44":function(e,t,n){"use strict";n("b680"),n("a9e3");var r=n("7a23"),o=Object(r["withScopeId"])("data-v-a6fa997c");Object(r["pushScopeId"])("data-v-a6fa997c");var a={class:"box user-header"},c={class:"user-details"},i={class:"user-name"},s={class:"user-stats"},u={class:"user-stat"},l={class:"stat-number"},d={class:"stat-label"},O={class:"user-stat"},p={class:"stat-number"},m=Object(r["createVNode"])("span",{class:"stat-label"},"km",-1),b={class:"user-stat hide-small"},E={class:"stat-number"},T={class:"stat-label"};Object(r["popScopeId"])();var S=o((function(e,t,n,o,S,f){var _=Object(r["resolveComponent"])("UserPicture");return Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[Object(r["createVNode"])(_,{user:e.user},null,8,["user"]),Object(r["createVNode"])("div",c,[Object(r["createVNode"])("div",i,Object(r["toDisplayString"])(e.user.username),1),Object(r["createVNode"])("div",s,[Object(r["createVNode"])("div",u,[Object(r["createVNode"])("span",l,Object(r["toDisplayString"])(e.user.nb_workouts),1),Object(r["createVNode"])("span",d,Object(r["toDisplayString"])(e.$t("workouts.WORKOUT",e.user.nb_workouts)),1)]),Object(r["createVNode"])("div",O,[Object(r["createVNode"])("span",p,Object(r["toDisplayString"])(Number(e.user.total_distance).toFixed(0)),1),m]),Object(r["createVNode"])("div",b,[Object(r["createVNode"])("span",E,Object(r["toDisplayString"])(e.user.nb_sports),1),Object(r["createVNode"])("span",T,Object(r["toDisplayString"])(e.$t("workouts.SPORT",e.user.nb_sports)),1)])])])])})),f=n("c46a"),_=Object(r["defineComponent"])({name:"ProfileDisplay",components:{UserPicture:f["a"]},props:{user:{type:Object,required:!0}}});n("5085");_.render=S,_.__scopeId="data-v-a6fa997c";t["a"]=_},"3e31":function(e,t,n){},"466e":function(e,t,n){},"4a13":function(e,t,n){"use strict";n("92d6")},"4b55":function(e,t,n){"use strict";n("8384")},5085:function(e,t,n){"use strict";n("1f4c")},5567:function(e,t,n){"use strict";n("8349")},5712:function(e,t,n){},"57dc":function(e,t,n){},"608d":function(e,t,n){"use strict";n("90b9")},"663e":function(e,t,n){"use strict";n.r(t);var r={ACTION:e=>{const{normalize:t}=e;return t(["Action"])},ADMIN_RIGHTS_DELETE_USER_ACCOUNT:e=>{const{normalize:t}=e;return t(["Ajouter/retirer des droits d'administration, supprimer des comptes utilisateurs."])},ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},ADMINISTRATION:e=>{const{normalize:t}=e;return t(["Administration"])},APPLICATION:e=>{const{normalize:t}=e;return t(["Application"])},APP_CONFIG:{MAX_USERS_LABEL:e=>{const{normalize:t}=e;return t(["Nombre maximum d'utilisateurs actifs "])},MAX_USERS_HELP:e=>{const{normalize:t}=e;return t(["Si égal à 0, pas limite d'inscription"])},MAX_FILES_IN_ZIP_LABEL:e=>{const{normalize:t}=e;return t(["Taille max. des archives zip (en Mo) "])},SINGLE_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Taille max. des fichiers (en Mo) "])},TITLE:e=>{const{normalize:t}=e;return t(["Configuration de l'application"])},ZIP_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Nombre max. de fichiers dans une archive zip "])}},BACK_TO_ADMIN:e=>{const{normalize:t}=e;return t(["Revenir à l'admin"])},CONFIRM_USER_ACCOUNT_DELETION:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Etes-vous sûr de vouloir supprimer le compte de ",n(r(0))," ? Toutes les données seront définitivement."])},DELETE_USER:e=>{const{normalize:t}=e;return t(["Supprimer l'utilisateur"])},ENABLE_DISABLE_SPORTS:e=>{const{normalize:t}=e;return t(["Activer/désactiver des sports."])},REGISTRATION_DISABLED:e=>{const{normalize:t}=e;return t(["Les inscriptions sont actuellement désactivées."])},REGISTRATION_ENABLED:e=>{const{normalize:t}=e;return t(["Les inscriptions sont actuellement activées."])},SPORTS:{TABLE:{ACTIVE:e=>{const{normalize:t}=e;return t(["Actif"])},HAS_WORKOUTS:e=>{const{normalize:t}=e;return t(["des séances existent"])},IMAGE:e=>{const{normalize:t}=e;return t(["Image"])},LABEL:e=>{const{normalize:t}=e;return t(["Label"])}},TITLE:e=>{const{normalize:t}=e;return t(["Administration - Sports"])}},UPDATE_APPLICATION_DESCRIPTION:e=>{const{normalize:t}=e;return t(["Configurer l'application (nombre maximum d'utilisateurs inscrits, taille maximale des fichers)."])},USER:e=>{const{normalize:t,plural:n}=e;return n([t(["utilisateur"]),t(["utilisateurs"])])},USERS:{TABLE:{ADD_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Ajouter les drois d'admin"])},REMOVE_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Retirer les drois d'admin"])}},SELECTS:{ORDER_BY:{LABEL:e=>{const{normalize:t}=e;return t(["trier par "])},admin:e=>{const{normalize:t}=e;return t(["status administrateur"])},created_at:e=>{const{normalize:t}=e;return t(["date d'inscription"])},username:e=>{const{normalize:t}=e;return t(["nom d'utilisateur"])},workouts_count:e=>{const{normalize:t}=e;return t(["nombre de séances"])}},ORDER:{LABEL:e=>{const{normalize:t}=e;return t(["tri"])},ASC:e=>{const{normalize:t}=e;return t(["ascendant"])},DESC:e=>{const{normalize:t}=e;return t(["descendant"])}},PER_PAGE:{LABEL:e=>{const{normalize:t}=e;return t(["par page"])}}}}},o={ERROR:{UNKNOWN:e=>{const{normalize:t}=e;return t(["Erreur. Veuillez réessayer ou contacter l'administrateur."])},"email: valid email must be provided":e=>{const{normalize:t}=e;return t(["Email : une adresse email valide doit être fournie."])},"error on getting configuration":e=>{const{normalize:t}=e;return t(["Erreur lors de la récupération de la configuration."])},"error when updating configuration":e=>{const{normalize:t}=e;return t(["Erreur lors de la mise à jour de la configuration"])},"error, please try again or contact the administrator":e=>{const{normalize:t}=e;return t(["Erreur, veuillez réessayer ou contacter l'administrateur."])},"error, registration is disabled":e=>{const{normalize:t}=e;return t(["Erreur, les inscriptions sont désactivées."])},"file extension not allowed":e=>{const{normalize:t}=e;return t(["Extension de fichier non autorisée."])},"file size is greater than the allowed size":e=>{const{normalize:t}=e;return t(["La taille du fichier est supérieure à la limite autorisée."])},"invalid credentials":e=>{const{normalize:t}=e;return t(["Identifiants invalides."])},"invalid payload":e=>{const{normalize:t}=e;return t(["Données fournies incorrectes."])},"invalid token, please log in again":e=>{const{normalize:t}=e;return t(["Jeton de connexion invalide, merci de vous reconnecter."])},"invalid token, please request a new token":e=>{const{normalize:t}=e;return t(["Jeton de connexion, merci de vous reconnecter."])},"no file part":e=>{const{normalize:t}=e;return t(["Pas de fichier fourni."])},"no selected file":e=>{const{normalize:t}=e;return t(["Pas de fichier sélectionné."])},"Network Error":e=>{const{normalize:t}=e;return t(["Erreur Réseau."])},"password: password and password confirmation do not match":e=>{const{normalize:t}=e;return t(["Mot de passe : les mots de passe saisis sont différents."])},"provide a valid auth token":e=>{const{normalize:t}=e;return t(["Merci de fournir un jeton de connexion valide."])},"password: 8 characters required":e=>{const{normalize:t}=e;return t(["Mot de passe : 8 caractères minimum."])},"sport does not exist":e=>{const{normalize:t}=e;return t(["Ce sport n'existe pas."])},"signature expired, please log in again":e=>{const{normalize:t}=e;return t(["Signature expirée. Merci de vous reconnecter."])},"sorry, that user already exists":e=>{const{normalize:t}=e;return t(["Désolé, cet utilisateur existe déjà."])},"successfully registered":e=>{const{normalize:t}=e;return t(["Inscription validée."])},"user does not exist":e=>{const{normalize:t}=e;return t(["L'utilisateur n'existe pas"])},"username: 3 to 12 characters required":e=>{const{normalize:t}=e;return t(["Nom d'utilisateur : 3 à 12 caractères requis."])},"you do not have permissions":e=>{const{normalize:t}=e;return t(["Vous n'avez pas les permissions nécessaires."])}},PAGINATION:{PREVIOUS:e=>{const{normalize:t}=e;return t(["précédent"])},NEXT:e=>{const{normalize:t}=e;return t(["suivant"])}}},a={BACK:e=>{const{normalize:t}=e;return t(["Précédent"])},CANCEL:e=>{const{normalize:t}=e;return t(["Annuler"])},DELETE_MY_ACCOUNT:e=>{const{normalize:t}=e;return t(["Supprimer mon compte"])},DISABLE:e=>{const{normalize:t}=e;return t(["Désactiver"])},EDIT:e=>{const{normalize:t}=e;return t(["Modifier"])},ENABLE:e=>{const{normalize:t}=e;return t(["Activer"])},FILTER:e=>{const{normalize:t}=e;return t(["Filtrer"])},LOGIN:e=>{const{normalize:t}=e;return t(["Se connecter"])},NO:e=>{const{normalize:t}=e;return t(["Non"])},REGISTER:e=>{const{normalize:t}=e;return t(["S'inscrire"])},SUBMIT:e=>{const{normalize:t}=e;return t(["Valider"])},YES:e=>{const{normalize:t}=e;return t(["Oui"])}},c={CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmation"])},DAY:e=>{const{normalize:t,plural:n}=e;return n([t(["jour"]),t(["jours"])])},HOME:e=>{const{normalize:t}=e;return t(["Accueil"])},HERE:e=>{const{normalize:t}=e;return t(["ici"])}},i={DASHBOARD:e=>{const{normalize:t}=e;return t(["Tableau de Bord"])},THIS_MONTH:e=>{const{normalize:t}=e;return t(["Ce mois"])}},s={UNKNOWN:e=>{const{normalize:t}=e;return t(["Erreur. Veuillez réessayer ou contacter l'administrateur."])},APP_ERROR:e=>{const{normalize:t}=e;return t(["L'application semble rencontrer quelques problèmes.
Veuillez réessayer plus tard ou contacter l'administrateur."])},NOT_FOUND:{PAGE:e=>{const{normalize:t}=e;return t(["Page introuvable"])},WORKOUT:e=>{const{normalize:t}=e;return t(["Séance introuvable"])}}},u={"Cycling (Sport)":{LABEL:e=>{const{normalize:t}=e;return t(["Vélo (Sport)"])}},"Cycling (Transport)":{LABEL:e=>{const{normalize:t}=e;return t(["Vélo (Transport)"])}},Hiking:{LABEL:e=>{const{normalize:t}=e;return t(["Randonnée"])}},"Mountain Biking":{LABEL:e=>{const{normalize:t}=e;return t(["VTT"])}},Running:{LABEL:e=>{const{normalize:t}=e;return t(["Course"])}},Walking:{LABEL:e=>{const{normalize:t}=e;return t(["Marche"])}}},l={STATISTICS:e=>{const{normalize:t}=e;return t(["Statistiques"])},TOTAL:e=>{const{normalize:t}=e;return t(["Total"])},TIME_FRAMES:{week:e=>{const{normalize:t}=e;return t(["semaine"])},month:e=>{const{normalize:t}=e;return t(["mois"])},year:e=>{const{normalize:t}=e;return t(["année"])}}},d={ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},CONFIRM_ACCOUNT_DELETION:e=>{const{normalize:t}=e;return t(["Etes-vous sûr de vouloir supprimer votre compte ? Toutes les données seront définitivement effacés."])},EMAIL:e=>{const{normalize:t}=e;return t(["Email"])},ENTER_EMAIL:e=>{const{normalize:t}=e;return t(["Saisir une adresse email"])},ENTER_PASSWORD:e=>{const{normalize:t}=e;return t(["Saisir un mot de passe"])},ENTER_PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmer le mot de passe"])},INVALID_TOKEN:e=>{const{normalize:t}=e;return t(["Jeton invalide, veullez demander une nouvelle réinitialisation de mot de passe."])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Langue"])},LOGIN:e=>{const{normalize:t}=e;return t(["Se connecter"])},LOGOUT:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},PASSWORD:e=>{const{normalize:t}=e;return t(["Mot de passe"])},PASSWORD_CONFIRM:e=>{const{normalize:t}=e;return t(["Confirmation du mot de passe"])},PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmation du mot de passe"])},PASSWORD_FORGOTTEN:e=>{const{normalize:t}=e;return t(["Mot de passe oublié ?"])},PASSWORD_RESET:e=>{const{normalize:t}=e;return t(["Réinitialisation du mot de passe"])},PASSWORD_SENT_EMAIL_TEXT:e=>{const{normalize:t}=e;return t(["Vérifiez vore boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe."])},PASSWORD_UPDATED:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Votre mot de passe a été mis à jour. Cliquez ",n(r(0))," pour vous connecter."])},PROFILE:{BACK_TO_PROFILE:e=>{const{normalize:t}=e;return t(["Revenir au profil"])},BIO:e=>{const{normalize:t}=e;return t(["Bio"])},BIRTH_DATE:e=>{const{normalize:t}=e;return t(["Date de naissance"])},EDIT:e=>{const{normalize:t}=e;return t(["Modifier le profil"])},EDIT_PREFERENCES:e=>{const{normalize:t}=e;return t(["Modifier les préférences"])},FIRST_DAY_OF_WEEK:e=>{const{normalize:t}=e;return t(["Premier jour de la semaine"])},FIRST_NAME:e=>{const{normalize:t}=e;return t(["Prénom"])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Langue"])},LAST_NAME:e=>{const{normalize:t}=e;return t(["Nom"])},LOCATION:e=>{const{normalize:t}=e;return t(["Lieu"])},MONDAY:e=>{const{normalize:t}=e;return t(["Lundi"])},PICTURE:e=>{const{normalize:t}=e;return t(["Image de profil"])},PICTURE_EDITION:e=>{const{normalize:t}=e;return t(["Mise à jour de l'image de profil"])},PICTURE_UPDATE:e=>{const{normalize:t}=e;return t(["Mettre à jour l'image"])},PICTURE_REMOVE:e=>{const{normalize:t}=e;return t(["Supprimer"])},PREFERENCES_EDITION:e=>{const{normalize:t}=e;return t(["Mise à jour des préférences"])},PROFILE_EDITION:e=>{const{normalize:t}=e;return t(["Mise à jour du profil"])},REGISTRATION_DATE:e=>{const{normalize:t}=e;return t(["Date d'inscription"])},SUNDAY:e=>{const{normalize:t}=e;return t(["Dimanche"])},TABS:{PICTURE:e=>{const{normalize:t}=e;return t(["image"])},PREFERENCES:e=>{const{normalize:t}=e;return t(["préférences"])},PROFILE:e=>{const{normalize:t}=e;return t(["profil"])}},TIMEZONE:e=>{const{normalize:t}=e;return t(["Fuseau horaire"])}},REGISTER:e=>{const{normalize:t}=e;return t(["S'inscrire"])},REGISTER_DISABLED:e=>{const{normalize:t}=e;return t(["Désolé, les inscriptions sont désactivées."])},RESET_PASSWORD:e=>{const{normalize:t}=e;return t(["Réinitialiser votre mot de passe"])},USER_PICTURE:e=>{const{normalize:t}=e;return t(["photo de l'utilisateur"])},USERNAME:e=>{const{normalize:t}=e;return t(["Nom d'utilisateur"])}},O={ADD_WORKOUT:e=>{const{normalize:t}=e;return t(["Ajouter une séance"])},ANALYSIS:e=>{const{normalize:t}=e;return t(["analyse"])},ASCENT:e=>{const{normalize:t}=e;return t(["dénivelé positif"])},AVERAGE_SPEED:e=>{const{normalize:t}=e;return t(["vitesse moyenne"])},AVE_SPEED:e=>{const{normalize:t}=e;return t(["vitesse moy."])},BACK_TO_WORKOUT:e=>{const{normalize:t}=e;return t(["revenir à la séance"])},DATE:e=>{const{normalize:t}=e;return t(["date"])},DESCENT:e=>{const{normalize:t}=e;return t(["dénivelé négatif"])},DISPLAY_FILTERS:e=>{const{normalize:t}=e;return t(["afficher les filtres"])},DISTANCE:e=>{const{normalize:t}=e;return t(["distance"])},DURATION:e=>{const{normalize:t}=e;return t(["durée"])},EDIT_WORKOUT:e=>{const{normalize:t}=e;return t(["Modifier la séance"])},ELEVATION:e=>{const{normalize:t}=e;return t(["altitude"])},END:e=>{const{normalize:t}=e;return t(["fin"])},FROM:e=>{const{normalize:t}=e;return t(["à partir de"])},GPX_FILE:e=>{const{normalize:t}=e;return t(["fichier .gpx"])},HIDE_FILTERS:e=>{const{normalize:t}=e;return t(["masquer les filtres"])},KM:e=>{const{normalize:t}=e;return t(["km"])},LATEST_WORKOUTS:e=>{const{normalize:t}=e;return t(["Séances récentes"])},LOAD_MORE_WORKOUT:e=>{const{normalize:t}=e;return t(["Charger les séances suivantes"])},MAX_ALTITUDE:e=>{const{normalize:t}=e;return t(["altitude max"])},MAX_FILES:e=>{const{normalize:t}=e;return t(["fichiers max. "])},MAX_SIZE:e=>{const{normalize:t}=e;return t(["taille max. "])},MAX_SPEED:e=>{const{normalize:t}=e;return t(["vitesse max"])},MIN_ALTITUDE:e=>{const{normalize:t}=e;return t(["altitude min"])},NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["Segment suivant"])},NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["Séance suivante"])},NO_DATA_CLEANING:e=>{const{normalize:t}=e;return t(["données issues du fichier gpx, sans correction"])},NO_FILE_PROVIDED:e=>{const{normalize:t}=e;return t(["Pas de fichier fourni"])},NO_FOLDER:e=>{const{normalize:t}=e;return t(["pas de répertoire"])},NO_MAP:e=>{const{normalize:t}=e;return t(["Pas de carte"])},NO_NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["Pas de segment suivant"])},NO_NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["Pas de séance suivante"])},NO_NOTES:e=>{const{normalize:t}=e;return t(["Pas de notes"])},NO_PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["Pas de segment précédent"])},NO_PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["Pas de séance précédente"])},NO_RECORDS:e=>{const{normalize:t}=e;return t(["Pas de records."])},NO_WORKOUTS:e=>{const{normalize:t}=e;return t(["Pas de séances."])},NOTES:e=>{const{normalize:t}=e;return t(["notes"])},PAUSES:e=>{const{normalize:t}=e;return t(["pauses"])},PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["Segment précédent"])},PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["Séance précédente"])},RECORD:e=>{const{normalize:t,plural:n}=e;return n([t(["record"]),t(["records"])])},RECORD_AS:e=>{const{normalize:t}=e;return t(["Vitesse moy."])},RECORD_FD:e=>{const{normalize:t}=e;return t(["Distance la + longue"])},RECORD_LD:e=>{const{normalize:t}=e;return t(["Durée la + longue"])},RECORD_MS:e=>{const{normalize:t}=e;return t(["Vitesse max."])},REMAINING_CHARS:e=>{const{normalize:t}=e;return t(["nombre de caractères restants "])},SEGMENT:e=>{const{normalize:t,plural:n}=e;return n([t(["segment"]),t(["segments"])])},SPEED:e=>{const{normalize:t}=e;return t(["vitesse"])},SPORT:e=>{const{normalize:t,plural:n}=e;return n([t(["sport"]),t(["sports"])])},START:e=>{const{normalize:t}=e;return t(["début"])},TITLE:e=>{const{normalize:t}=e;return t(["titre"])},TO:e=>{const{normalize:t}=e;return t(["jusqu'au"])},TOTAL_DURATION:e=>{const{normalize:t}=e;return t(["durée totale"])},UPLOAD_FIRST_WORKOUT:e=>{const{normalize:t}=e;return t(["Ajoutez votre première séance !"])},WEATHER:{HUMIDITY:e=>{const{normalize:t}=e;return t(["humidité"])},TEMPERATURE:e=>{const{normalize:t}=e;return t(["température"])},WIND:e=>{const{normalize:t}=e;return t(["vent"])},DARK_SKY:{"clear-day":e=>{const{normalize:t}=e;return t(["ensoleillé"])},"clear-night":e=>{const{normalize:t}=e;return t(["nuit claire"])},cloudy:e=>{const{normalize:t}=e;return t(["nuageux"])},fog:e=>{const{normalize:t}=e;return t(["brouillard"])},"partly-cloudy-day":e=>{const{normalize:t}=e;return t(["partiellement nuageux"])},"partly-cloudy-night":e=>{const{normalize:t}=e;return t(["nuit partiellement nuageuse"])},rain:e=>{const{normalize:t}=e;return t(["pluie"])},sleet:e=>{const{normalize:t}=e;return t(["neige fondue"])},snow:e=>{const{normalize:t}=e;return t(["neige"])},wind:e=>{const{normalize:t}=e;return t(["venteux"])}}},WITH_GPX:e=>{const{normalize:t}=e;return t(["avec un fichier .gpx"])},WITHOUT_GPX:e=>{const{normalize:t}=e;return t(["sans fichier .gpx"])},WORKOUT:e=>{const{normalize:t,plural:n}=e;return n([t(["séance"]),t(["séances"])])},WORKOUT_DATE:e=>{const{normalize:t}=e;return t(["date de la séance"])},WORKOUT_DELETION_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Etes-vous sûr de vouloir supprimer cette séance ?"])},ZIP_ARCHIVE:e=>{const{normalize:t}=e;return t(["archive .zip"])},ZIP_ARCHIVE_DESCRIPTION:e=>{const{normalize:t}=e;return t(["ou une archive .zip contenant des fichiers .gpx"])}};t["default"]={admin:r,api:o,buttons:a,common:c,dashboard:i,error:s,sports:u,statistics:l,user:d,workouts:O}},"6eb4":function(e,t,n){},"71a7":function(e,t,n){"use strict";var r=n("7a23"),o=Object(r["withScopeId"])("data-v-1267fe4f");Object(r["pushScopeId"])("data-v-1267fe4f");var a={id:"user-infos",class:"description-list"},c={class:"user-bio"},i={key:1,class:"profile-buttons"},s={key:2,class:"profile-buttons"};Object(r["popScopeId"])();var u=o((function(e,t,n,o,u,l){var d=Object(r["resolveComponent"])("Modal");return Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[e.displayModal?(Object(r["openBlock"])(),Object(r["createBlock"])(d,{key:0,title:e.$t("common.CONFIRMATION"),message:"admin.CONFIRM_USER_ACCOUNT_DELETION",strongMessage:e.user.username,onConfirmAction:t[1]||(t[1]=function(t){return e.deleteUserAccount(e.user.username)}),onCancelAction:t[2]||(t[2]=function(t){return e.updateDisplayModal(!1)})},null,8,["title","strongMessage"])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])("dl",null,[Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.registrationDate),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.FIRST_NAME"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.user.first_name),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.LAST_NAME"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.user.last_name),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.BIRTH_DATE"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.birthDate),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.LOCATION"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.user.location),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.BIO"))+":",1),Object(r["createVNode"])("dd",c,Object(r["toDisplayString"])(e.user.bio),1)]),e.fromAdmin?(Object(r["openBlock"])(),Object(r["createBlock"])("div",i,[e.authUser.username!==e.user.username?(Object(r["openBlock"])(),Object(r["createBlock"])("button",{key:0,class:"danger",onClick:t[3]||(t[3]=Object(r["withModifiers"])((function(t){return e.updateDisplayModal(!0)}),["prevent"]))},Object(r["toDisplayString"])(e.$t("admin.DELETE_USER")),1)):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])("button",{onClick:t[4]||(t[4]=function(t){return e.$router.go(-1)})},Object(r["toDisplayString"])(e.$t("buttons.BACK")),1)])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",s,[Object(r["createVNode"])("button",{onClick:t[5]||(t[5]=function(t){return e.$router.push("/profile/edit")})},Object(r["toDisplayString"])(e.$t("user.PROFILE.EDIT")),1),Object(r["createVNode"])("button",{onClick:t[6]||(t[6]=function(t){return e.$router.push("/")})},Object(r["toDisplayString"])(e.$t("common.HOME")),1)]))])})),l=n("b166"),d=n("dad5"),O=n("2906"),p=Object(r["defineComponent"])({name:"UserInfos",props:{user:{type:Object,required:!0},fromAdmin:{type:Boolean,default:!1}},setup:function(e){var t=Object(O["a"])(),n=Object(r["computed"])((function(){return t.getters[d["e"].GETTERS.AUTH_USER_PROFILE]})),o=Object(r["computed"])((function(){return e.user.created_at?Object(l["a"])(new Date(e.user.created_at),"dd/MM/yyyy HH:mm"):""})),a=Object(r["computed"])((function(){return e.user.birth_date?Object(l["a"])(new Date(e.user.birth_date),"dd/MM/yyyy"):""})),c=Object(r["ref"])(!1);function i(e){c.value=e}function s(e){t.dispatch(d["e"].ACTIONS.DELETE_ACCOUNT,{username:e})}return{authUser:n,birthDate:a,displayModal:c,registrationDate:o,deleteUserAccount:s,updateDisplayModal:i}}});n("966c");p.render=u,p.__scopeId="data-v-1267fe4f";t["a"]=p},"7b3e":function(e,t,n){"use strict";n("b715")},"7ffe":function(e,t,n){"use strict";n("9f54")},8349:function(e,t,n){},8384:function(e,t,n){},"85fa":function(e,t,n){"use strict";n("0a59")},8728:function(e,t,n){"use strict";n("8d9f")},"8d9f":function(e,t,n){},"90b9":function(e,t,n){},"92d6":function(e,t,n){},9561:function(e,t,n){"use strict";n("57dc")},"95ba":function(e,t,n){"use strict";n("6eb4")},"966c":function(e,t,n){"use strict";n("5712")},9838:function(e,t,n){},"9f54":function(e,t,n){},a03e:function(e,t,n){},a1fe:function(e,t,n){"use strict";n("aa70")},a906:function(e,t,n){},aa0a:function(e,t,n){"use strict";n("fb34")},aa70:function(e,t,n){},aa8e:function(e,t,n){},b373:function(e,t,n){"use strict";n("edb9")},b5e1:function(e,t,n){"use strict";n("3e31")},b715:function(e,t,n){},b9fd:function(e,t,n){"use strict";n("a906")},c142:function(e,t,n){"use strict";n.r(t);var r={ACTION:e=>{const{normalize:t}=e;return t(["Action"])},ADMIN_RIGHTS_DELETE_USER_ACCOUNT:e=>{const{normalize:t}=e;return t(["Add/remove admin rights, delete user account."])},ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},ADMINISTRATION:e=>{const{normalize:t}=e;return t(["Administration"])},APPLICATION:e=>{const{normalize:t}=e;return t(["Application"])},APP_CONFIG:{MAX_USERS_LABEL:e=>{const{normalize:t}=e;return t(["Max. number of active users"])},MAX_USERS_HELP:e=>{const{normalize:t}=e;return t(["If 0, no limitation on registration."])},MAX_FILES_IN_ZIP_LABEL:e=>{const{normalize:t}=e;return t(["Max. files of zip archive"])},SINGLE_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Max. size of uploaded files (in Mb)"])},TITLE:e=>{const{normalize:t}=e;return t(["Application configuration"])},ZIP_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Max. size of zip archive (in Mb)"])}},BACK_TO_ADMIN:e=>{const{normalize:t}=e;return t(["Back to admin"])},CONFIRM_USER_ACCOUNT_DELETION:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Are you sure you want to delete ",n(r(0))," account? All data will be deleted, this cannot be undone."])},DELETE_USER:e=>{const{normalize:t}=e;return t(["Delete user"])},ENABLE_DISABLE_SPORTS:e=>{const{normalize:t}=e;return t(["Enable/disable sports."])},REGISTRATION_DISABLED:e=>{const{normalize:t}=e;return t(["Registration is currently disabled."])},REGISTRATION_ENABLED:e=>{const{normalize:t}=e;return t(["Registration is currently enabled."])},SPORTS:{TABLE:{ACTIVE:e=>{const{normalize:t}=e;return t(["Active"])},HAS_WORKOUTS:e=>{const{normalize:t}=e;return t(["workouts exist"])},IMAGE:e=>{const{normalize:t}=e;return t(["Image"])},LABEL:e=>{const{normalize:t}=e;return t(["Label"])}},TITLE:e=>{const{normalize:t}=e;return t(["Sports administration"])}},UPDATE_APPLICATION_DESCRIPTION:e=>{const{normalize:t}=e;return t(["Update application configuration (maximum number of registered users, maximum files size)."])},USER:e=>{const{normalize:t,plural:n}=e;return n([t(["user"]),t(["users"])])},USERS:{TABLE:{ADD_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Add admin rights"])},REMOVE_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Remove admin rights"])}},SELECTS:{ORDER_BY:{LABEL:e=>{const{normalize:t}=e;return t(["order by"])},admin:e=>{const{normalize:t}=e;return t(["admin status"])},created_at:e=>{const{normalize:t}=e;return t(["registration date"])},username:e=>{const{normalize:t}=e;return t(["username"])},workouts_count:e=>{const{normalize:t}=e;return t(["workout count"])}},ORDER:{LABEL:e=>{const{normalize:t}=e;return t(["sort"])},ASC:e=>{const{normalize:t}=e;return t(["ascending"])},DESC:e=>{const{normalize:t}=e;return t(["descending"])}},PER_PAGE:{LABEL:e=>{const{normalize:t}=e;return t(["par page"])}}}}},o={ERROR:{UNKNOWN:e=>{const{normalize:t}=e;return t(["Error. Please try again or contact the administrator."])},"email: valid email must be provided":e=>{const{normalize:t}=e;return t(["Email: valid email must be provided."])},"error on getting configuration":e=>{const{normalize:t}=e;return t(["Error on getting configuration."])},"error when updating configuration":e=>{const{normalize:t}=e;return t(["Error when updating configuration"])},"error, please try again or contact the administrator":e=>{const{normalize:t}=e;return t(["Error, please try again or contact the administrator."])},"error, registration is disabled":e=>{const{normalize:t}=e;return t(["Error, registration is disabled."])},"file extension not allowed":e=>{const{normalize:t}=e;return t(["File extension not allowed."])},"file size is greater than the allowed size":e=>{const{normalize:t}=e;return t(["File size is greater than the allowed size."])},"invalid credentials":e=>{const{normalize:t}=e;return t(["Invalid credentials."])},"invalid payload":e=>{const{normalize:t}=e;return t(["Provided data are invalid."])},"invalid token, please log in again":e=>{const{normalize:t}=e;return t(["Invalid token, please log in again."])},"invalid token, please request a new token":e=>{const{normalize:t}=e;return t(["Invalid token, please log in again."])},"Network Error":e=>{const{normalize:t}=e;return t(["Network Error."])},"no file part":e=>{const{normalize:t}=e;return t(["No file provided."])},"no selected file":e=>{const{normalize:t}=e;return t(["No selected file."])},"password: password and password confirmation do not match":e=>{const{normalize:t}=e;return t(["Password: password and password confirmation don't match."])},"provide a valid auth token":e=>{const{normalize:t}=e;return t(["Provide a valid auth token."])},"password: 8 characters required":e=>{const{normalize:t}=e;return t(["Password: 8 characters required."])},"sorry, that user already exists":e=>{const{normalize:t}=e;return t(["Sorry, that user already exists."])},"sport does not exist":e=>{const{normalize:t}=e;return t(["Sport does not exist."])},"signature expired, please log in again":e=>{const{normalize:t}=e;return t(["Signature expired. Please log in again."])},"successfully registered":e=>{const{normalize:t}=e;return t(["Successfully registered."])},"user does not exist":e=>{const{normalize:t}=e;return t(["User does not exist."])},"username: 3 to 12 characters required":e=>{const{normalize:t}=e;return t(["Username: 3 to 12 characters required."])},"you do not have permissions":e=>{const{normalize:t}=e;return t(["You do not have permissions."])}},PAGINATION:{PREVIOUS:e=>{const{normalize:t}=e;return t(["previous"])},NEXT:e=>{const{normalize:t}=e;return t(["next"])}}},a={BACK:e=>{const{normalize:t}=e;return t(["Back"])},CANCEL:e=>{const{normalize:t}=e;return t(["Cancel"])},DELETE_MY_ACCOUNT:e=>{const{normalize:t}=e;return t(["Delete my account"])},DISABLE:e=>{const{normalize:t}=e;return t(["Disable"])},EDIT:e=>{const{normalize:t}=e;return t(["Edit"])},ENABLE:e=>{const{normalize:t}=e;return t(["Enable"])},FILTER:e=>{const{normalize:t}=e;return t(["Filter"])},LOGIN:e=>{const{normalize:t}=e;return t(["Log in"])},NO:e=>{const{normalize:t}=e;return t(["No"])},REGISTER:e=>{const{normalize:t}=e;return t(["Register"])},SUBMIT:e=>{const{normalize:t}=e;return t(["Submit"])},YES:e=>{const{normalize:t}=e;return t(["Yes"])}},c={CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmation"])},DAY:e=>{const{normalize:t,plural:n}=e;return n([t(["day"]),t(["days"])])},HOME:e=>{const{normalize:t}=e;return t(["Home"])},HERE:e=>{const{normalize:t}=e;return t(["here"])}},i={DASHBOARD:e=>{const{normalize:t}=e;return t(["Dashboard"])},THIS_MONTH:e=>{const{normalize:t}=e;return t(["This month"])}},s={UNKNOWN:e=>{const{normalize:t}=e;return t(["Error. Please try again or contact the administrator."])},APP_ERROR:e=>{const{normalize:t}=e;return t(["The application seems encounter some issues.
Please try later or contact the administrator."])},NOT_FOUND:{PAGE:e=>{const{normalize:t}=e;return t(["Page not found"])},WORKOUT:e=>{const{normalize:t}=e;return t(["Workout not found"])}}},u={"Cycling (Sport)":{LABEL:e=>{const{normalize:t}=e;return t(["Cycling (Sport)"])}},"Cycling (Transport)":{LABEL:e=>{const{normalize:t}=e;return t(["Cycling (Transport)"])}},Hiking:{LABEL:e=>{const{normalize:t}=e;return t(["Hiking"])}},"Mountain Biking":{LABEL:e=>{const{normalize:t}=e;return t(["Mountain Biking"])}},Running:{LABEL:e=>{const{normalize:t}=e;return t(["Running"])}},Walking:{LABEL:e=>{const{normalize:t}=e;return t(["Walking"])}}},l={STATISTICS:e=>{const{normalize:t}=e;return t(["Statistics"])},TOTAL:e=>{const{normalize:t}=e;return t(["Total"])},TIME_FRAMES:{week:e=>{const{normalize:t}=e;return t(["week"])},month:e=>{const{normalize:t}=e;return t(["month"])},year:e=>{const{normalize:t}=e;return t(["year"])}}},d={ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},CONFIRM_ACCOUNT_DELETION:e=>{const{normalize:t}=e;return t(["Are you sure you want to delete your account? All data will be deleted, this cannot be undone"])},EMAIL:e=>{const{normalize:t}=e;return t(["Email"])},ENTER_EMAIL:e=>{const{normalize:t}=e;return t(["Enter an email address"])},ENTER_PASSWORD:e=>{const{normalize:t}=e;return t(["Enter a password"])},ENTER_PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirm the password"])},INVALID_TOKEN:e=>{const{normalize:t}=e;return t(["Invalid token, please request a new password reset."])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Language"])},LOGIN:e=>{const{normalize:t}=e;return t(["Login"])},LOGOUT:e=>{const{normalize:t}=e;return t(["Logout"])},PASSWORD:e=>{const{normalize:t}=e;return t(["Password"])},PASSWORD_CONFIRM:e=>{const{normalize:t}=e;return t(["Confirm Password"])},PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Password confirmation"])},PASSWORD_FORGOTTEN:e=>{const{normalize:t}=e;return t(["Forgot password?"])},PASSWORD_RESET:e=>{const{normalize:t}=e;return t(["Password reset"])},PASSWORD_SENT_EMAIL_TEXT:e=>{const{normalize:t}=e;return t(["Check your email. If your address is in our database, you'll received an email with a link to reset your password."])},PASSWORD_UPDATED:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Your password have been updated. Click ",n(r(0))," to log in."])},PROFILE:{BACK_TO_PROFILE:e=>{const{normalize:t}=e;return t(["Back to profile"])},BIO:e=>{const{normalize:t}=e;return t(["Bio"])},BIRTH_DATE:e=>{const{normalize:t}=e;return t(["Birth date"])},EDIT:e=>{const{normalize:t}=e;return t(["Edit profile"])},EDIT_PREFERENCES:e=>{const{normalize:t}=e;return t(["Edit preferences"])},FIRST_NAME:e=>{const{normalize:t}=e;return t(["First name"])},FIRST_DAY_OF_WEEK:e=>{const{normalize:t}=e;return t(["First day of week"])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Language"])},LAST_NAME:e=>{const{normalize:t}=e;return t(["Last name"])},LOCATION:e=>{const{normalize:t}=e;return t(["Location"])},MONDAY:e=>{const{normalize:t}=e;return t(["Monday"])},PICTURE:e=>{const{normalize:t}=e;return t(["Picture"])},PICTURE_EDITION:e=>{const{normalize:t}=e;return t(["Picture edition"])},PICTURE_UPDATE:e=>{const{normalize:t}=e;return t(["Update picture"])},PICTURE_REMOVE:e=>{const{normalize:t}=e;return t(["Remove picture"])},PREFERENCES_EDITION:e=>{const{normalize:t}=e;return t(["Preferences edition"])},PROFILE_EDITION:e=>{const{normalize:t}=e;return t(["Profile edition"])},REGISTRATION_DATE:e=>{const{normalize:t}=e;return t(["Registration date"])},SUNDAY:e=>{const{normalize:t}=e;return t(["Sunday"])},TABS:{PICTURE:e=>{const{normalize:t}=e;return t(["picture"])},PREFERENCES:e=>{const{normalize:t}=e;return t(["preferences"])},PROFILE:e=>{const{normalize:t}=e;return t(["profile"])}},TIMEZONE:e=>{const{normalize:t}=e;return t(["Timezone"])}},REGISTER:e=>{const{normalize:t}=e;return t(["Register"])},REGISTER_DISABLED:e=>{const{normalize:t}=e;return t(["Sorry, registration is disabled."])},RESET_PASSWORD:e=>{const{normalize:t}=e;return t(["Reset your password"])},USER_PICTURE:e=>{const{normalize:t}=e;return t(["user picture"])},USERNAME:e=>{const{normalize:t}=e;return t(["Username"])}},O={ADD_WORKOUT:e=>{const{normalize:t}=e;return t(["Add a workout"])},ANALYSIS:e=>{const{normalize:t}=e;return t(["analysis"])},ASCENT:e=>{const{normalize:t}=e;return t(["ascent"])},AVE_SPEED:e=>{const{normalize:t}=e;return t(["ave. speed"])},AVERAGE_SPEED:e=>{const{normalize:t}=e;return t(["average speed"])},BACK_TO_WORKOUT:e=>{const{normalize:t}=e;return t(["back to workout"])},DATE:e=>{const{normalize:t}=e;return t(["date"])},DESCENT:e=>{const{normalize:t}=e;return t(["descent"])},DISPLAY_FILTERS:e=>{const{normalize:t}=e;return t(["display filters"])},DISTANCE:e=>{const{normalize:t}=e;return t(["distance"])},DURATION:e=>{const{normalize:t}=e;return t(["duration"])},EDIT_WORKOUT:e=>{const{normalize:t}=e;return t(["Edit the workout"])},ELEVATION:e=>{const{normalize:t}=e;return t(["elevation"])},END:e=>{const{normalize:t}=e;return t(["end"])},FROM:e=>{const{normalize:t}=e;return t(["from"])},GPX_FILE:e=>{const{normalize:t}=e;return t([".gpx file"])},HIDE_FILTERS:e=>{const{normalize:t}=e;return t(["hide filters"])},KM:e=>{const{normalize:t}=e;return t(["km"])},LATEST_WORKOUTS:e=>{const{normalize:t}=e;return t(["Latest workouts"])},LOAD_MORE_WORKOUT:e=>{const{normalize:t}=e;return t(["Load more workouts"])},MAX_ALTITUDE:e=>{const{normalize:t}=e;return t(["max. altitude"])},MAX_FILES:e=>{const{normalize:t}=e;return t(["max files"])},MAX_SIZE:e=>{const{normalize:t}=e;return t(["max size"])},MAX_SPEED:e=>{const{normalize:t}=e;return t(["max. speed"])},MIN_ALTITUDE:e=>{const{normalize:t}=e;return t(["min. altitude"])},NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["No next segment"])},NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["Next workout"])},NO_DATA_CLEANING:e=>{const{normalize:t}=e;return t(["data from gpx, without any cleaning"])},NO_FILE_PROVIDED:e=>{const{normalize:t}=e;return t(["No file provided"])},NO_FOLDER:e=>{const{normalize:t}=e;return t(["no folder inside"])},NO_MAP:e=>{const{normalize:t}=e;return t(["No map"])},NO_NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["No next segment"])},NO_NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["No next workout"])},NO_NOTES:e=>{const{normalize:t}=e;return t(["No notes"])},NO_PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["No previous segment"])},NO_PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["No previous workout"])},NO_RECORDS:e=>{const{normalize:t}=e;return t(["No records."])},NO_WORKOUTS:e=>{const{normalize:t}=e;return t(["No workouts."])},NOTES:e=>{const{normalize:t}=e;return t(["notes"])},PAUSES:e=>{const{normalize:t}=e;return t(["pauses"])},PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["Previous segment"])},PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["Previous workout"])},RECORD:e=>{const{normalize:t,plural:n}=e;return n([t(["record"]),t(["records"])])},RECORD_AS:e=>{const{normalize:t}=e;return t(["Ave. speed"])},RECORD_FD:e=>{const{normalize:t}=e;return t(["Farest distance"])},RECORD_LD:e=>{const{normalize:t}=e;return t(["Longest duration"])},RECORD_MS:e=>{const{normalize:t}=e;return t(["Max. speed"])},REMAINING_CHARS:e=>{const{normalize:t}=e;return t(["remaining characters"])},SEGMENT:e=>{const{normalize:t,plural:n}=e;return n([t(["segment"]),t(["segments"])])},SPEED:e=>{const{normalize:t}=e;return t(["speed"])},SPORT:e=>{const{normalize:t,plural:n}=e;return n([t(["sport"]),t(["sports"])])},START:e=>{const{normalize:t}=e;return t(["start"])},TITLE:e=>{const{normalize:t}=e;return t(["title"])},TO:e=>{const{normalize:t}=e;return t(["to"])},TOTAL_DURATION:e=>{const{normalize:t}=e;return t(["total duration"])},UPLOAD_FIRST_WORKOUT:e=>{const{normalize:t}=e;return t(["Upload one!"])},WEATHER:{HUMIDITY:e=>{const{normalize:t}=e;return t(["humidity"])},TEMPERATURE:e=>{const{normalize:t}=e;return t(["temperature"])},WIND:e=>{const{normalize:t}=e;return t(["wind"])},DARK_SKY:{"clear-day":e=>{const{normalize:t}=e;return t(["clear day"])},"clear-night":e=>{const{normalize:t}=e;return t(["clear night"])},cloudy:e=>{const{normalize:t}=e;return t(["cloudy"])},fog:e=>{const{normalize:t}=e;return t(["fog"])},"partly-cloudy-day":e=>{const{normalize:t}=e;return t(["partly cloudy day"])},"partly-cloudy-night":e=>{const{normalize:t}=e;return t(["partly cloudy night"])},rain:e=>{const{normalize:t}=e;return t(["rain"])},sleet:e=>{const{normalize:t}=e;return t(["sleet"])},snow:e=>{const{normalize:t}=e;return t(["snow"])},wind:e=>{const{normalize:t}=e;return t(["wind"])}}},WITH_GPX:e=>{const{normalize:t}=e;return t(["with .gpx file"])},WITHOUT_GPX:e=>{const{normalize:t}=e;return t(["without .gpx file"])},WORKOUT:e=>{const{normalize:t,plural:n}=e;return n([t(["workout"]),t(["workouts"])])},WORKOUT_DATE:e=>{const{normalize:t}=e;return t(["workout date"])},WORKOUT_DELETION_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Are you sure you want to delete this workout?"])},ZIP_ARCHIVE:e=>{const{normalize:t}=e;return t([".zip file"])},ZIP_ARCHIVE_DESCRIPTION:e=>{const{normalize:t}=e;return t(["or .zip file containing .gpx files"])}};t["default"]={admin:r,api:o,buttons:a,common:c,dashboard:i,error:s,sports:u,statistics:l,user:d,workouts:O}},c364:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));n("b680"),n("99af");var r=["bytes","KB","MB","GB","TB"],o=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.floor(Math.log(e)/Math.log(1024));if(!e)return t?"0 bytes":{size:"0",suffix:"bytes"};var o=(e/Math.pow(1024,n)).toFixed(1),a=r[n];return t?"".concat(o).concat(a):{size:o,suffix:a}},a=function(e){var t=e/1048576;return+t.toFixed(2)}},c46a:function(e,t,n){"use strict";var r=n("7a23"),o={class:"user-picture"},a={key:1,class:"no-picture"},c=Object(r["createVNode"])("i",{class:"fa fa-user-circle-o","aria-hidden":"true"},null,-1);function i(e,t,n,i,s,u){return Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[""!==e.authUserPictureUrl?(Object(r["openBlock"])(),Object(r["createBlock"])("img",{key:0,class:"nav-profile-user-img",alt:e.$t("user.USER_PICTURE"),src:e.authUserPictureUrl},null,8,["alt","src"])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[c]))])}n("99af");var s=n("d257"),u=Object(r["defineComponent"])({name:"UserPicture",props:{user:{type:Object,required:!0}},setup:function(e){return{authUserPictureUrl:Object(r["computed"])((function(){return e.user.picture?"".concat(Object(s["a"])(),"users/").concat(e.user.username,"/picture?").concat(Date.now()):""}))}}});n("9561");u.render=i;t["a"]=u},c75e:function(e,t,n){},cbea:function(e,t,n){"use strict";n("fb41")},cd49:function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("159b"),n("b0c0");var r=n("9b4a"),o=n("d9fa"),a=n("7a23"),c=n("9483");Object(c["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(){console.log("Service worker has been registered.")},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(){console.log("New content is available; please refresh.")},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(e){console.error("Error during service worker registration:",e)}});var i=Object(a["withScopeId"])("data-v-317a6409");Object(a["pushScopeId"])("data-v-317a6409");var s=Object(a["createVNode"])("div",{id:"top"},null,-1),u={key:0,class:"app-container"},l={class:"app-loading"},d={class:"container scroll"},O=Object(a["createVNode"])("i",{class:"fa fa-chevron-up","aria-hidden":"true"},null,-1);Object(a["popScopeId"])();var p=i((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("NavBar"),p=Object(a["resolveComponent"])("Loader"),m=Object(a["resolveComponent"])("router-view"),b=Object(a["resolveComponent"])("NoConfig"),E=Object(a["resolveComponent"])("Footer");return Object(a["openBlock"])(),Object(a["createBlock"])(a["Fragment"],null,[s,Object(a["createVNode"])(i,{onMenuInteraction:e.updateHideScrollBar},null,8,["onMenuInteraction"]),e.appLoading?(Object(a["openBlock"])(),Object(a["createBlock"])("div",u,[Object(a["createVNode"])("div",l,[Object(a["createVNode"])(p)])])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",{key:1,class:["app-container",{"hide-scroll":e.hideScrollBar}]},[e.appConfig?(Object(a["openBlock"])(),Object(a["createBlock"])(m,{key:0})):(Object(a["openBlock"])(),Object(a["createBlock"])(b,{key:1}))],2)),Object(a["createVNode"])("div",d,[Object(a["createVNode"])("div",{class:["scroll-button",{"display-button":e.displayScrollButton}],onClick:t[1]||(t[1]=function(){return e.scrollToTop&&e.scrollToTop.apply(e,arguments)})},[O],2)]),e.appConfig?(Object(a["openBlock"])(),Object(a["createBlock"])(E,{key:2,version:e.appConfig?e.appConfig.version:""},null,8,["version"])):Object(a["createCommentVNode"])("",!0)],64)})),m=Object(a["withScopeId"])("data-v-e1641806");Object(a["pushScopeId"])("data-v-e1641806");var b={id:"footer"},E={class:"footer-items"},T={class:"footer-item"},S=Object(a["createVNode"])("strong",null,"FitTrackee",-1),f=Object(a["createStaticVNode"])('',4);Object(a["popScopeId"])();var _=m((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",b,[Object(a["createVNode"])("div",E,[Object(a["createVNode"])("div",T,[S,Object(a["createTextVNode"])(" v"+Object(a["toDisplayString"])(e.version),1)]),f])])})),j=Object(a["defineComponent"])({name:"Footer",props:{version:{type:String,required:!0}}});n("7b3e");j.render=_,j.__scopeId="data-v-e1641806";var A=j,N=Object(a["withScopeId"])("data-v-03a78350");Object(a["pushScopeId"])("data-v-03a78350");var R={id:"nav"},I={class:"nav-container"},g={class:"nav-app-name"},U={class:"nav-items-close"},v=Object(a["createVNode"])("div",{class:"app-name"},"FitTrackee",-1),D={key:0,class:"nav-items-group"},P=Object(a["createVNode"])("div",{class:"nav-item nav-separator"},null,-1),h={class:"nav-items-user-menu"},C={key:0,class:"nav-items-group"},k={class:"nav-item nav-profile-img"},M={key:1,class:"nav-items-group"},L=Object(a["createVNode"])("i",{class:"fa fa-language"},null,-1);Object(a["popScopeId"])();var z=N((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("router-link"),s=Object(a["resolveComponent"])("UserPicture"),u=Object(a["resolveComponent"])("Dropdown");return Object(a["openBlock"])(),Object(a["createBlock"])("div",R,[Object(a["createVNode"])("div",I,[Object(a["createVNode"])("div",g,[Object(a["createVNode"])("div",{class:"nav-item app-name",onClick:t[1]||(t[1]=function(t){return e.$router.push("/")})}," FitTrackee ")]),Object(a["createVNode"])("div",{class:["nav-icon-open",{"menu-open":e.isMenuOpen}]},[Object(a["createVNode"])("i",{class:"fa fa-bars hamburger-icon",onClick:t[2]||(t[2]=function(t){return e.openMenu()})})],2),Object(a["createVNode"])("div",{class:["nav-items",{"menu-open":e.isMenuOpen}]},[Object(a["createVNode"])("div",U,[v,Object(a["createVNode"])("i",{class:["fa fa-close close-icon nav-item",{"menu-closed":!e.isMenuOpen}],onClick:t[3]||(t[3]=function(t){return e.closeMenu()})},null,2)]),Object(a["createVNode"])("div",{class:"nav-items-app-menu",onClick:t[4]||(t[4]=function(t){return e.closeMenu()})},[e.isAuthenticated?(Object(a["openBlock"])(),Object(a["createBlock"])("div",D,[Object(a["createVNode"])(i,{class:"nav-item",to:"/"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("dashboard.DASHBOARD")),1)]})),_:1}),Object(a["createVNode"])(i,{class:"nav-item",to:"/workouts"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",2))),1)]})),_:1}),Object(a["createVNode"])(i,{class:"nav-item",to:"/statistics"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("statistics.STATISTICS")),1)]})),_:1}),Object(a["createVNode"])(i,{class:"nav-item",to:"/workouts/add"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("workouts.ADD_WORKOUT")),1)]})),_:1}),e.isAuthenticated&&e.authUser.admin?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,class:"nav-item",to:"/admin"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.ADMIN")),1)]})),_:1})):Object(a["createCommentVNode"])("",!0),P])):Object(a["createCommentVNode"])("",!0)]),Object(a["createVNode"])("div",h,[e.isAuthenticated?(Object(a["openBlock"])(),Object(a["createBlock"])("div",C,[Object(a["createVNode"])("div",k,[Object(a["createVNode"])(s,{user:e.authUser},null,8,["user"])]),Object(a["createVNode"])(i,{class:"nav-item",to:"/profile",onClick:e.closeMenu},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.authUser.username),1)]})),_:1},8,["onClick"]),Object(a["createVNode"])("div",{class:"nav-item nav-link",onClick:t[5]||(t[5]=function(){return e.logout&&e.logout.apply(e,arguments)})},Object(a["toDisplayString"])(e.$t("user.LOGOUT")),1)])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",M,[Object(a["createVNode"])(i,{class:"nav-item",to:"/login",onClick:e.closeMenu},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.LOGIN")),1)]})),_:1},8,["onClick"]),Object(a["createVNode"])(i,{class:"nav-item",to:"/register",onClick:e.closeMenu},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.REGISTER")),1)]})),_:1},8,["onClick"])])),e.availableLanguages&&e.language?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:2,class:"nav-item",options:e.availableLanguages,selected:e.language,onSelected:e.updateLanguage},{default:N((function(){return[L]})),_:1},8,["options","selected","onSelected"])):Object(a["createCommentVNode"])("",!0)])],2)])])})),y=(n("99af"),n("d3b7"),n("25f0"),n("47e2")),V=n("c46a"),w=n("dad5"),B=n("2906"),G=n("d257"),x=(n("d81d"),n("8923")),F=n("d481");n("ddb0"),n("ac1f"),n("466d");function W(){var e=n("e7b6"),t={};return e.keys().forEach((function(n){var r=n.match(/([A-Za-z0-9-_]+)\./i);if(r&&r.length>1){var o=r[1];t[o]=e(n).default}})),t}var K=Object(y["a"])({legacy:!1,locale:"en",fallbackLocale:"en",globalInjection:!0,messages:W()}),$={en:x["a"],fr:F["a"]},H={en:"English",fr:"Français"},Y=K.global.availableLocales,q=Y.map((function(e){return{label:H[e],value:e}})),X=Object(a["defineComponent"])({name:"NavBar",components:{UserPicture:V["a"]},emits:["menuInteraction"],setup:function(e,t){var n=t.emit,r=Object(y["b"])(),o=r.locale,c=Object(B["a"])(),i=Object(a["computed"])((function(){return c.getters[w["e"].GETTERS.AUTH_USER_PROFILE]})),s=Object(a["computed"])((function(){return c.getters[w["e"].GETTERS.IS_AUTHENTICATED]})),u=Object(a["computed"])((function(){return s.value&&i.value.picture?"".concat(Object(G["a"])(),"/users/").concat(i.value.username,"/picture?").concat(Date.now()):""})),l=Object(a["computed"])((function(){return c.getters[w["a"].GETTERS.LANGUAGE]})),d=Object(a["ref"])(!1);function O(){d.value=!0,n("menuInteraction",!0)}function p(){d.value=!1,n("menuInteraction",!1)}function m(e){o.value=e.value.toString(),c.commit(w["a"].MUTATIONS.UPDATE_LANG,e.value)}function b(){c.dispatch(w["e"].ACTIONS.LOGOUT)}return{availableLanguages:q,authUser:i,authUserPictureUrl:u,isAuthenticated:s,isMenuOpen:d,language:l,capitalize:a["capitalize"],openMenu:O,closeMenu:p,updateLanguage:m,logout:b}}});n("5567");X.render=z,X.__scopeId="data-v-03a78350";var Z=X,Q=Object(a["withScopeId"])("data-v-01d4a985");Object(a["pushScopeId"])("data-v-01d4a985");var J={id:"no-config"},ee={class:"error-page"},te=Object(a["createVNode"])("div",{class:"error-img"},[Object(a["createVNode"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -51 512 512"},[Object(a["createVNode"])("g",{id:"error"},[Object(a["createVNode"])("path",{class:"error-page-img",d:"M 0 0 C 0 11.300781 0 399.777344 0 410 L 512 410 C 512 402.324219 512 2.425781 512 0 Z M 370 71 L 370 30 L 411 30 L 411 71 Z M 30 30 L 340 30 L 340 71 L 30 71 Z M 482 380 L 30 380 L 30 101 L 482 101 Z M 441 71 L 441 30 L 482 30 L 482 71 Z M 441 71 "}),Object(a["createVNode"])("path",{class:"error-page-img",d:"M 325.519531 297.070312 C 294.328125 265.878906 294.328125 215.125 325.519531 183.929688 L 304.304688 162.71875 C 261.417969 205.605469 261.417969 275.390625 304.304688 318.28125 Z M 325.519531 297.070312 "}),Object(a["createVNode"])("path",{class:"error-page-img",d:"M 197.089844 180 L 237.089844 180 L 237.089844 220 L 197.089844 220 Z M 197.089844 180 "}),Object(a["createVNode"])("path",{class:"error-page-img",d:"M 197.089844 261 L 237.089844 261 L 237.089844 301 L 197.089844 301 Z M 197.089844 261 "})])])],-1);Object(a["popScopeId"])();var ne=Q((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",J,[Object(a["createVNode"])("div",ee,[te,Object(a["createVNode"])("p",{class:"error-message",innerHTML:e.$t("error.APP_ERROR")},null,8,["innerHTML"])])])})),re=Object(a["defineComponent"])({name:"NoConfig",setup:function(){var e=Object(y["b"])(),t=e.t;return{t:t}}});n("f037");re.render=ne,re.__scopeId="data-v-01d4a985";var oe=re,ae=Object(a["defineComponent"])({name:"App",components:{Footer:A,NavBar:Z,NoConfig:oe},setup:function(){var e=Object(B["a"])(),t=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.APP_CONFIG]})),n=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.APP_LOADING]})),r=Object(a["ref"])(!1),o=Object(a["ref"])(!1);function c(e){r.value=e}function i(e){return e.getBoundingClientRect().top=0}function s(){window.onscroll=function(){var e=document.querySelector("#bottom");o.value=null!==e&&i(e)}}function u(){window.scrollTo({top:0,behavior:"smooth"}),setTimeout((function(){o.value=!1}),300)}return Object(a["onBeforeMount"])((function(){return e.dispatch(w["a"].ACTIONS.GET_APPLICATION_CONFIG)})),Object(a["onMounted"])((function(){return s()})),{appConfig:t,appLoading:n,hideScrollBar:r,displayScrollButton:o,scrollToTop:u,updateHideScrollBar:c}}});n("608d");ae.render=p,ae.__scopeId="data-v-317a6409";var ce=ae,ie=(n("5319"),n("3ca3"),n("caad"),n("6c02")),se=Object(a["withScopeId"])("data-v-26175b66");Object(a["pushScopeId"])("data-v-26175b66");var ue={id:"admin-app",class:"admin-card"},le={for:"max_users"},de={class:"user-limit-help"},Oe={class:"info-box"},pe=Object(a["createVNode"])("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1),me={for:"max_single_file_size"},be={for:"max_zip_file_size"},Ee={for:"gpx_limit_import"},Te={key:1,class:"form-buttons"},Se={class:"confirm",type:"submit"},fe={key:2,class:"form-buttons"};Object(a["popScopeId"])();var _e=se((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("ErrorMessage"),s=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",ue,[Object(a["createVNode"])(s,null,{title:se((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.TITLE")),1)]})),content:se((function(){return[Object(a["createVNode"])("form",{class:"admin-form",onSubmit:t[8]||(t[8]=Object(a["withModifiers"])((function(){return e.onSubmit&&e.onSubmit.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("label",le,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.MAX_USERS_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"max_users",name:"max_users",type:"number",min:"0","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.appData.max_users=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.max_users]])]),Object(a["createVNode"])("div",de,[Object(a["createVNode"])("span",Oe,[pe,Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.MAX_USERS_HELP")),1)])]),Object(a["createVNode"])("label",me,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.SINGLE_UPLOAD_MAX_SIZE_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"max_single_file_size",name:"max_single_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.appData.max_single_file_size=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.max_single_file_size]])]),Object(a["createVNode"])("label",be,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.ZIP_UPLOAD_MAX_SIZE_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"max_zip_file_size",name:"max_zip_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":t[3]||(t[3]=function(t){return e.appData.max_zip_file_size=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.max_zip_file_size]])]),Object(a["createVNode"])("label",Ee,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.MAX_FILES_IN_ZIP_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"gpx_limit_import",name:"gpx_limit_import",type:"number",min:"0","onUpdate:modelValue":t[4]||(t[4]=function(t){return e.appData.gpx_limit_import=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.gpx_limit_import]])]),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),e.edition?(Object(a["openBlock"])(),Object(a["createBlock"])("div",Te,[Object(a["createVNode"])("button",Se,Object(a["toDisplayString"])(e.$t("buttons.SUBMIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[5]||(t[5]=Object(a["withModifiers"])((function(){return e.onCancel&&e.onCancel.apply(e,arguments)}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.CANCEL")),1)])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",fe,[Object(a["createVNode"])("button",{class:"confirm",onClick:t[6]||(t[6]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin/application/edit")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.EDIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[7]||(t[7]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1)]))],32)]})),_:1})])})),je=(n("b64b"),n("c364")),Ae=Object(a["defineComponent"])({name:"AdminApplication",props:{appConfig:{type:Object,required:!0},edition:{type:Boolean,default:!1}},setup:function(e){var t=Object(B["a"])(),n=Object(ie["d"])(),r=Object(a["reactive"])({max_users:0,max_single_file_size:0,max_zip_file_size:0,gpx_limit_import:0}),o=Object(a["computed"])((function(){return t.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function c(e){Object.keys(r).map((function(t){["max_single_file_size","max_zip_file_size"].includes(t)?r[t]=Object(je["a"])(e[t]):r[t]=e[t]}))}function i(){c(e.appConfig),t.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),n.push("/admin/application")}function s(){var e=Object.assign({},r);e.max_single_file_size*=1048576,e.max_zip_file_size*=1048576,t.dispatch(w["a"].ACTIONS.UPDATE_APPLICATION_CONFIG,e)}return Object(a["onBeforeMount"])((function(){e.appConfig&&c(e.appConfig)})),{appData:r,errorMessages:o,onCancel:i,onSubmit:s}}});n("3853");Ae.render=_e,Ae.__scopeId="data-v-26175b66";var Ne=Ae,Re=Object(a["withScopeId"])("data-v-4f30aa64");Object(a["pushScopeId"])("data-v-4f30aa64");var Ie={id:"admin-menu",class:"center-card"},ge={class:"admin-menu description-list"},Ue=Object(a["createVNode"])("br",null,null,-1),ve={class:"registration-status"};Object(a["popScopeId"])();var De=Re((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("AppStatsCards"),s=Object(a["resolveComponent"])("router-link"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Ie,[Object(a["createVNode"])(u,null,{title:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.ADMINISTRATION")),1)]})),content:Re((function(){return[Object(a["createVNode"])(i,{"app-statistics":e.appStatistics},null,8,["app-statistics"]),Object(a["createVNode"])("div",ge,[Object(a["createVNode"])("dl",null,[Object(a["createVNode"])("dt",null,[Object(a["createVNode"])(s,{to:"/admin/application"},{default:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APPLICATION")),1)]})),_:1})]),Object(a["createVNode"])("dd",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.UPDATE_APPLICATION_DESCRIPTION")),1),Ue,Object(a["createVNode"])("span",ve,Object(a["toDisplayString"])(e.$t("admin.REGISTRATION_".concat(e.appConfig.is_registration_enabled?"ENABLED":"DISABLED"))),1)]),Object(a["createVNode"])("dt",null,[Object(a["createVNode"])(s,{to:"/admin/sports"},{default:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.SPORT",0))),1)]})),_:1})]),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.$t("admin.ENABLE_DISABLE_SPORTS")),1),Object(a["createVNode"])("dt",null,[Object(a["createVNode"])(s,{to:"/admin/users"},{default:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("admin.USER",0))),1)]})),_:1})]),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.$t("admin.ADMIN_RIGHTS_DELETE_USER_ACCOUNT")),1)])])]})),_:1})])})),Pe={id:"user-stats"};function he(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("StatCard");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Pe,[Object(a["createVNode"])(i,{icon:"users",value:e.usersCount,text:e.$t("admin.USER",e.usersCount)},null,8,["value","text"]),Object(a["createVNode"])(i,{icon:"tags",value:e.sportsCount,text:e.$t("workouts.SPORT",e.sportsCount)},null,8,["value","text"]),Object(a["createVNode"])(i,{icon:"calendar",value:e.workoutCount,text:e.$t("workouts.WORKOUT",e.workoutCount)},null,8,["value","text"]),Object(a["createVNode"])(i,{icon:"folder-open",value:e.uploadDirSize.size,text:e.uploadDirSize.suffix},null,8,["value","text"])])}var Ce=n("05d9"),ke=Object(a["defineComponent"])({name:"UserStatsCards",components:{StatCard:Ce["a"]},props:{appStatistics:{type:Object,default:function(){return{}}}},setup:function(e){return{uploadDirSize:Object(a["computed"])((function(){return e.appStatistics.uploads_dir_size?Object(je["b"])(e.appStatistics.uploads_dir_size,!1):{size:0,suffix:"bytes"}})),usersCount:Object(a["computed"])((function(){return e.appStatistics.users?e.appStatistics.users:0})),sportsCount:Object(a["computed"])((function(){return e.appStatistics.sports?e.appStatistics.sports:0})),workoutCount:Object(a["computed"])((function(){return e.appStatistics.workouts?e.appStatistics.workouts:0}))}}});n("a1fe");ke.render=he;var Me=ke,Le={class:"card"},ze={class:"card-title"},ye={class:"card-content"};function Ve(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",Le,[Object(a["createVNode"])("div",ze,[Object(a["renderSlot"])(e.$slots,"title")]),Object(a["createVNode"])("div",ye,[Object(a["renderSlot"])(e.$slots,"content")])])}var we=Object(a["defineComponent"])({name:"Card"});n("16c2");we.render=Ve;var Be=we,Ge=Object(a["defineComponent"])({name:"AdminMenu",components:{AppStatsCards:Me,Card:Be},props:{appConfig:{type:Object,required:!0},appStatistics:{type:Object}},setup:function(){return{capitalize:a["capitalize"]}}});n("4a13");Ge.render=De,Ge.__scopeId="data-v-4f30aa64";var xe=Ge,Fe=Object(a["withScopeId"])("data-v-6d930723");Object(a["pushScopeId"])("data-v-6d930723");var We={id:"admin-sports",class:"admin-card"},Ke={class:"responsive-table"},$e=Object(a["createVNode"])("th",null,"#",-1),He={class:"text-left"},Ye={class:"text-left sport-action"},qe=Object(a["createVNode"])("th",null,null,-1),Xe={class:"center-text"},Ze=Object(a["createVNode"])("span",{class:"cell-heading"},"id",-1),Qe={class:"cell-heading"},Je={class:"sport-label"},et={class:"cell-heading"},tt={class:"center-text"},nt={class:"cell-heading"},rt={class:"sport-action"},ot={class:"cell-heading"},at={class:"action-button"},ct={key:0,class:"has-workouts"},it=Object(a["createVNode"])("i",{class:"fa fa-warning","aria-hidden":"true"},null,-1);Object(a["popScopeId"])();var st=Fe((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("SportImage"),s=Object(a["resolveComponent"])("ErrorMessage"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",We,[Object(a["createVNode"])(u,null,{title:Fe((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.SPORTS.TITLE")),1)]})),content:Fe((function(){return[Object(a["createVNode"])("button",{class:"top-button",onClick:t[1]||(t[1]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1),Object(a["createVNode"])("div",Ke,[Object(a["createVNode"])("table",null,[Object(a["createVNode"])("thead",null,[Object(a["createVNode"])("tr",null,[$e,Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.IMAGE")),1),Object(a["createVNode"])("th",He,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.LABEL")),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.ACTIVE")),1),Object(a["createVNode"])("th",Ye,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1),qe])]),Object(a["createVNode"])("tbody",null,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.translatedSports,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("tr",{key:t.id},[Object(a["createVNode"])("td",Xe,[Ze,Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.id),1)]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",Qe,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.IMAGE")),1),Object(a["createVNode"])(i,{title:t.translatedLabel,"sport-label":t.label},null,8,["title","sport-label"])]),Object(a["createVNode"])("td",Je,[Object(a["createVNode"])("span",et,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.LABEL")),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.translatedLabel),1)]),Object(a["createVNode"])("td",tt,[Object(a["createVNode"])("span",nt,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.ACTIVE")),1),Object(a["createVNode"])("i",{class:"fa fa".concat(t.is_active?"-check":"","-square-o"),"aria-hidden":"true"},null,2)]),Object(a["createVNode"])("td",rt,[Object(a["createVNode"])("span",ot,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1),Object(a["createVNode"])("div",at,[Object(a["createVNode"])("button",{class:{danger:t.is_active},onClick:function(n){return e.updateSportStatus(t.id,!t.is_active)}},Object(a["toDisplayString"])(e.$t("buttons.".concat(t.is_active?"DIS":"EN","ABLE"))),11,["onClick"]),t.has_workouts?(Object(a["openBlock"])(),Object(a["createBlock"])("span",ct,[it,Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.HAS_WORKOUTS")),1)])):Object(a["createCommentVNode"])("",!0)])])])})),128))])]),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("button",{onClick:t[2]||(t[2]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1)])]})),_:1})])})),ut=n("1119"),lt=Object(a["defineComponent"])({name:"AdminSports",setup:function(){var e=Object(y["b"])(),t=e.t,n=Object(B["a"])(),r=Object(a["computed"])((function(){return Object(ut["d"])(n.getters[w["b"].GETTERS.SPORTS],t)})),o=Object(a["computed"])((function(){return n.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function c(e,t){n.dispatch(w["b"].ACTIONS.UPDATE_SPORTS,{id:e,isActive:t})}return{errorMessages:o,translatedSports:r,updateSportStatus:c}}});n("3214");lt.render=st,lt.__scopeId="data-v-6d930723";var dt=lt,Ot=(n("4e82"),Object(a["withScopeId"])("data-v-2f9e0e4c"));Object(a["pushScopeId"])("data-v-2f9e0e4c");var pt={id:"admin-users",class:"admin-card"},mt={class:"responsive-table"},bt=Object(a["createVNode"])("th",null,"#",-1),Et={class:"left-text"},Tt={class:"left-text"},St={class:"left-text"},ft={class:"cell-heading"},_t={class:"cell-heading"},jt={class:"cell-heading"},At={class:"cell-heading"},Nt={class:"center-text"},Rt={class:"cell-heading"},It={class:"center-text"},gt={class:"cell-heading"},Ut={class:"center-text"},vt={class:"cell-heading"};Object(a["popScopeId"])();var Dt=Ot((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("AdminUsersSelects"),s=Object(a["resolveComponent"])("UserPicture"),u=Object(a["resolveComponent"])("router-link"),l=Object(a["resolveComponent"])("Pagination"),d=Object(a["resolveComponent"])("ErrorMessage"),O=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",pt,[Object(a["createVNode"])(O,null,{title:Ot((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("admin.USER",0))),1)]})),content:Ot((function(){return[Object(a["createVNode"])("button",{class:"top-button",onClick:t[1]||(t[1]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1),Object(a["createVNode"])(i,{sort:e.sort,order_by:e.order_by,query:e.query,onUpdateSelect:e.reloadUsers},null,8,["sort","order_by","query","onUpdateSelect"]),Object(a["createVNode"])("div",mt,[Object(a["createVNode"])("table",null,[Object(a["createVNode"])("thead",null,[Object(a["createVNode"])("tr",null,[bt,Object(a["createVNode"])("th",Et,Object(a["toDisplayString"])(e.$t("user.USERNAME")),1),Object(a["createVNode"])("th",Tt,Object(a["toDisplayString"])(e.$t("user.EMAIL")),1),Object(a["createVNode"])("th",St,Object(a["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE")),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",0))),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("user.ADMIN")),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1)])]),Object(a["createVNode"])("tbody",null,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.users,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("tr",{key:t.username},[Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",ft,Object(a["toDisplayString"])(e.$t("user.PROFILE.PICTURE")),1),Object(a["createVNode"])(s,{user:t},null,8,["user"])]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",_t,Object(a["toDisplayString"])(e.$t("user.USERNAME")),1),Object(a["createVNode"])(u,{to:"/users/".concat(t.username)},{default:Ot((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(t.username),1)]})),_:2},1032,["to"])]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",jt,Object(a["toDisplayString"])(e.$t("user.EMAIL")),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.email),1)]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",At,Object(a["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE")),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.created_at),1)]),Object(a["createVNode"])("td",Nt,[Object(a["createVNode"])("span",Rt,Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",0))),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.nb_workouts),1)]),Object(a["createVNode"])("td",It,[Object(a["createVNode"])("span",gt,Object(a["toDisplayString"])(e.$t("user.ADMIN")),1),Object(a["createVNode"])("i",{class:"fa fa".concat(t.admin?"-check":"","-square-o"),"aria-hidden":"true"},null,2)]),Object(a["createVNode"])("td",Ut,[Object(a["createVNode"])("span",vt,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1),Object(a["createVNode"])("button",{class:{danger:t.admin},disabled:t.username===e.authUser.username,onClick:function(n){return e.updateUser(t.username,!t.admin)}},Object(a["toDisplayString"])(e.$t("admin.USERS.TABLE.".concat(t.admin?"REMOVE":"ADD","_ADMIN_RIGHTS"))),11,["disabled","onClick"])])])})),128))])]),e.pagination.page?(Object(a["openBlock"])(),Object(a["createBlock"])(l,{key:0,path:"/admin/users",pagination:e.pagination,query:e.query},null,8,["pagination","query"])):Object(a["createCommentVNode"])("",!0),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(d,{key:1,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("button",{onClick:t[2]||(t[2]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1)])]})),_:1})])})),Pt=Object(a["withScopeId"])("data-v-4a4a3d67");Object(a["pushScopeId"])("data-v-4a4a3d67");var ht={class:"table-selects"};Object(a["popScopeId"])();var Ct=Pt((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",ht,[Object(a["createVNode"])("label",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER_BY.LABEL"))+": ",1),Object(a["createVNode"])("select",{name:"order_by",id:"order_by",value:e.query.order_by,onChange:t[1]||(t[1]=function(){return e.onSelectUpdate&&e.onSelectUpdate.apply(e,arguments)})},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.order_by,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:t,key:t},Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER_BY.".concat(t))),9,["value"])})),128))],40,["value"])]),Object(a["createVNode"])("label",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER.LABEL"))+": ",1),Object(a["createVNode"])("select",{name:"order",id:"order",value:e.query.order,onChange:t[2]||(t[2]=function(){return e.onSelectUpdate&&e.onSelectUpdate.apply(e,arguments)})},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.sort,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:t,key:t},Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER.".concat(t.toUpperCase()))),9,["value"])})),128))],40,["value"])]),Object(a["createVNode"])("label",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.PER_PAGE.LABEL"))+": ",1),Object(a["createVNode"])("select",{name:"per_page",id:"per_page",value:e.query.per_page,onChange:t[3]||(t[3]=function(){return e.onSelectUpdate&&e.onSelectUpdate.apply(e,arguments)})},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.per_page,(function(e){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:e,key:e},Object(a["toDisplayString"])(e),9,["value"])})),128))],40,["value"])])])})),kt=Object(a["defineComponent"])({name:"AdminUsersSelects",props:{order_by:{type:Object,required:!0},query:{type:Object,required:!0},sort:{type:Object,required:!0}},emits:["updateSelect"],setup:function(e,t){var n=t.emit;function r(e){n("updateSelect",e.target.id,e.target.value)}return{per_page:[10,50,100],onSelectUpdate:r}}});n("b5e1");kt.render=Ct,kt.__scopeId="data-v-4a4a3d67";var Mt=kt,Lt=Object(a["withScopeId"])("data-v-7694e784");Object(a["pushScopeId"])("data-v-7694e784");var zt={class:"pagination-center","aria-label":"navigation"},yt={class:"pagination"};Object(a["popScopeId"])();var Vt=Lt((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("router-link");return Object(a["openBlock"])(),Object(a["createBlock"])("nav",zt,[Object(a["createVNode"])("ul",yt,[Object(a["createVNode"])("li",{class:["page-prev",{disabled:!e.pagination.has_prev}]},[Object(a["createVNode"])(i,{class:"page-link",to:{path:e.path,query:e.getQuery(e.pagination.page,-1)},event:e.pagination.has_prev?"click":"",disabled:!e.pagination.has_prev},{default:Lt((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("api.PAGINATION.PREVIOUS")),1)]})),_:1},8,["to","event","disabled"])],2),(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.rangePagination(e.pagination.pages),(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("li",{key:t,class:["page",{active:t===e.pagination.page}]},[Object(a["createVNode"])(i,{class:"page-link",to:{path:e.path,query:e.getQuery(t)}},{default:Lt((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(t),1)]})),_:2},1032,["to"])],2)})),128)),Object(a["createVNode"])("li",{class:["page-next",{disabled:!e.pagination.has_next}]},[Object(a["createVNode"])(i,{class:"page-link",to:{path:e.path,query:e.getQuery(e.pagination.page,1)},event:e.pagination.has_next?"click":"",disabled:!e.pagination.has_next},{default:Lt((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("api.PAGINATION.NEXT")),1)]})),_:1},8,["to","event","disabled"])],2)])])})),wt=(n("a630"),Object(a["defineComponent"])({name:"Pagination",props:{pagination:{type:Object,required:!0},path:{type:String,required:!0},query:{type:Object,required:!0}},setup:function(e){function t(e){return Array.from({length:e},(function(e,t){return t+1}))}function n(t,n){var r=Object.assign({},e.query);return r.page=n?t+n:t,r}return{rangePagination:t,getQuery:n}}}));n("edfa");wt.render=Vt,wt.__scopeId="data-v-7694e784";var Bt=wt,Gt=Object(a["defineComponent"])({name:"AdminUsers",components:{AdminUsersSelects:Mt,Pagination:Bt,UserPicture:V["a"]},setup:function(){var e=Object(B["a"])(),t=Object(ie["c"])(),n=Object(ie["d"])(),r=["asc","desc"],o=["admin","created_at","username","workouts_count"],c=Object(a["reactive"])(E(t.query)),i=Object(a["computed"])((function(){return e.getters[w["e"].GETTERS.AUTH_USER_PROFILE]})),s=Object(a["computed"])((function(){return e.getters[w["d"].GETTERS.USERS]})),u=Object(a["computed"])((function(){return e.getters[w["d"].GETTERS.USERS_PAGINATION]})),l=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function d(t){e.dispatch(w["d"].ACTIONS.GET_USERS,t)}function O(e){return e&&"string"===typeof e&&+e>0?+e:1}function p(e){return e&&"string"===typeof e&&+e>0?+e:10}function m(e){return e&&"string"===typeof e&&r.includes(e)?e:"asc"}function b(e){return e&&"string"===typeof e&&o.includes(e)?e:"created_at"}function E(e){return{page:O(e.page),per_page:p(e.per_page),order:m(e.order),order_by:b(e.order_by)}}function T(t,n){e.dispatch(w["d"].ACTIONS.UPDATE_USER,{username:t,admin:n})}function S(e,t){c[e]=t,"per_page"===e&&(c.page=1),n.push({path:"/admin/users",query:c})}return Object(a["onBeforeMount"])((function(){return d(c)})),Object(a["watch"])((function(){return t.query}),(function(e){c.page=O(e.page),c.per_page=p(e.per_page),c.order=m(e.order),c.order_by=b(e.order_by),d(c)})),Object(a["onUnmounted"])((function(){e.dispatch(w["d"].ACTIONS.EMPTY_USERS)})),{authUser:i,errorMessages:l,pagination:u,order_by:o,query:c,sort:r,users:s,capitalize:a["capitalize"],reloadUsers:S,updateUser:T}}});n("f79f");Gt.render=Dt,Gt.__scopeId="data-v-2f9e0e4c";var xt=Gt,Ft=Object(a["withScopeId"])("data-v-c81580c0");Object(a["pushScopeId"])("data-v-c81580c0");var Wt={id:"user-profile"},Kt={class:"box"};Object(a["popScopeId"])();var $t=Ft((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("UserHeader"),s=Object(a["resolveComponent"])("UserProfileTabs"),u=Object(a["resolveComponent"])("router-view");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Wt,[Object(a["createVNode"])(i,{user:e.user},null,8,["user"]),Object(a["createVNode"])("div",Kt,[Object(a["createVNode"])(s,{tabs:e.tabs,selectedTab:e.tab,edition:!1},null,8,["tabs","selectedTab"]),Object(a["createVNode"])(u,{user:e.user},null,8,["user"])])])})),Ht=n("3c44"),Yt={class:"profile-tabs custom-checkboxes-group"},qt={class:"profile-tabs-checkboxes custom-checkboxes"};function Xt(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",Yt,[Object(a["createVNode"])("div",qt,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.tabs,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("div",{class:"profile-tab custom-checkbox",key:t},[Object(a["createVNode"])("label",null,[Object(a["createVNode"])("input",{type:"radio",id:t,name:t,checked:e.selectedTab===t,disabled:e.disabled,onInput:function(n){return e.$router.push(e.getPath(t))}},null,40,["id","name","checked","disabled","onInput"]),Object(a["createVNode"])("span",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.TABS.".concat(t))),1)])])})),128))])])}var Zt=Object(a["defineComponent"])({name:"UserProfileTabs",props:{tabs:{type:Object,required:!0},selectedTab:{type:String,required:!0},edition:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1}},setup:function(e){function t(t){switch(t){case"PICTURE":return"/profile/edit/picture";case"PREFERENCES":return"/profile".concat(e.edition?"/edit":"","/preferences");default:case"PROFILE":return"/profile".concat(e.edition?"/edit":"")}}return{getPath:t}}});n("d42e");Zt.render=Xt;var Qt=Zt,Jt=Object(a["defineComponent"])({name:"ProfileDisplay",components:{UserHeader:Ht["a"],UserProfileTabs:Qt},props:{user:{type:Object,required:!0},tab:{type:String,required:!0}},setup:function(){return{tabs:["PROFILE","PREFERENCES"]}}});n("7ffe");Jt.render=$t,Jt.__scopeId="data-v-c81580c0";var en=Jt,tn=n("71a7"),nn=Object(a["withScopeId"])("data-v-39667dbe");Object(a["pushScopeId"])("data-v-39667dbe");var rn={id:"user-preferences",class:"description-list"},on={class:"profile-buttons"};Object(a["popScopeId"])();var an=nn((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",rn,[Object(a["createVNode"])("dl",null,[Object(a["createVNode"])("dt",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.LANGUAGE"))+":",1),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.language),1),Object(a["createVNode"])("dt",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.TIMEZONE"))+":",1),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.timezone),1),Object(a["createVNode"])("dt",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.FIRST_DAY_OF_WEEK"))+":",1),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.".concat(e.fistDayOfWeek))),1)]),Object(a["createVNode"])("div",on,[Object(a["createVNode"])("button",{onClick:t[1]||(t[1]=function(t){return e.$router.push("/profile/edit/preferences")})},Object(a["toDisplayString"])(e.$t("user.PROFILE.EDIT_PREFERENCES")),1),Object(a["createVNode"])("button",{onClick:t[2]||(t[2]=function(t){return e.$router.push("/")})},Object(a["toDisplayString"])(e.$t("common.HOME")),1)])])})),cn=Object(a["defineComponent"])({name:"UserPreferences",props:{user:{type:Object,required:!0}},setup:function(e){var t=Object(a["computed"])((function(){return e.user.language?H[e.user.language]:H["en"]})),n=Object(a["computed"])((function(){return e.user.weekm?"MONDAY":"SUNDAY"})),r=Object(a["computed"])((function(){return e.user.timezone?e.user.timezone:"Europe/Paris"}));return{fistDayOfWeek:n,language:t,timezone:r}}});n("cbea");cn.render=an,cn.__scopeId="data-v-39667dbe";var sn=cn,un={id:"user-profile-edition",class:"center-card"};function ln(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("UserProfileTabs"),s=Object(a["resolveComponent"])("router-view"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",un,[Object(a["createVNode"])(u,null,{title:Object(a["withCtx"])((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.".concat(e.tab,"_EDITION"))),1)]})),content:Object(a["withCtx"])((function(){return[Object(a["createVNode"])(i,{tabs:e.tabs,selectedTab:e.tab,edition:!0,disabled:e.loading},null,8,["tabs","selectedTab","disabled"]),Object(a["createVNode"])(s,{user:e.user},null,8,["user"])]})),_:1})])}var dn=Object(a["defineComponent"])({name:"ProfileEdition",components:{UserProfileTabs:Qt},props:{user:{type:Object,required:!0},tab:{type:String,required:!0}},setup:function(){var e=Object(B["a"])();return{loading:Object(a["computed"])((function(){return e.getters[w["e"].GETTERS.USER_LOADING]})),tabs:["PROFILE","PICTURE","PREFERENCES"]}}});dn.render=ln;var On=dn,pn={id:"user-infos-edition"},mn={class:"profile-form form-box"},bn={class:"form-items",for:"email"},En={class:"form-items",for:"registrationDate"},Tn={class:"form-items",for:"password"},Sn={class:"form-items",for:"passwordConfirmation"},fn=Object(a["createVNode"])("hr",null,null,-1),_n={class:"form-items",for:"first_name"},jn={class:"form-items",for:"last_name"},An={class:"form-items",for:"birth_date"},Nn={class:"form-items",for:"location"},Rn={class:"form-items"},In={class:"form-buttons"},gn={class:"confirm",type:"submit"};function Un(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("Modal"),s=Object(a["resolveComponent"])("ErrorMessage"),u=Object(a["resolveComponent"])("CustomTextArea");return Object(a["openBlock"])(),Object(a["createBlock"])("div",pn,[e.displayModal?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,title:e.$t("common.CONFIRMATION"),message:e.$t("user.CONFIRM_ACCOUNT_DELETION"),onConfirmAction:t[1]||(t[1]=function(t){return e.deleteAccount(e.user.username)}),onCancelAction:t[2]||(t[2]=function(t){return e.updateDisplayModal(!1)})},null,8,["title","message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("div",mn,[e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("form",{onSubmit:t[11]||(t[11]=Object(a["withModifiers"])((function(){return e.updateProfile&&e.updateProfile.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("label",bn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.EMAIL"))+" ",1),Object(a["createVNode"])("input",{id:"email",value:e.user.email,disabled:""},null,8,["value"])]),Object(a["createVNode"])("label",En,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE"))+" ",1),Object(a["createVNode"])("input",{id:"registrationDate",value:e.registrationDate,disabled:""},null,8,["value"])]),Object(a["createVNode"])("label",Tn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PASSWORD"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"password",type:"password","onUpdate:modelValue":t[3]||(t[3]=function(t){return e.userForm.password=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.password]])]),Object(a["createVNode"])("label",Sn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PASSWORD_CONFIRMATION"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"passwordConfirmation",type:"password","onUpdate:modelValue":t[4]||(t[4]=function(t){return e.userForm.password_conf=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.password_conf]])]),fn,Object(a["createVNode"])("label",_n,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.FIRST_NAME"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"first_name","onUpdate:modelValue":t[5]||(t[5]=function(t){return e.userForm.first_name=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.first_name]])]),Object(a["createVNode"])("label",jn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.LAST_NAME"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"last_name","onUpdate:modelValue":t[6]||(t[6]=function(t){return e.userForm.last_name=t})},null,512),[[a["vModelText"],e.userForm.last_name]])]),Object(a["createVNode"])("label",An,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.BIRTH_DATE"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"birth_date",type:"date",class:"birth-date","onUpdate:modelValue":t[7]||(t[7]=function(t){return e.userForm.birth_date=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.birth_date]])]),Object(a["createVNode"])("label",Nn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.LOCATION"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"location","onUpdate:modelValue":t[8]||(t[8]=function(t){return e.userForm.location=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.location]])]),Object(a["createVNode"])("label",Rn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.BIO"))+" ",1),Object(a["createVNode"])(u,{name:"bio",charLimit:200,input:e.userForm.bio,disabled:e.loading,onUpdateValue:e.updateBio},null,8,["input","disabled","onUpdateValue"])]),Object(a["createVNode"])("div",In,[Object(a["createVNode"])("button",gn,Object(a["toDisplayString"])(e.$t("buttons.SUBMIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[9]||(t[9]=Object(a["withModifiers"])((function(t){return e.$router.push("/profile")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.CANCEL")),1),Object(a["createVNode"])("button",{class:"danger",onClick:t[10]||(t[10]=Object(a["withModifiers"])((function(t){return e.updateDisplayModal(!0)}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.DELETE_MY_ACCOUNT")),1)])],32)])])}var vn=n("b166"),Dn=Object(a["defineComponent"])({name:"UserInfosEdition",props:{user:{type:Object,required:!0}},setup:function(e){var t=Object(B["a"])(),n=Object(a["reactive"])({password:"",password_conf:"",first_name:"",last_name:"",birth_date:"",location:"",bio:""}),r=Object(a["computed"])((function(){return e.user.created_at?Object(vn["a"])(new Date(e.user.created_at),"dd/MM/yyyy HH:mm"):""})),o=Object(a["computed"])((function(){return t.getters[w["e"].GETTERS.USER_LOADING]})),c=Object(a["computed"])((function(){return t.getters[w["a"].GETTERS.ERROR_MESSAGES]})),i=Object(a["ref"])(!1);function s(e){n.first_name=e.first_name?e.first_name:"",n.last_name=e.last_name?e.last_name:"",n.birth_date=e.birth_date?Object(vn["a"])(new Date(e.birth_date),"yyyy-MM-dd"):"",n.location=e.location?e.location:"",n.bio=e.bio?e.bio:""}function u(e){n.bio=e}function l(){t.dispatch(w["e"].ACTIONS.UPDATE_USER_PROFILE,n)}function d(e){i.value=e}function O(e){t.dispatch(w["e"].ACTIONS.DELETE_ACCOUNT,{username:e})}return Object(a["onMounted"])((function(){e.user&&s(e.user)})),{displayModal:i,errorMessages:c,loading:o,registrationDate:r,userForm:n,deleteAccount:O,updateBio:u,updateDisplayModal:d,updateProfile:l}}});n("0679");Dn.render=Un;var Pn=Dn,hn=Object(a["withScopeId"])("data-v-500d4a7a");Object(a["pushScopeId"])("data-v-500d4a7a");var Cn={id:"user-picture-edition"},kn={class:"user-picture-form"},Mn={class:"picture-buttons"};Object(a["popScopeId"])();var Ln=hn((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("ErrorMessage"),s=Object(a["resolveComponent"])("UserPicture");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Cn,[Object(a["createVNode"])("div",kn,[e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])(s,{user:e.user},null,8,["user"]),Object(a["createVNode"])("form",{onSubmit:t[4]||(t[4]=Object(a["withModifiers"])((function(){return e.updateUserPicture&&e.updateUserPicture.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("input",{type:"file",name:"picture",accept:".png,.jpg,.gif",onInput:t[1]||(t[1]=function(){return e.updatePictureFile&&e.updatePictureFile.apply(e,arguments)})},null,32),Object(a["createVNode"])("div",Mn,[Object(a["createVNode"])("button",{type:"submit",disabled:!e.pictureFile},Object(a["toDisplayString"])(e.$t("user.PROFILE.PICTURE_UPDATE")),9,["disabled"]),e.user.picture?(Object(a["openBlock"])(),Object(a["createBlock"])("button",{key:0,class:"danger",onClick:t[2]||(t[2]=function(){return e.deleteUserPicture&&e.deleteUserPicture.apply(e,arguments)})},Object(a["toDisplayString"])(e.$t("user.PROFILE.PICTURE_REMOVE")),1)):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("button",{class:"cancel",onClick:t[3]||(t[3]=function(t){return e.$router.push("/profile")})},Object(a["toDisplayString"])(e.$t("user.PROFILE.BACK_TO_PROFILE")),1)]),Object(a["createVNode"])("span",null,Object(a["toDisplayString"])(e.$t("workouts.MAX_SIZE"))+": "+Object(a["toDisplayString"])(e.fileSizeLimit),1)],32)])])})),zn=Object(a["defineComponent"])({name:"UserPictureEdition",components:{UserPicture:V["a"]},props:{user:{type:Object,required:!0}},setup:function(){var e=Object(B["a"])(),t=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.ERROR_MESSAGES]})),n=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.APP_CONFIG]})),r=n.value.max_single_file_size?Object(je["b"])(n.value.max_single_file_size):"",o=Object(a["ref"])(null);function c(){e.dispatch(w["e"].ACTIONS.DELETE_PICTURE)}function i(e){e.target.files&&(o.value=e.target.files[0])}function s(){o.value&&e.dispatch(w["e"].ACTIONS.UPDATE_USER_PICTURE,{picture:o.value})}return{errorMessages:t,fileSizeLimit:r,pictureFile:o,deleteUserPicture:c,updateUserPicture:s,updatePictureFile:i}}});n("b9fd");zn.render=Ln,zn.__scopeId="data-v-500d4a7a";var yn=zn,Vn={id:"user-preferences-edition"},wn={class:"profile-form form-box"},Bn={class:"form-items"},Gn={class:"form-items",for:"timezone"},xn={class:"form-items"},Fn={class:"form-buttons"},Wn={class:"confirm",type:"submit"};function Kn(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("ErrorMessage");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Vn,[Object(a["createVNode"])("div",wn,[e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("form",{onSubmit:t[5]||(t[5]=Object(a["withModifiers"])((function(){return e.updateProfile&&e.updateProfile.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("label",Bn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.LANGUAGE"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("select",{id:"language","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.userForm.language=t}),disabled:e.loading},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.availableLanguages,(function(e){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:e.value,key:e.value},Object(a["toDisplayString"])(e.label),9,["value"])})),128))],8,["disabled"]),[[a["vModelSelect"],e.userForm.language]])]),Object(a["createVNode"])("label",Gn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.TIMEZONE"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"timezone","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.userForm.timezone=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.timezone]])]),Object(a["createVNode"])("label",xn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.FIRST_DAY_OF_WEEK"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("select",{id:"weekm","onUpdate:modelValue":t[3]||(t[3]=function(t){return e.userForm.weekm=t}),disabled:e.loading},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.weekStart,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:t.value,key:t.value},Object(a["toDisplayString"])(e.$t("user.PROFILE.".concat(t.label))),9,["value"])})),128))],8,["disabled"]),[[a["vModelSelect"],e.userForm.weekm]])]),Object(a["createVNode"])("div",Fn,[Object(a["createVNode"])("button",Wn,Object(a["toDisplayString"])(e.$t("buttons.SUBMIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[4]||(t[4]=Object(a["withModifiers"])((function(t){return e.$router.push("/profile/preferences")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.CANCEL")),1)])],32)])])}var $n=Object(a["defineComponent"])({name:"UserPreferencesEdition",props:{user:{type:Object,required:!0}},setup:function(e){var t=Object(B["a"])(),n=Object(a["reactive"])({language:"",timezone:"Europe/Paris",weekm:!1}),r=[{label:"MONDAY",value:!0},{label:"SUNDAY",value:!1}],o=Object(a["computed"])((function(){return t.getters[w["e"].GETTERS.USER_LOADING]})),c=Object(a["computed"])((function(){return t.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function i(e){n.language=e.language?e.language:"en",n.timezone=e.timezone?e.timezone:"Europe/Paris",n.weekm=!!e.weekm&&e.weekm}function s(){t.dispatch(w["e"].ACTIONS.UPDATE_USER_PREFERENCES,n)}return Object(a["onMounted"])((function(){e.user&&i(e.user)})),{availableLanguages:q,errorMessages:c,loading:o,userForm:n,weekStart:r,updateProfile:s}}});$n.render=Kn;var Hn=$n,Yn=n("5502"),qn=n("ade3"),Xn=n("bc3a"),Zn=n.n(Xn),Qn=Zn.a.create({baseURL:Object(G["a"])()});Qn.interceptors.request.use((function(e){var t=no.getters[w["e"].GETTERS.AUTH_TOKEN];if(t){var n="Bearer ".concat(t);e.headers.Authorization!==n&&(e.headers.Authorization="Bearer ".concat(t))}return e}),(function(e){return Promise.reject(e)}));var Jn,er,tr,nr,rr,or,ar,cr,ir,sr,ur,lr,dr,Or,pr=Qn,mr=(Jn={},Object(qn["a"])(Jn,w["a"].ACTIONS.GET_APPLICATION_CONFIG,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_LOADING,!0),pr.get("config").then((function(t){"success"===t.data.status?e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_CONFIG,t.data.data):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_LOADING,!1)}))})),Object(qn["a"])(Jn,w["a"].ACTIONS.GET_APPLICATION_STATS,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("stats/all").then((function(t){"success"===t.data.status?e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_STATS,t.data.data):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(Jn,w["a"].ACTIONS.UPDATE_APPLICATION_CONFIG,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.patch("config",t).then((function(t){"success"===t.data.status?(e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_CONFIG,t.data.data),io.push("/admin/application")):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Jn),br=(er={},Object(qn["a"])(er,w["a"].GETTERS.APP_CONFIG,(function(e){return e.application.config})),Object(qn["a"])(er,w["a"].GETTERS.APP_LOADING,(function(e){return e.appLoading})),Object(qn["a"])(er,w["a"].GETTERS.APP_STATS,(function(e){return e.application.statistics})),Object(qn["a"])(er,w["a"].GETTERS.ERROR_MESSAGES,(function(e){return e.errorMessages})),Object(qn["a"])(er,w["a"].GETTERS.LANGUAGE,(function(e){return e.language})),Object(qn["a"])(er,w["a"].GETTERS.LOCALE,(function(e){return e.locale})),er),Er=(tr={},Object(qn["a"])(tr,w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES,(function(e){e.errorMessages=null})),Object(qn["a"])(tr,w["a"].MUTATIONS.SET_ERROR_MESSAGES,(function(e,t){e.errorMessages=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_APPLICATION_CONFIG,(function(e,t){e.application.config=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_APPLICATION_LOADING,(function(e,t){e.appLoading=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_APPLICATION_STATS,(function(e,t){e.application.statistics=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_LANG,(function(e,t){e.language=t,e.locale=$[t]})),tr),Tr={root:!0,language:"en",locale:x["a"],errorMessages:null,application:{},appLoading:!1},Sr=(nr={},Object(qn["a"])(nr,w["b"].ACTIONS.GET_SPORTS,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("sports").then((function(t){"success"===t.data.status?e.commit(w["b"].MUTATIONS.SET_SPORTS,t.data.data.sports):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(nr,w["b"].ACTIONS.UPDATE_SPORTS,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.patch("sports/".concat(t.id),{is_active:t.isActive}).then((function(t){"success"===t.data.status?e.dispatch(w["b"].ACTIONS.GET_SPORTS):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),nr),fr=Object(qn["a"])({},w["b"].GETTERS.SPORTS,(function(e){return e.sports})),_r=Object(qn["a"])({},w["b"].MUTATIONS.SET_SPORTS,(function(e,t){e.sports=t})),jr={sports:[]},Ar={state:jr,actions:Sr,getters:fr,mutations:_r},Nr=Ar,Rr=Object(qn["a"])({},w["c"].ACTIONS.GET_USER_STATS,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("stats/".concat(t.username,"/").concat(t.filterType),{params:t.params}).then((function(t){"success"===t.data.status?e.commit(w["c"].MUTATIONS.UPDATE_USER_STATS,t.data.data.statistics):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Ir=Object(qn["a"])({},w["c"].GETTERS.USER_STATS,(function(e){return e.statistics})),gr=(rr={},Object(qn["a"])(rr,w["c"].MUTATIONS.UPDATE_USER_STATS,(function(e,t){e.statistics=t})),Object(qn["a"])(rr,w["c"].MUTATIONS.EMPTY_USER_STATS,(function(e){e.statistics={}})),rr),Ur={statistics:{}},vr={state:Ur,actions:Rr,getters:Ir,mutations:gr},Dr=vr,Pr=Zn.a.create({baseURL:Object(G["a"])()}),hr=Pr,Cr=K.global.locale,kr=(or={},Object(qn["a"])(or,w["e"].ACTIONS.CHECK_AUTH_USER,(function(e){window.localStorage.authToken&&!e.getters[w["e"].GETTERS.IS_AUTHENTICATED]&&(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_TOKEN,window.localStorage.authToken),e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE))})),Object(qn["a"])(or,w["e"].ACTIONS.GET_USER_PROFILE,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("auth/profile").then((function(t){"success"===t.data.status?(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,t.data.data),t.data.data.language&&(e.commit(w["a"].MUTATIONS.UPDATE_LANG,t.data.data.language),Cr.value=t.data.data.language),e.dispatch(w["b"].ACTIONS.GET_SPORTS)):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.LOGIN_OR_REGISTER,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),hr.post("/auth/".concat(t.actionType),t.formData).then((function(t){if("success"===t.data.status){var n=t.data.auth_token;window.localStorage.setItem("authToken",n),e.commit(w["e"].MUTATIONS.UPDATE_AUTH_TOKEN,n),e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE).then((function(){return io.push("/")}))}else Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.LOGOUT,(function(e){localStorage.removeItem("authToken"),e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["c"].MUTATIONS.EMPTY_USER_STATS),e.commit(w["e"].MUTATIONS.CLEAR_AUTH_USER_TOKEN),e.commit(w["f"].MUTATIONS.EMPTY_WORKOUTS),io.push("/login")})),Object(qn["a"])(or,w["e"].ACTIONS.UPDATE_USER_PROFILE,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),pr.post("auth/profile/edit",t).then((function(t){"success"===t.data.status?(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,t.data.data),io.push("/profile")):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.UPDATE_USER_PREFERENCES,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),pr.post("auth/profile/edit/preferences",t).then((function(t){"success"===t.data.status?(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,t.data.data),e.commit(w["a"].MUTATIONS.UPDATE_LANG,t.data.data.language),Cr.value=t.data.data.language,io.push("/profile/preferences")):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.UPDATE_USER_PICTURE,(function(e,t){if(e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),!t.picture)throw new Error("No file part");var n=new FormData;n.append("file",t.picture),pr.post("auth/picture",n,{headers:{"content-type":"multipart/form-data"}}).then((function(t){"success"===t.data.status?e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE).then((function(){return io.push("/profile")})):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.DELETE_ACCOUNT,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.delete("users/".concat(t.username)).then((function(t){204===t.status?e.dispatch(w["e"].ACTIONS.LOGOUT).then((function(){return io.push("/")})):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.DELETE_PICTURE,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),pr.delete("auth/picture").then((function(t){204===t.status?e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE).then((function(){return io.push("/profile")})):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.SEND_PASSWORD_RESET_REQUEST,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),hr.post("auth/password/reset-request",t).then((function(t){"success"===t.data.status?io.push("/password-reset/sent"):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.RESET_USER_PASSWORD,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),hr.post("auth/password/update",t).then((function(t){"success"===t.data.status?io.push("/password-reset/password-updated"):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),or),Mr=(ar={},Object(qn["a"])(ar,w["e"].GETTERS.AUTH_TOKEN,(function(e){return e.authToken})),Object(qn["a"])(ar,w["e"].GETTERS.AUTH_USER_PROFILE,(function(e){return e.authUserProfile})),Object(qn["a"])(ar,w["e"].GETTERS.IS_AUTHENTICATED,(function(e){return null!==e.authToken})),Object(qn["a"])(ar,w["e"].GETTERS.IS_ADMIN,(function(e){return e.authUserProfile&&e.authUserProfile.admin})),Object(qn["a"])(ar,w["e"].GETTERS.USER_LOADING,(function(e){return e.loading})),ar),Lr=(cr={},Object(qn["a"])(cr,w["e"].MUTATIONS.CLEAR_AUTH_USER_TOKEN,(function(e){e.authToken=null,e.authUserProfile={}})),Object(qn["a"])(cr,w["e"].MUTATIONS.UPDATE_AUTH_TOKEN,(function(e,t){e.authToken=t})),Object(qn["a"])(cr,w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,(function(e,t){e.authUserProfile=t})),Object(qn["a"])(cr,w["e"].MUTATIONS.UPDATE_USER_LOADING,(function(e,t){e.loading=t})),cr),zr={authToken:null,authUserProfile:{},loading:!1},yr={state:zr,actions:kr,getters:Mr,mutations:Lr},Vr=yr,wr=(ir={},Object(qn["a"])(ir,w["d"].ACTIONS.EMPTY_USER,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USER,{})})),Object(qn["a"])(ir,w["d"].ACTIONS.EMPTY_USERS,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USERS,[]),e.commit(w["d"].MUTATIONS.UPDATE_USERS_PAGINATION,{})})),Object(qn["a"])(ir,w["d"].ACTIONS.GET_USER,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!0),pr.get("users/".concat(t)).then((function(t){"success"===t.data.status?e.commit(w["d"].MUTATIONS.UPDATE_USER,t.data.data.users[0]):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!1)}))})),Object(qn["a"])(ir,w["d"].ACTIONS.GET_USERS,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!0),pr.get("users",{params:t}).then((function(t){"success"===t.data.status?(e.commit(w["d"].MUTATIONS.UPDATE_USERS,t.data.data.users),e.commit(w["d"].MUTATIONS.UPDATE_USERS_PAGINATION,t.data.pagination)):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!1)}))})),Object(qn["a"])(ir,w["d"].ACTIONS.UPDATE_USER,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.patch("users/".concat(t.username),{admin:t.admin}).then((function(t){"success"===t.data.status?e.commit(w["d"].MUTATIONS.UPDATE_USER_IN_USERS,t.data.data.users[0]):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!1)}))})),ir),Br=(sr={},Object(qn["a"])(sr,w["d"].GETTERS.USER,(function(e){return e.user})),Object(qn["a"])(sr,w["d"].GETTERS.USERS,(function(e){return e.users})),Object(qn["a"])(sr,w["d"].GETTERS.USERS_LOADING,(function(e){return e.loading})),Object(qn["a"])(sr,w["d"].GETTERS.USERS_PAGINATION,(function(e){return e.pagination})),sr),Gr=(ur={},Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USER,(function(e,t){e.user=t})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USER_IN_USERS,(function(e,t){e.users=e.users.map((function(e){return e.username===t.username?t:e}))})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USERS,(function(e,t){e.users=t})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USERS_LOADING,(function(e,t){e.loading=t})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USERS_PAGINATION,(function(e,t){e.pagination=t})),ur),xr={user:{},users:[],loading:!1,pagination:{}},Fr={state:xr,actions:wr,getters:Br,mutations:Gr},Wr=Fr,Kr=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("workouts",{params:t}).then((function(t){"success"===t.data.status?e.commit("CALENDAR_WORKOUTS"===n?w["f"].MUTATIONS.SET_CALENDAR_WORKOUTS:r?w["f"].MUTATIONS.ADD_USER_WORKOUTS:w["f"].MUTATIONS.SET_USER_WORKOUTS,t.data.data.workouts):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))},$r=(lr={},Object(qn["a"])(lr,w["f"].ACTIONS.GET_CALENDAR_WORKOUTS,(function(e,t){e.commit(w["f"].MUTATIONS.EMPTY_CALENDAR_WORKOUTS),Kr(e,t,"CALENDAR_WORKOUTS")})),Object(qn["a"])(lr,w["f"].ACTIONS.GET_USER_WORKOUTS,(function(e,t){Kr(e,t,"USER_WORKOUTS")})),Object(qn["a"])(lr,w["f"].ACTIONS.GET_MORE_USER_WORKOUTS,(function(e,t){Kr(e,t,"USER_WORKOUTS",!0)})),Object(qn["a"])(lr,w["f"].ACTIONS.GET_WORKOUT_DATA,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0);var n=t.segmentId?"/segment/".concat(t.segmentId):"";pr.get("workouts/".concat(t.workoutId)).then((function(r){var o=r.data.data.workouts[0];if("success"===r.data.status){if(t.segmentId&&(0===o.segments.length||!o.segments[+t.segmentId-1]))throw new Error("WORKOUT_NOT_FOUND");e.commit(w["f"].MUTATIONS.SET_WORKOUT,r.data.data.workouts[0]),r.data.data.workouts[0].with_gpx&&(pr.get("workouts/".concat(t.workoutId,"/chart_data").concat(n)).then((function(t){"success"===t.data.status&&e.commit(w["f"].MUTATIONS.SET_WORKOUT_CHART_DATA,t.data.data.chart_data)})),pr.get("workouts/".concat(t.workoutId,"/gpx").concat(n)).then((function(t){"success"===t.data.status&&e.commit(w["f"].MUTATIONS.SET_WORKOUT_GPX,t.data.data.gpx)})))}else e.commit(w["f"].MUTATIONS.EMPTY_WORKOUT),Object(G["b"])(e,null)})).catch((function(t){e.commit(w["f"].MUTATIONS.EMPTY_WORKOUT),Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.DELETE_WORKOUT,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),pr.delete("workouts/".concat(t.workoutId)).then((function(){e.commit(w["f"].MUTATIONS.EMPTY_WORKOUT),e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE),io.push("/")})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.EDIT_WORKOUT,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),pr.patch("workouts/".concat(t.workoutId),t.data).then((function(){e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE),e.dispatch(w["f"].ACTIONS.GET_WORKOUT_DATA,{workoutId:t.workoutId}).then((function(){io.push({name:"Workout",params:{workoutId:t.workoutId}})}))})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.ADD_WORKOUT,(function(e,t){if(e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),!t.file)throw new Error("No file part");var n=new FormData;n.append("file",t.file),n.append("data",'{"sport_id": '.concat(t.sport_id,', "notes": "').concat(t.notes,'"}')),pr.post("workouts",n,{headers:{"content-type":"multipart/form-data"}}).then((function(t){if("created"===t.data.status){e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE);var n=t.data.data.workouts[0];io.push(1===t.data.data.workouts.length?"/workouts/".concat(n.id):"/")}})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.ADD_WORKOUT_WITHOUT_GPX,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),pr.post("workouts/no_gpx",t).then((function(t){if("created"===t.data.status){e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE);var n=t.data.data.workouts[0];io.push("/workouts/".concat(n.id))}})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),lr),Hr=(dr={},Object(qn["a"])(dr,w["f"].GETTERS.CALENDAR_WORKOUTS,(function(e){return e.calendar_workouts})),Object(qn["a"])(dr,w["f"].GETTERS.USER_WORKOUTS,(function(e){return e.user_workouts})),Object(qn["a"])(dr,w["f"].GETTERS.WORKOUT_DATA,(function(e){return e.workoutData})),dr),Yr=(Or={},Object(qn["a"])(Or,w["f"].MUTATIONS.ADD_USER_WORKOUTS,(function(e,t){e.user_workouts=e.user_workouts.concat(t)})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_CALENDAR_WORKOUTS,(function(e,t){e.calendar_workouts=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_USER_WORKOUTS,(function(e,t){e.user_workouts=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT,(function(e,t){e.workoutData.workout=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT_CHART_DATA,(function(e,t){e.workoutData.chartData=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT_GPX,(function(e,t){e.workoutData.gpx=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT_LOADING,(function(e,t){e.workoutData.loading=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.EMPTY_CALENDAR_WORKOUTS,(function(e){e.calendar_workouts=[]})),Object(qn["a"])(Or,w["f"].MUTATIONS.EMPTY_WORKOUTS,(function(e){e.calendar_workouts=[],e.user_workouts=[]})),Object(qn["a"])(Or,w["f"].MUTATIONS.EMPTY_WORKOUT,(function(e){e.workoutData={gpx:"",loading:!1,workout:{},chartData:[]}})),Or),qr={calendar_workouts:[],user_workouts:[],workoutData:{gpx:"",loading:!1,workout:{},chartData:[]}},Xr={state:qr,actions:$r,getters:Hr,mutations:Yr},Zr=Xr,Qr={sportsModule:Nr,statsModule:Dr,userModule:Vr,usersModule:Wr,workoutsModule:Zr},Jr={state:Tr,actions:mr,getters:br,mutations:Er,modules:Qr},eo=Jr,to=Object(Yn["a"])(eo),no=to,ro=function(e){var t=/(\/profile)(\/edit)*(\/*)/,n=e.replace(t,"").toUpperCase();return""===n?"PROFILE":n.toUpperCase()},oo=[{path:"/",name:"Dashboard",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"7e48"))}},{path:"/login",name:"Login",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"c9e2"))},props:{action:"login"}},{path:"/register",name:"Register",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"c9e2"))},props:{action:"register"}},{path:"/password-reset/sent",name:"PasswordEmailSent",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"request-sent"}},{path:"/password-reset/request",name:"PasswordResetRequest",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"reset-request"}},{path:"/password-reset/password-updated",name:"PasswordUpdated",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"password-updated"}},{path:"/password-reset",name:"PasswordReset",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"reset"}},{path:"/profile",name:"Profile",component:function(){return n.e("profile").then(n.bind(null,"9126"))},children:[{path:"",name:"UserProfile",component:en,props:function(e){return{tab:ro(e.path)}},children:[{path:"",name:"UserInfos",component:tn["a"]},{path:"preferences",name:"UserPreferences",component:sn}]},{path:"edit",name:"UserProfileEdition",component:On,props:function(e){return{tab:ro(e.path)}},children:[{path:"",name:"UserInfosEdition",component:Pn},{path:"picture",name:"UserPictureEdition",component:yn},{path:"preferences",name:"UserPreferencesEdition",component:Hn}]}]},{path:"/statistics",name:"Statistics",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"ccb2"))}},{path:"/users/:username",name:"User",component:function(){return n.e("profile").then(n.bind(null,"32f5"))}},{path:"/workouts",name:"Workouts",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"0385"))}},{path:"/workouts/:workoutId",name:"Workout",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"304a"))},props:{displaySegment:!1}},{path:"/workouts/:workoutId/edit",name:"EditWorkout",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"8ee9"))}},{path:"/workouts/:workoutId/segment/:segmentId",name:"WorkoutSegment",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"304a"))},props:{displaySegment:!0}},{path:"/workouts/add",name:"AddWorkout",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"692d"))}},{path:"/admin",name:"Administration",component:function(){return n.e("admin").then(n.bind(null,"89b3"))},children:[{path:"",name:"AdministrationMenu",component:xe},{path:"application",name:"ApplicationAdministration",component:Ne},{path:"application/edit",name:"ApplicationAdministrationEdition",component:Ne,props:{edition:!0}},{path:"sports",name:"SportsAdministration",component:dt},{path:"users",name:"UsersAdministration",component:xt}]},{path:"/:pathMatch(.*)*",name:"not-found",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"e19f"))}}],ao=Object(ie["a"])({history:Object(ie["b"])("/"),routes:oo}),co=["/login","/password-reset","/password-reset/password-updated","/password-reset/request","/password-reset/sent","/register"];ao.beforeEach((function(e,t,n){no.dispatch(w["e"].ACTIONS.CHECK_AUTH_USER).then((function(){if(no.getters[w["e"].GETTERS.IS_AUTHENTICATED]&&co.includes(e.path))return n("/");if(no.getters[w["e"].GETTERS.IS_AUTHENTICATED]||co.includes(e.path))n();else{var t="/"===e.path?{path:"/login"}:{path:"/login",query:{from:e.fullPath}};n(t)}})).catch((function(e){console.error(e),n()}))}));var io=ao,so=Object(a["withScopeId"])("data-v-f5e8066a");Object(a["pushScopeId"])("data-v-f5e8066a");var uo={class:"alert-message"};Object(a["popScopeId"])();var lo=so((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",uo,[Object(a["createVNode"])("div",{innerHTML:e.$t(e.message)},null,8,["innerHTML"])])})),Oo=Object(a["defineComponent"])({name:"AlertMessage",props:{message:String}});n("f5dfd");Oo.render=lo,Oo.__scopeId="data-v-f5e8066a";var po=Oo,mo=Object(a["withScopeId"])("data-v-ad3739fc");Object(a["pushScopeId"])("data-v-ad3739fc");var bo={class:"custom-textarea"},Eo={class:"remaining-chars"};Object(a["popScopeId"])();var To=mo((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",bo,[Object(a["withDirectives"])(Object(a["createVNode"])("textarea",{id:e.name,name:e.name,maxLenght:e.charLimit,disabled:e.disabled,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.text=t}),onInput:t[2]||(t[2]=function(){return e.updateText&&e.updateText.apply(e,arguments)})},null,40,["id","name","maxLenght","disabled"]),[[a["vModelText"],e.text]]),Object(a["createVNode"])("div",Eo,Object(a["toDisplayString"])(e.$t("workouts.REMAINING_CHARS"))+": "+Object(a["toDisplayString"])(e.text.length)+"/"+Object(a["toDisplayString"])(e.charLimit),1)])})),So=(n("a9e3"),Object(a["defineComponent"])({name:"CustomTextArea",props:{charLimit:{type:Number,default:500},disabled:{type:Boolean,default:!1},input:{type:String,default:""},name:{type:String,required:!0}},emits:["updateValue"],setup:function(e,t){var n=t.emit,r=Object(a["ref"])("");function o(e){n("updateValue",e.target.value)}return Object(a["watch"])((function(){return e.input}),(function(e){r.value=e})),{text:r,updateText:o}}}));n("aa0a");So.render=To,So.__scopeId="data-v-ad3739fc";var fo=So,_o=Object(a["withScopeId"])("data-v-5ef2ddef");Object(a["pushScopeId"])("data-v-5ef2ddef");var jo={class:"dropdown-wrapper"},Ao={key:0,class:"dropdown-list"};Object(a["popScopeId"])();var No=_o((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",jo,[Object(a["createVNode"])("div",{class:"dropdown-selected",onClick:t[1]||(t[1]=function(){return e.toggleDropdown&&e.toggleDropdown.apply(e,arguments)})},[Object(a["renderSlot"])(e.$slots,"default",{},void 0,!0)]),e.isOpen?(Object(a["openBlock"])(),Object(a["createBlock"])("ul",Ao,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.dropdownOptions,(function(t,n){return Object(a["openBlock"])(),Object(a["createBlock"])("li",{class:["dropdown-item",{selected:t.value===e.selected}],key:n,onClick:function(n){return e.updateSelected(t)}},Object(a["toDisplayString"])(t.label),11,["onClick"])})),128))])):Object(a["createCommentVNode"])("",!0)])})),Ro=Object(a["defineComponent"])({name:"Dropdown",props:{options:{type:Object,required:!0},selected:{type:String,required:!0}},emits:{selected:function(e){return e}},setup:function(e,t){var n=t.emit,r=Object(ie["c"])(),o=Object(a["ref"])(!1),c=e.options.map((function(e){return e}));function i(){o.value=!o.value}function s(e){n("selected",e),o.value=!1}return Object(a["watch"])((function(){return r.path}),(function(){return o.value=!1})),{dropdownOptions:c,isOpen:o,toggleDropdown:i,updateSelected:s}}});n("95ba");Ro.render=No,Ro.__scopeId="data-v-5ef2ddef";var Io=Ro,go=Object(a["withScopeId"])("data-v-5c177a93");Object(a["pushScopeId"])("data-v-5c177a93");var Uo={class:"error-message"},vo={key:0},Do={key:1};Object(a["popScopeId"])();var Po=go((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",Uo,[Array.isArray(e.message)?(Object(a["openBlock"])(),Object(a["createBlock"])("ul",vo,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.message,(function(t,n){return Object(a["openBlock"])(),Object(a["createBlock"])("li",{key:n},Object(a["toDisplayString"])(e.$t(t)),1)})),128))])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",Do,Object(a["toDisplayString"])(e.$t(e.message)),1))])})),ho=Object(a["defineComponent"])({name:"ErrorMessage",props:{message:[String,Array]}});n("4b55");ho.render=Po,ho.__scopeId="data-v-5c177a93";var Co=ho;function ko(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("CyclingSport"),s=Object(a["resolveComponent"])("CyclingTransport"),u=Object(a["resolveComponent"])("Hiking"),l=Object(a["resolveComponent"])("MountainBiking"),d=Object(a["resolveComponent"])("Running"),O=Object(a["resolveComponent"])("Walking");return Object(a["openBlock"])(),Object(a["createBlock"])("div",{class:"sport-img",style:{fill:e.sportColors[e.sportLabel]},title:e.title?e.title:e.$t("sports.".concat(e.sportLabel,".LABEL"))},["Cycling (Sport)"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0})):Object(a["createCommentVNode"])("",!0),"Cycling (Transport)"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:1})):Object(a["createCommentVNode"])("",!0),"Hiking"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:2})):Object(a["createCommentVNode"])("",!0),"Mountain Biking"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(l,{key:3})):Object(a["createCommentVNode"])("",!0),"Running"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(d,{key:4})):Object(a["createCommentVNode"])("",!0),"Walking"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(O,{key:5})):Object(a["createCommentVNode"])("",!0)],12,["title"])}var Mo={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 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve"},Lo=Object(a["createVNode"])("desc",{id:"cyclingSportDescription"}," silhouette of a person riding a bicycle ",-1),zo=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M321.097,112.359c20.973,12.338,47.985,5.315,60.293-15.652c12.34-20.973,5.35-47.974-15.623-60.304\n\t\tc-21.009-12.332-47.99-5.317-60.314,15.65C293.129,73.036,300.103,100.027,321.097,112.359z"}),Object(a["createVNode"])("path",{d:"M393.081,264.102c-2.414,0-4.8,0.194-7.169,0.362l-14.431-71.605l4.702-1.757c10.666-3.987,16.093-15.868,12.098-26.54\n\t\tc-3.994-10.681-15.946-16.084-26.531-12.09l-51.823,19.38l-2.321-18.864c6.3-13.193,5.541-29.78-4.767-41.482\n\t\tc-21.224-24.092-47.12-12.508-55.191-5.976l-106.884,86.555l0.016,0.024c-3.319,2.893-6.089,6.485-7.86,10.842\n\t\tc-2.191,5.396-2.596,11.067-1.564,16.384c-8.503,0.669-15.255,7.571-15.255,16.246c0,9.085,7.346,16.44,16.432,16.48l-6.797,15.906\n\t\tc-8.62-2.465-17.674-3.866-27.066-3.866C44.27,264.102,0,308.354,0,362.754c0,54.403,44.27,98.663,98.668,98.663\n\t\tc54.403,0,98.652-44.26,98.652-98.663c0-36.228-19.683-67.867-48.858-85.024l10.957-25.652h17.767l60.281,24.462l-32.201,52.773\n\t\tc-8.297,13.612-3.994,31.382,9.615,39.685c4.691,2.86,9.878,4.229,15,4.229c9.729,0,19.234-4.929,24.677-13.838l29.339-48.095\n\t\tl19.072,11.511c-5.447,12.227-8.54,25.726-8.54,39.95c0,54.403,44.254,98.663,98.652,98.663c54.402,0,98.656-44.26,98.656-98.663\n\t\tC491.737,308.354,447.483,264.102,393.081,264.102z M98.668,436.671c-40.756,0-73.923-33.161-73.923-73.917\n\t\tc0-40.756,33.167-73.909,73.923-73.909c5.944,0,11.649,0.896,17.188,2.224l-20.476,47.893\n\t\tc-11.758,1.619-20.843,11.598-20.843,23.792c0,13.323,10.808,24.132,24.13,24.132c8.767,0,16.367-4.745,20.589-11.76h52.065\n\t\tC165.395,409.988,135.188,436.671,98.668,436.671z M171.322,350.383h-52.065c-0.355-0.588-0.708-1.176-1.112-1.732l20.476-47.901\n\t\tC155.679,311.776,167.793,329.595,171.322,350.383z M296.781,290.175l7.666-12.564c4.416-7.233,5.431-16.038,2.774-24.084\n\t\tc-2.661-8.046-8.718-14.515-16.562-17.704l-52.725-21.395l32.443-26.281l1.804,14.691c0.756,6.267,4.366,11.841,9.761,15.12\n\t\tc3.271,1.981,6.979,2.988,10.698,2.988c2.435,0,4.88-0.435,7.218-1.306l48.15-18.001l13.627,67.691\n\t\tc-18.268,6.162-34.117,17.51-45.848,32.314L296.781,290.175z M375.396,337.633l-38.003-22.94\n\t\tc7.877-9.118,17.787-16.319,29.205-20.734L375.396,337.633z M393.081,436.671c-40.757,0-73.907-33.161-73.907-73.917\n\t\tc0-9.544,1.965-18.597,5.268-26.983l44.541,26.888c0,0.032-0.016,0.064-0.016,0.095c0,13.323,10.808,24.132,24.114,24.132\n\t\tc13.322,0,24.118-10.81,24.118-24.132c0-10.478-6.721-19.307-16.06-22.64l-10.277-51.043c0.756-0.024,1.463-0.226,2.22-0.226\n\t\tc40.757,0,73.911,33.153,73.911,73.909C466.992,403.51,433.838,436.671,393.081,436.671z"})],-1);function yo(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",Mo,[Lo,zo])}var Vo={name:"CyclingSport"};Vo.render=yo;var wo=Vo,Bo={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"},Go=Object(a["createVNode"])("desc",{id:"cyclingTransportDescription"}," silhouette of a person riding a bicycle (for transportation) ",-1),xo=Object(a["createVNode"])("g",{id:"g147"},[Object(a["createVNode"])("path",{d:"m 189.097,82.359 c 20.97701,12.331184 47.97442,5.308784 60.293,-15.652 12.32942,-20.979222 5.35418,-47.981117 -15.623,-60.304 -21.00482,-12.3391184 -47.99,-5.317 -60.314,15.65 -12.324,20.983 -5.34599,47.967183 15.644,60.306 z",id:"path143"}),Object(a["createVNode"])("path",{d:"m 393.081,264.102 c -2.414,0 -4.8,0.194 -7.169,0.362 l -14.431,-71.605 4.702,-1.757 c 10.666,-3.987 16.093,-15.868 12.098,-26.54 -3.994,-10.681 -15.946,-16.084 -26.531,-12.09 l -63.05508,-1.53717 C 284.04753,137.09803 248.90259,106.55858 243.33317,101.62481 217.77732,75.090916 186.1698,85.012419 178.0988,91.544419 L 140.764,192.085 l 0.016,0.024 c -3.319,2.893 -6.089,6.485 -7.86,10.842 -2.191,5.396 -2.596,11.067 -1.564,16.384 -8.503,0.669 -15.255,7.571 -15.255,16.246 0,9.085 7.346,16.44 16.432,16.48 l -6.797,15.906 c -8.62,-2.465 -17.674,-3.866 -27.066,-3.866 C 44.27,264.102 0,308.354 0,362.754 c 0,54.403 44.27,98.663 98.668,98.663 54.403,0 98.652,-44.26 98.652,-98.663 0,-36.228 -19.683,-67.867 -48.858,-85.024 l 10.957,-25.652 h 17.767 l 60.281,24.462 -32.201,52.773 c -8.297,13.612 -3.994,31.382 9.615,39.685 4.691,2.86 9.878,4.229 15,4.229 9.729,0 19.234,-4.929 24.677,-13.838 l 29.339,-48.095 19.072,11.511 c -5.447,12.227 -8.54,25.726 -8.54,39.95 0,54.403 44.254,98.663 98.652,98.663 54.402,0 98.656,-44.26 98.656,-98.663 0,-54.401 -44.254,-98.653 -98.656,-98.653 z M 98.668,436.671 c -40.756,0 -73.923,-33.161 -73.923,-73.917 0,-40.756 33.167,-73.909 73.923,-73.909 5.944,0 11.649,0.896 17.188,2.224 L 95.38,338.962 c -11.758,1.619 -20.843,11.598 -20.843,23.792 0,13.323 10.808,24.132 24.13,24.132 8.767,0 16.367,-4.745 20.589,-11.76 h 52.065 c -5.926,34.862 -36.133,61.545 -72.653,61.545 z m 72.654,-86.288 h -52.065 c -0.355,-0.588 -0.708,-1.176 -1.112,-1.732 l 20.476,-47.901 c 17.058,11.026 29.172,28.845 32.701,49.633 z m 125.459,-60.208 7.666,-12.564 c 4.416,-7.233 5.431,-16.038 2.774,-24.084 -2.661,-8.046 -8.718,-14.515 -16.562,-17.704 l -73.83357,-31.7176 16.7558,-45.21274 c 10.36934,4.13303 41.82171,27.90767 45.77423,28.08592 3.271,1.981 8.57725,1.46711 12.29625,1.46711 2.435,0 18.50584,0.70472 20.84384,-0.16628 L 343.32113,188.03378 361.635,269.33 c -18.268,6.162 -34.117,17.51 -45.848,32.314 z m 78.615,47.458 -38.003,-22.94 c 7.877,-9.118 17.787,-16.319 29.205,-20.734 z m 17.685,99.038 c -40.757,0 -73.907,-33.161 -73.907,-73.917 0,-9.544 1.965,-18.597 5.268,-26.983 l 44.541,26.888 c 0,0.032 -0.016,0.064 -0.016,0.095 0,13.323 10.808,24.132 24.114,24.132 13.322,0 24.118,-10.81 24.118,-24.132 0,-10.478 -6.721,-19.307 -16.06,-22.64 l -10.277,-51.043 c 0.756,-0.024 1.463,-0.226 2.22,-0.226 40.757,0 73.911,33.153 73.911,73.909 -10e-4,40.756 -33.155,73.917 -73.912,73.917 z",id:"path145"})],-1);function Fo(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",Bo,[Go,xo])}var Wo={name:"CyclingTransport"};Wo.render=Fo;var Ko=Wo,$o={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 463.507 463.507",style:{"enable-background":"new 0 0 463.507 463.507"},"xml:space":"preserve"},Ho=Object(a["createVNode"])("desc",{id:"hikingDescription"},"silhouette of a person hiking",-1),Yo=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M246.413,78.492c21.688,0,39.255-17.573,39.255-39.251c0-21.67-17.567-39.24-39.255-39.24\n\t\tc-21.652,0-39.242,17.57-39.242,39.24C207.171,60.919,224.761,78.492,246.413,78.492z"}),Object(a["createVNode"])("path",{d:"M386.604,202.858c0-11.185-9.066-20.251-20.253-20.251h-68.479l-38.62-54.832l0.127-0.933\n\t\tc1.378-10.474-1.474-21.067-7.911-29.444c-6.441-8.378-15.932-13.852-26.408-15.23c-11.596-1.511-22.592,2.224-30.852,9.225V45.779\n\t\tc0-7.847-6.362-14.217-14.225-14.217H140.59c-7.867,0-14.225,6.37-14.225,14.217v168.953c0,20.68,15.821,37.476,35.979,39.446\n\t\tl-3.043,7.073l-23.859,90.136l-53.73,72.188c-8.006,10.768-5.794,25.987,4.984,34.001c4.348,3.245,9.443,4.811,14.491,4.811\n\t\tc7.422,0,14.729-3.385,19.511-9.795l56.529-75.945c1.851-2.484,3.213-5.299,4.003-8.289l16.266-61.414l44.521,40.877l-6.076,88.603\n\t\tc-0.917,13.393,9.177,24.99,22.58,25.908c0.552,0.04,1.124,0.056,1.691,0.056c12.66,0,23.339-9.819,24.208-22.642l6.882-100.264\n\t\tc0.508-7.364-2.371-14.572-7.815-19.564l-45.994-42.219l13.992-90.613l19.331,27.435c3.801,5.387,9.972,8.592,16.552,8.592h70.882\n\t\tl1.339,232.294c0,4.478,3.626,8.101,8.101,8.101c4.479,0,8.101-3.624,8.101-8.101l-1.339-234.036\n\t\tC381.588,218.245,386.604,211.15,386.604,202.858z"})],-1);function qo(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",$o,[Ho,Yo])}var Xo={name:"Hiking"};Xo.render=qo;var Zo=Xo,Qo={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 503.162 503.162",style:{"enable-background":"new 0 0 503.162 503.162"},"xml:space":"preserve"},Jo=Object(a["createVNode"])("desc",{id:"mountainBikingDescription"}," silhouette of a person riding a mountain bike ",-1),ea=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M149.951,67.997c15.711-7.143,22.739-25.675,15.596-41.416c-7.124-15.701-25.723-22.682-41.453-15.539\n\t\t\tc-15.721,7.134-22.702,25.752-15.578,41.444C115.679,68.216,134.23,75.14,149.951,67.997z"}),Object(a["createVNode"])("path",{d:"M87.517,89.072l-32.828,87.755c-1.979,5.967-1.683,12.594,1.1,18.733c4.055,8.922,12.604,14.525,21.755,15.271\n\t\t\tl76.873,6.244l29.137,64.184c4.122,9.046,14.832,13.148,23.906,9.017c9.075-4.131,13.072-14.859,8.951-23.944l-36.424-80.201\n\t\t\tc0,0-3.605-13.76-21.343-14.133l-43.873-2.572l21.009-55.166l31.671,20.588c5.584,3.663,10.997,3.682,15.1,1.722l55.051-24.997\n\t\t\tc17.069-7.755,6.952-30.036-10.108-22.29l-47.506,21.707l-53.55-34.846c0,0-11.638-8.013-24.241-2.285\n\t\t\tC102.205,73.858,91.112,77.243,87.517,89.072z"}),Object(a["createVNode"])("path",{d:"M423.687,182.488l-2.61,15.042c-2.123,12.154-13.35,25.092-25.092,28.888l-3.711,1.195\n\t\t\tc3.041-16.543,1.282-34.148-6.215-50.633c-19.498-42.974-70.094-61.87-112.943-42.419\n\t\t\tc-42.878,19.479-61.936,70.017-42.438,112.981c17.069,37.562,57.881,56.744,96.534,47.966l-0.784,1.415\n\t\t\tc-5.968,10.796-20.817,19.221-33.144,18.8l-17.892-0.622c-12.336-0.411-30.514,5.002-40.603,12.116l-22.376,15.759\n\t\t\tc-10.107,7.104-28.276,12.632-40.612,12.354l-12.001-0.277c12.718-22.845,14.889-51.159,3.242-76.806\n\t\t\tc-19.517-42.955-70.074-61.879-113.019-42.381c-42.792,19.44-61.87,70.007-42.372,112.933\n\t\t\tc16.667,36.711,56.084,55.788,93.914,48.444l-1.32,2.056c-6.675,10.385-22.08,18.398-34.406,17.92l-32.79-1.291\n\t\t\tc-12.326-0.497-24.021,8.97-26.096,21.143l-2.62,15.339c-0.564,3.271-0.354,6.11,0.401,8.501c-0.43,1.778-0.736,3.548-0.736,5.326\n\t\t\tv9.562c0,10.557,8.568,19.125,19.125,19.125h460.932c10.557,0,19.115-8.568,19.106-19.125l-0.125-167.507\n\t\t\tc0-2.782-0.593-5.221-1.616-7.286c1.396-3.806,2.057-7.841,1.598-11.839l-4.677-40.497c-1.415-12.249-9.763-29.146-18.637-37.724\n\t\t\tl-36.127-34.951C434.712,167.418,425.79,170.325,423.687,182.488z"})])],-1);function ta(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",Qo,[Jo,ea])}var na={name:"MountainBiking"};na.render=ta;var ra=na,oa={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 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve"},aa=Object(a["createVNode"])("desc",{id:"runningDescription"},"silhouette of a running person",-1),ca=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M282.74,80.771c22.318,0,40.401-18.08,40.401-40.389C323.141,18.084,305.058,0,282.74,0\n\t\tc-22.281,0-40.378,18.084-40.378,40.383C242.362,62.691,260.458,80.771,282.74,80.771z"}),Object(a["createVNode"])("path",{d:"M400.207,188.547H331.47l-38.766-55.03l0.123-0.944c1.384-10.514-1.475-21.146-7.94-29.556\n\t\tc-6.461-8.409-16.007-13.903-26.52-15.287c-10.926-1.429-22.619,3.12-31.206,8.646c-1.441,0.928-84.97,54.921-84.97,54.921\n\t\tc-5.175,3.358-8.542,8.877-9.165,15.016c-0.634,6.13,1.574,12.222,5.976,16.541l58.982,58l-6.417,48.954l-18.707,65.584l-67.8-19.4\n\t\tc-12.911-3.676-26.44,3.796-30.159,16.747c-3.699,12.951,3.799,26.459,16.758,30.168l91.271,26.109\n\t\tc2.192,0.627,4.444,0.936,6.7,0.936c4.113,0,8.195-1.04,11.848-3.073c5.655-3.146,9.833-8.409,11.611-14.635l21.963-77.057\n\t\tl26.365,36.639l6.684,119.628c0.73,12.991,11.501,23.036,24.349,23.036c0.441,0,0.92-0.016,1.379-0.039\n\t\tc13.453-0.748,23.745-12.262,23-25.713l-7.083-126.736c-0.271-4.643-1.846-9.116-4.56-12.887l-32.24-44.811l11.959-91.279\n\t\tl19.409,27.555c3.794,5.407,10.005,8.624,16.613,8.624h79.28c11.226,0,20.326-9.101,20.326-20.329\n\t\tC420.533,197.647,411.432,188.547,400.207,188.547z M204.606,190.357l-19.026-18.717l23.476-15.206L204.606,190.357z"})],-1);function ia(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",oa,[aa,ca])}var sa={name:"Running"};sa.render=ia;var ua=sa,la={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"},da=Object(a["createVNode"])("desc",{id:"walkingDescription"},"silhouette of a walking person",-1),Oa=Object(a["createVNode"])("defs",{id:"defs797"},null,-1),pa=Object(a["createVNode"])("g",{id:"g792"},[Object(a["createVNode"])("path",{d:"m 272.74,80.771 c 22.318,0 40.401,-18.08 40.401,-40.389 C 313.141,18.084 295.058,0 272.74,0 c -22.281,0 -40.378,18.084 -40.378,40.383 0,22.308 18.096,40.388 40.378,40.388 z",id:"path788"}),Object(a["createVNode"])("path",{d:"m 328.5854,174.48445 -40.64148,10.93729 4.76008,-51.90474 0.123,-0.944 c 1.384,-10.514 -1.475,-21.146 -7.94,-29.556 -6.461,-8.409 -16.007,-13.903 -26.52,-15.287 -10.926,-1.429 -22.619,3.12 -31.206,8.646 -1.441,0.928 -84.97,54.921 -84.97,54.921 -5.175,3.358 -8.542,8.877 -9.165,15.016 -0.634,6.13 1.574,12.222 5.976,16.541 l 58.982,58 -6.417,48.954 -25.88143,79.08977 -54.08338,43.67932 c -14.762199,11.1022 -24.410111,22.37008 -15.912276,36.07186 8.515526,13.68031 27.439076,15.75973 42.273746,4.63076 l 48.9456,-38.84296 c 12.09075,-7.84858 23.84126,-20.18502 28.3003,-35.27702 L 235.052,315.187 l 26.365,36.639 6.684,119.628 c 0.73,12.991 11.501,23.036 24.349,23.036 0.441,0 0.92,-0.016 1.379,-0.039 13.453,-0.748 23.745,-12.262 23,-25.713 l -7.083,-126.736 c -0.271,-4.643 -1.846,-9.116 -4.56,-12.887 l -32.24,-44.811 7.981,-57.1 c -15.00943,6.0905 -25.84439,5.48716 0,0 l 59.50354,-17.8263 c 10.75379,-3.22166 16.4326,-12.34116 13.52152,-25.36894 -2.44853,-10.95778 -14.74571,-13.15695 -25.36666,-9.52431 z M 204.606,190.357 185.58,171.64 209.056,156.434 Z",id:"path790"})],-1);function ma(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",la,[da,Oa,pa])}var ba={name:"Walking"};ba.render=ma;var Ea=ba,Ta=Object(a["defineComponent"])({name:"SportImage",components:{CyclingSport:wo,CyclingTransport:Ko,Hiking:Zo,MountainBiking:ra,Running:ua,Walking:Ea},props:{sportLabel:{type:String,required:!0},title:{type:String,required:!1}},setup:function(){return{sportColors:Object(a["inject"])("sportColors")}}});Ta.render=ko;var Sa=Ta,fa=Object(a["withScopeId"])("data-v-8bf75da8");Object(a["pushScopeId"])("data-v-8bf75da8");var _a={class:"loader"};Object(a["popScopeId"])();var ja=fa((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",_a)})),Aa=Object(a["defineComponent"])({name:"Loader"});n("b373");Aa.render=ja,Aa.__scopeId="data-v-8bf75da8";var Na=Aa,Ra=Object(a["withScopeId"])("data-v-21b6cb61");Object(a["pushScopeId"])("data-v-21b6cb61");var Ia={id:"modal"},ga={class:"custom-modal"},Ua={key:0,class:"modal-message"},va={key:1,class:"modal-message"},Da={class:"modal-buttons"};Object(a["popScopeId"])();var Pa=Ra((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("i18n-t"),s=Object(a["resolveComponent"])("ErrorMessage"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Ia,[Object(a["createVNode"])("div",ga,[Object(a["createVNode"])(u,null,{title:Ra((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.title),1)]})),content:Ra((function(){return[e.strongMessage?(Object(a["openBlock"])(),Object(a["createBlock"])("div",Ua,[Object(a["createVNode"])(i,{keypath:e.message},{default:Ra((function(){return[Object(a["createVNode"])("span",null,Object(a["toDisplayString"])(e.strongMessage),1)]})),_:1},8,["keypath"])])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",va,Object(a["toDisplayString"])(e.message),1)),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:2,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("div",Da,[Object(a["createVNode"])("button",{class:"confirm",onClick:t[1]||(t[1]=function(t){return e.emit("confirmAction")})},Object(a["toDisplayString"])(e.$t("buttons.YES")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[2]||(t[2]=function(t){return e.emit("cancelAction")})},Object(a["toDisplayString"])(e.$t("buttons.NO")),1)])]})),_:1})])])})),ha=Object(a["defineComponent"])({name:"Modal",props:{title:{type:String,required:!0},message:{type:String,required:!0},strongMessage:{type:String||null,default:null}},emits:["cancelAction","confirmAction"],setup:function(e,t){var n=t.emit,r=Object(B["a"])(),o=Object(a["computed"])((function(){return r.getters[w["a"].GETTERS.ERROR_MESSAGES]}));return Object(a["onUnmounted"])((function(){return r.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES)})),{errorMessages:o,emit:n}}});n("8728");ha.render=Pa,ha.__scopeId="data-v-21b6cb61";var Ca=ha,ka=[po,Be,fo,Io,Co,Na,Ca,Sa],Ma={mounted:function(e,t){e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||t.value(n)},document.body.addEventListener("click",e.clickOutsideEvent),document.body.addEventListener("touchstart",e.clickOutsideEvent)},unmounted:function(e){e.clickOutsideEvent&&(document.body.removeEventListener("click",e.clickOutsideEvent),document.body.removeEventListener("touchstart",e.clickOutsideEvent),e.clickOutsideEvent=void 0)}};r["Chart"].register(r["BarElement"],r["LineElement"],r["PointElement"],r["Legend"],r["Title"],r["Tooltip"],r["Filler"],r["BarController"],r["CategoryScale"],r["LineController"],r["LinearScale"],o["a"]);var La=Object(a["createApp"])(ce).provide("sportColors",ut["b"]).use(K).use(no).use(io).directive("click-outside",Ma);ka.forEach((function(e){La.component(e.name,e)})),La.mount("#app")},d257:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));n("caad"),n("2532"),n("d81d"),n("4de4"),n("ac1f"),n("1276");var r=n("dad5"),o=function(){return"/api/"},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"UNKNOWN",o=t?t.response?413===t.response.status?"file size is greater than the allowed size":t.response.data.message?t.response.data.message:n:t.message?t.message:n:n;e.commit(r["a"].MUTATIONS.SET_ERROR_MESSAGES,o.includes("\n")?o.split("\n").filter((function(e){return""!==e})).map((function(e){return"api.ERROR.".concat(e)})):"api.ERROR.".concat(o))}},d42e:function(e,t,n){"use strict";n("dc79")},dad5:function(e,t,n){"use strict";var r,o,a,c,i,s,u,l,d,O,p,m,b,E,T,S,f,_;n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return N})),n.d(t,"e",(function(){return R})),n.d(t,"d",(function(){return I})),n.d(t,"f",(function(){return g})),function(e){e["GET_APPLICATION_CONFIG"]="GET_APPLICATION_CONFIG",e["GET_APPLICATION_STATS"]="GET_APPLICATION_STATS",e["UPDATE_APPLICATION_CONFIG"]="UPDATE_APPLICATION_CONFIG"}(r||(r={})),function(e){e["APP_CONFIG"]="APP_CONFIG",e["APP_LOADING"]="APP_LOADING",e["APP_STATS"]="APP_STATS",e["ERROR_MESSAGES"]="ERROR_MESSAGES",e["LANGUAGE"]="LANGUAGE",e["LOCALE"]="LOCALE"}(o||(o={})),function(e){e["EMPTY_ERROR_MESSAGES"]="EMPTY_ERROR_MESSAGES",e["SET_ERROR_MESSAGES"]="SET_ERROR_MESSAGES",e["UPDATE_APPLICATION_CONFIG"]="UPDATE_APPLICATION_CONFIG",e["UPDATE_APPLICATION_LOADING"]="UPDATE_APPLICATION_LOADING",e["UPDATE_APPLICATION_STATS"]="UPDATE_APPLICATION_STATS",e["UPDATE_LANG"]="UPDATE_LANG"}(a||(a={})),function(e){e["GET_SPORTS"]="GET_SPORTS",e["UPDATE_SPORTS"]="UPDATE_SPORTS"}(c||(c={})),function(e){e["SPORTS"]="SPORTS"}(i||(i={})),function(e){e["SET_SPORTS"]="SET_SPORTS"}(s||(s={})),function(e){e["GET_USER_STATS"]="GET_USER_STATS"}(u||(u={})),function(e){e["USER_STATS"]="USER_STATS"}(l||(l={})),function(e){e["EMPTY_USER_STATS"]="EMPTY_USER_STATS",e["UPDATE_USER_STATS"]="UPDATE_USER_STATS"}(d||(d={})),function(e){e["CHECK_AUTH_USER"]="CHECK_AUTH_USER",e["DELETE_ACCOUNT"]="DELETE_ACCOUNT",e["DELETE_PICTURE"]="DELETE_PICTURE",e["GET_USER_PROFILE"]="GET_USER_PROFILE",e["LOGIN_OR_REGISTER"]="LOGIN_OR_REGISTER",e["LOGOUT"]="LOGOUT",e["SEND_PASSWORD_RESET_REQUEST"]="SEND_PASSWORD_RESET_REQUEST",e["RESET_USER_PASSWORD"]="RESET_USER_PASSWORD",e["UPDATE_USER_PICTURE"]="UPDATE_USER_PICTURE",e["UPDATE_USER_PROFILE"]="UPDATE_USER_PROFILE",e["UPDATE_USER_PREFERENCES"]="UPDATE_USER_PREFERENCES"}(O||(O={})),function(e){e["AUTH_TOKEN"]="AUTH_TOKEN",e["AUTH_USER_PROFILE"]="AUTH_USER_PROFILE",e["IS_ADMIN"]="IS_ADMIN",e["IS_AUTHENTICATED"]="IS_AUTHENTICATED",e["USER_LOADING"]="USER_LOADING"}(p||(p={})),function(e){e["CLEAR_AUTH_USER_TOKEN"]="CLEAR_AUTH_USER_TOKEN",e["UPDATE_AUTH_TOKEN"]="UPDATE_AUTH_TOKEN",e["UPDATE_AUTH_USER_PROFILE"]="UPDATE_AUTH_USER_PROFILE",e["UPDATE_USER_LOADING"]="UPDATE_USER_LOADING"}(m||(m={})),function(e){e["EMPTY_USER"]="EMPTY_USER",e["EMPTY_USERS"]="EMPTY_USERS",e["GET_USER"]="GET_USER",e["GET_USERS"]="GET_USERS",e["UPDATE_USER"]="UPDATE_USER"}(b||(b={})),function(e){e["USER"]="USER",e["USERS"]="USERS",e["USERS_LOADING"]="USERS_LOADING",e["USERS_PAGINATION"]="USERS_PAGINATION"}(E||(E={})),function(e){e["UPDATE_USER"]="UPDATE_USER",e["UPDATE_USER_IN_USERS"]="UPDATE_USER_IN_USERS",e["UPDATE_USERS"]="UPDATE_USERS",e["UPDATE_USERS_LOADING"]="UPDATE_USERS_LOADING",e["UPDATE_USERS_PAGINATION"]="UPDATE_USERS_PAGINATION"}(T||(T={})),function(e){e["ADD_WORKOUT"]="ADD_WORKOUT",e["ADD_WORKOUT_WITHOUT_GPX"]="ADD_WORKOUT_WITHOUT_GPX",e["DELETE_WORKOUT"]="DELETE_WORKOUT",e["EDIT_WORKOUT"]="EDIT_WORKOUT",e["GET_CALENDAR_WORKOUTS"]="GET_CALENDAR_WORKOUTS",e["GET_USER_WORKOUTS"]="GET_USER_WORKOUTS",e["GET_MORE_USER_WORKOUTS"]="GET_MORE_USER_WORKOUTS",e["GET_WORKOUT_DATA"]="GET_WORKOUT_DATA"}(S||(S={})),function(e){e["CALENDAR_WORKOUTS"]="CALENDAR_WORKOUTS",e["USER_WORKOUTS"]="USER_WORKOUTS",e["WORKOUT_DATA"]="WORKOUT_DATA"}(f||(f={})),function(e){e["ADD_USER_WORKOUTS"]="ADD_USER_WORKOUTS",e["EMPTY_WORKOUTS"]="EMPTY_WORKOUTS",e["EMPTY_CALENDAR_WORKOUTS"]="EMPTY_CALENDAR_WORKOUTS",e["EMPTY_WORKOUT"]="EMPTY_WORKOUT",e["SET_CALENDAR_WORKOUTS"]="SET_CALENDAR_WORKOUTS",e["SET_USER_WORKOUTS"]="SET_USER_WORKOUTS",e["SET_WORKOUT"]="SET_WORKOUT",e["SET_WORKOUT_GPX"]="SET_WORKOUT_GPX",e["SET_WORKOUT_CHART_DATA"]="SET_WORKOUT_CHART_DATA",e["SET_WORKOUT_LOADING"]="SET_WORKOUT_LOADING"}(_||(_={}));var j={ACTIONS:r,GETTERS:o,MUTATIONS:a},A={ACTIONS:c,GETTERS:i,MUTATIONS:s},N={ACTIONS:u,GETTERS:l,MUTATIONS:d},R={ACTIONS:O,GETTERS:p,MUTATIONS:m},I={ACTIONS:b,GETTERS:E,MUTATIONS:T},g={ACTIONS:S,GETTERS:f,MUTATIONS:_}},dc79:function(e,t,n){},dd3f:function(e,t,n){},e7b6:function(e,t,n){var r={"./en/en.ts":"c142","./fr/fr.ts":"663e"};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id="e7b6"},edb9:function(e,t,n){},edfa:function(e,t,n){"use strict";n("27bb")},f037:function(e,t,n){"use strict";n("aa8e")},f5dfd:function(e,t,n){"use strict";n("9838")},f79f:function(e,t,n){"use strict";n("dd3f")},fb34:function(e,t,n){},fb41:function(e,t,n){}}); -//# sourceMappingURL=app.f769a5c1.js.map \ No newline at end of file +(function(e){function t(t){for(var r,o,i=t[0],s=t[1],u=t[2],l=0,d=[];lr?1:n2&&void 0!==arguments[2]&&arguments[2];return e.filter((function(e){return!n||e.is_active})).map((function(e){return Object(r["a"])(Object(r["a"])({},e),{},{translatedLabel:t("sports.".concat(e.label,".LABEL"))})})).sort(c)},s=function(e,t){return t.filter((function(t){return t.id===e.sport_id})).map((function(e){return e.label}))[0]}},"16c2":function(e,t,n){"use strict";n("a03e")},"1f4c":function(e,t,n){},2024:function(e,t,n){},"27bb":function(e,t,n){},2906:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5502");function o(){return Object(r["b"])()}},3214:function(e,t,n){"use strict";n("2024")},3853:function(e,t,n){"use strict";n("c75e")},"3c44":function(e,t,n){"use strict";n("b680"),n("a9e3");var r=n("7a23"),o=Object(r["withScopeId"])("data-v-a6fa997c");Object(r["pushScopeId"])("data-v-a6fa997c");var a={class:"box user-header"},c={class:"user-details"},i={class:"user-name"},s={class:"user-stats"},u={class:"user-stat"},l={class:"stat-number"},d={class:"stat-label"},O={class:"user-stat"},p={class:"stat-number"},m=Object(r["createVNode"])("span",{class:"stat-label"},"km",-1),b={class:"user-stat hide-small"},E={class:"stat-number"},T={class:"stat-label"};Object(r["popScopeId"])();var S=o((function(e,t,n,o,S,f){var _=Object(r["resolveComponent"])("UserPicture");return Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[Object(r["createVNode"])(_,{user:e.user},null,8,["user"]),Object(r["createVNode"])("div",c,[Object(r["createVNode"])("div",i,Object(r["toDisplayString"])(e.user.username),1),Object(r["createVNode"])("div",s,[Object(r["createVNode"])("div",u,[Object(r["createVNode"])("span",l,Object(r["toDisplayString"])(e.user.nb_workouts),1),Object(r["createVNode"])("span",d,Object(r["toDisplayString"])(e.$t("workouts.WORKOUT",e.user.nb_workouts)),1)]),Object(r["createVNode"])("div",O,[Object(r["createVNode"])("span",p,Object(r["toDisplayString"])(Number(e.user.total_distance).toFixed(0)),1),m]),Object(r["createVNode"])("div",b,[Object(r["createVNode"])("span",E,Object(r["toDisplayString"])(e.user.nb_sports),1),Object(r["createVNode"])("span",T,Object(r["toDisplayString"])(e.$t("workouts.SPORT",e.user.nb_sports)),1)])])])])})),f=n("c46a"),_=Object(r["defineComponent"])({name:"ProfileDisplay",components:{UserPicture:f["a"]},props:{user:{type:Object,required:!0}}});n("5085");_.render=S,_.__scopeId="data-v-a6fa997c";t["a"]=_},"3e31":function(e,t,n){},"466e":function(e,t,n){},"4a13":function(e,t,n){"use strict";n("92d6")},"4b55":function(e,t,n){"use strict";n("8384")},5085:function(e,t,n){"use strict";n("1f4c")},5567:function(e,t,n){"use strict";n("8349")},5712:function(e,t,n){},"57dc":function(e,t,n){},"608d":function(e,t,n){"use strict";n("90b9")},"663e":function(e,t,n){"use strict";n.r(t);var r={ACTION:e=>{const{normalize:t}=e;return t(["Action"])},ADMIN_RIGHTS_DELETE_USER_ACCOUNT:e=>{const{normalize:t}=e;return t(["Ajouter/retirer des droits d'administration, supprimer des comptes utilisateurs."])},ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},ADMINISTRATION:e=>{const{normalize:t}=e;return t(["Administration"])},APPLICATION:e=>{const{normalize:t}=e;return t(["Application"])},APP_CONFIG:{MAX_USERS_LABEL:e=>{const{normalize:t}=e;return t(["Nombre maximum d'utilisateurs actifs "])},MAX_USERS_HELP:e=>{const{normalize:t}=e;return t(["Si égal à 0, pas limite d'inscription"])},MAX_FILES_IN_ZIP_LABEL:e=>{const{normalize:t}=e;return t(["Taille max. des archives zip (en Mo) "])},SINGLE_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Taille max. des fichiers (en Mo) "])},TITLE:e=>{const{normalize:t}=e;return t(["Configuration de l'application"])},ZIP_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Nombre max. de fichiers dans une archive zip "])}},BACK_TO_ADMIN:e=>{const{normalize:t}=e;return t(["Revenir à l'admin"])},CONFIRM_USER_ACCOUNT_DELETION:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Etes-vous sûr de vouloir supprimer le compte de ",n(r(0))," ? Toutes les données seront définitivement."])},DELETE_USER:e=>{const{normalize:t}=e;return t(["Supprimer l'utilisateur"])},ENABLE_DISABLE_SPORTS:e=>{const{normalize:t}=e;return t(["Activer/désactiver des sports."])},REGISTRATION_DISABLED:e=>{const{normalize:t}=e;return t(["Les inscriptions sont actuellement désactivées."])},REGISTRATION_ENABLED:e=>{const{normalize:t}=e;return t(["Les inscriptions sont actuellement activées."])},SPORTS:{TABLE:{ACTIVE:e=>{const{normalize:t}=e;return t(["Actif"])},HAS_WORKOUTS:e=>{const{normalize:t}=e;return t(["des séances existent"])},IMAGE:e=>{const{normalize:t}=e;return t(["Image"])},LABEL:e=>{const{normalize:t}=e;return t(["Label"])}},TITLE:e=>{const{normalize:t}=e;return t(["Administration - Sports"])}},UPDATE_APPLICATION_DESCRIPTION:e=>{const{normalize:t}=e;return t(["Configurer l'application (nombre maximum d'utilisateurs inscrits, taille maximale des fichers)."])},USER:e=>{const{normalize:t,plural:n}=e;return n([t(["utilisateur"]),t(["utilisateurs"])])},USERS:{TABLE:{ADD_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Ajouter les drois d'admin"])},REMOVE_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Retirer les drois d'admin"])}},SELECTS:{ORDER_BY:{LABEL:e=>{const{normalize:t}=e;return t(["trier par "])},admin:e=>{const{normalize:t}=e;return t(["status administrateur"])},created_at:e=>{const{normalize:t}=e;return t(["date d'inscription"])},username:e=>{const{normalize:t}=e;return t(["nom d'utilisateur"])},workouts_count:e=>{const{normalize:t}=e;return t(["nombre de séances"])}},ORDER:{LABEL:e=>{const{normalize:t}=e;return t(["tri"])},ASC:e=>{const{normalize:t}=e;return t(["ascendant"])},DESC:e=>{const{normalize:t}=e;return t(["descendant"])}},PER_PAGE:{LABEL:e=>{const{normalize:t}=e;return t(["par page"])}}}}},o={ERROR:{UNKNOWN:e=>{const{normalize:t}=e;return t(["Erreur. Veuillez réessayer ou contacter l'administrateur."])},"email: valid email must be provided":e=>{const{normalize:t}=e;return t(["Email : une adresse email valide doit être fournie."])},"error on getting configuration":e=>{const{normalize:t}=e;return t(["Erreur lors de la récupération de la configuration."])},"error when updating configuration":e=>{const{normalize:t}=e;return t(["Erreur lors de la mise à jour de la configuration"])},"error, please try again or contact the administrator":e=>{const{normalize:t}=e;return t(["Erreur, veuillez réessayer ou contacter l'administrateur."])},"error, registration is disabled":e=>{const{normalize:t}=e;return t(["Erreur, les inscriptions sont désactivées."])},"file extension not allowed":e=>{const{normalize:t}=e;return t(["Extension de fichier non autorisée."])},"file size is greater than the allowed size":e=>{const{normalize:t}=e;return t(["La taille du fichier est supérieure à la limite autorisée."])},"invalid credentials":e=>{const{normalize:t}=e;return t(["Identifiants invalides."])},"invalid payload":e=>{const{normalize:t}=e;return t(["Données fournies incorrectes."])},"invalid token, please log in again":e=>{const{normalize:t}=e;return t(["Jeton de connexion invalide, merci de vous reconnecter."])},"invalid token, please request a new token":e=>{const{normalize:t}=e;return t(["Jeton de connexion, merci de vous reconnecter."])},"no file part":e=>{const{normalize:t}=e;return t(["Pas de fichier fourni."])},"no selected file":e=>{const{normalize:t}=e;return t(["Pas de fichier sélectionné."])},"Network Error":e=>{const{normalize:t}=e;return t(["Erreur Réseau."])},"password: password and password confirmation do not match":e=>{const{normalize:t}=e;return t(["Mot de passe : les mots de passe saisis sont différents."])},"provide a valid auth token":e=>{const{normalize:t}=e;return t(["Merci de fournir un jeton de connexion valide."])},"password: 8 characters required":e=>{const{normalize:t}=e;return t(["Mot de passe : 8 caractères minimum."])},"sport does not exist":e=>{const{normalize:t}=e;return t(["Ce sport n'existe pas."])},"signature expired, please log in again":e=>{const{normalize:t}=e;return t(["Signature expirée. Merci de vous reconnecter."])},"sorry, that user already exists":e=>{const{normalize:t}=e;return t(["Désolé, cet utilisateur existe déjà."])},"successfully registered":e=>{const{normalize:t}=e;return t(["Inscription validée."])},"user does not exist":e=>{const{normalize:t}=e;return t(["L'utilisateur n'existe pas"])},"username: 3 to 12 characters required":e=>{const{normalize:t}=e;return t(["Nom d'utilisateur : 3 à 12 caractères requis."])},"you do not have permissions":e=>{const{normalize:t}=e;return t(["Vous n'avez pas les permissions nécessaires."])}},PAGINATION:{PREVIOUS:e=>{const{normalize:t}=e;return t(["précédent"])},NEXT:e=>{const{normalize:t}=e;return t(["suivant"])}}},a={BACK:e=>{const{normalize:t}=e;return t(["Précédent"])},CANCEL:e=>{const{normalize:t}=e;return t(["Annuler"])},DELETE_MY_ACCOUNT:e=>{const{normalize:t}=e;return t(["Supprimer mon compte"])},DISABLE:e=>{const{normalize:t}=e;return t(["Désactiver"])},EDIT:e=>{const{normalize:t}=e;return t(["Modifier"])},ENABLE:e=>{const{normalize:t}=e;return t(["Activer"])},FILTER:e=>{const{normalize:t}=e;return t(["Filtrer"])},LOGIN:e=>{const{normalize:t}=e;return t(["Se connecter"])},NO:e=>{const{normalize:t}=e;return t(["Non"])},REGISTER:e=>{const{normalize:t}=e;return t(["S'inscrire"])},SUBMIT:e=>{const{normalize:t}=e;return t(["Valider"])},YES:e=>{const{normalize:t}=e;return t(["Oui"])}},c={CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmation"])},DAY:e=>{const{normalize:t,plural:n}=e;return n([t(["jour"]),t(["jours"])])},HOME:e=>{const{normalize:t}=e;return t(["Accueil"])},HERE:e=>{const{normalize:t}=e;return t(["ici"])}},i={DASHBOARD:e=>{const{normalize:t}=e;return t(["Tableau de Bord"])},THIS_MONTH:e=>{const{normalize:t}=e;return t(["Ce mois"])}},s={UNKNOWN:e=>{const{normalize:t}=e;return t(["Erreur. Veuillez réessayer ou contacter l'administrateur."])},APP_ERROR:e=>{const{normalize:t}=e;return t(["L'application semble rencontrer quelques problèmes.
Veuillez réessayer plus tard ou contacter l'administrateur."])},NOT_FOUND:{PAGE:e=>{const{normalize:t}=e;return t(["Page introuvable"])},WORKOUT:e=>{const{normalize:t}=e;return t(["Séance introuvable"])}}},u={"Cycling (Sport)":{LABEL:e=>{const{normalize:t}=e;return t(["Vélo (Sport)"])}},"Cycling (Transport)":{LABEL:e=>{const{normalize:t}=e;return t(["Vélo (Transport)"])}},Hiking:{LABEL:e=>{const{normalize:t}=e;return t(["Randonnée"])}},"Mountain Biking":{LABEL:e=>{const{normalize:t}=e;return t(["VTT"])}},Running:{LABEL:e=>{const{normalize:t}=e;return t(["Course"])}},Walking:{LABEL:e=>{const{normalize:t}=e;return t(["Marche"])}}},l={STATISTICS:e=>{const{normalize:t}=e;return t(["Statistiques"])},TOTAL:e=>{const{normalize:t}=e;return t(["Total"])},TIME_FRAMES:{week:e=>{const{normalize:t}=e;return t(["semaine"])},month:e=>{const{normalize:t}=e;return t(["mois"])},year:e=>{const{normalize:t}=e;return t(["année"])}}},d={ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},CONFIRM_ACCOUNT_DELETION:e=>{const{normalize:t}=e;return t(["Etes-vous sûr de vouloir supprimer votre compte ? Toutes les données seront définitivement effacés."])},EMAIL:e=>{const{normalize:t}=e;return t(["Email"])},ENTER_EMAIL:e=>{const{normalize:t}=e;return t(["Saisir une adresse email"])},ENTER_PASSWORD:e=>{const{normalize:t}=e;return t(["Saisir un mot de passe"])},ENTER_PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmer le mot de passe"])},INVALID_TOKEN:e=>{const{normalize:t}=e;return t(["Jeton invalide, veullez demander une nouvelle réinitialisation de mot de passe."])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Langue"])},LOGIN:e=>{const{normalize:t}=e;return t(["Se connecter"])},LOGOUT:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},PASSWORD:e=>{const{normalize:t}=e;return t(["Mot de passe"])},PASSWORD_CONFIRM:e=>{const{normalize:t}=e;return t(["Confirmation du mot de passe"])},PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmation du mot de passe"])},PASSWORD_FORGOTTEN:e=>{const{normalize:t}=e;return t(["Mot de passe oublié ?"])},PASSWORD_RESET:e=>{const{normalize:t}=e;return t(["Réinitialisation du mot de passe"])},PASSWORD_SENT_EMAIL_TEXT:e=>{const{normalize:t}=e;return t(["Vérifiez vore boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe."])},PASSWORD_UPDATED:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Votre mot de passe a été mis à jour. Cliquez ",n(r(0))," pour vous connecter."])},PROFILE:{BACK_TO_PROFILE:e=>{const{normalize:t}=e;return t(["Revenir au profil"])},BIO:e=>{const{normalize:t}=e;return t(["Bio"])},BIRTH_DATE:e=>{const{normalize:t}=e;return t(["Date de naissance"])},EDIT:e=>{const{normalize:t}=e;return t(["Modifier le profil"])},EDIT_PREFERENCES:e=>{const{normalize:t}=e;return t(["Modifier les préférences"])},FIRST_DAY_OF_WEEK:e=>{const{normalize:t}=e;return t(["Premier jour de la semaine"])},FIRST_NAME:e=>{const{normalize:t}=e;return t(["Prénom"])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Langue"])},LAST_NAME:e=>{const{normalize:t}=e;return t(["Nom"])},LOCATION:e=>{const{normalize:t}=e;return t(["Lieu"])},MONDAY:e=>{const{normalize:t}=e;return t(["Lundi"])},PICTURE:e=>{const{normalize:t}=e;return t(["Image de profil"])},PICTURE_EDITION:e=>{const{normalize:t}=e;return t(["Mise à jour de l'image de profil"])},PICTURE_UPDATE:e=>{const{normalize:t}=e;return t(["Mettre à jour l'image"])},PICTURE_REMOVE:e=>{const{normalize:t}=e;return t(["Supprimer"])},PREFERENCES_EDITION:e=>{const{normalize:t}=e;return t(["Mise à jour des préférences"])},PROFILE_EDITION:e=>{const{normalize:t}=e;return t(["Mise à jour du profil"])},REGISTRATION_DATE:e=>{const{normalize:t}=e;return t(["Date d'inscription"])},SUNDAY:e=>{const{normalize:t}=e;return t(["Dimanche"])},TABS:{PICTURE:e=>{const{normalize:t}=e;return t(["image"])},PREFERENCES:e=>{const{normalize:t}=e;return t(["préférences"])},PROFILE:e=>{const{normalize:t}=e;return t(["profil"])}},TIMEZONE:e=>{const{normalize:t}=e;return t(["Fuseau horaire"])}},REGISTER:e=>{const{normalize:t}=e;return t(["S'inscrire"])},REGISTER_DISABLED:e=>{const{normalize:t}=e;return t(["Désolé, les inscriptions sont désactivées."])},RESET_PASSWORD:e=>{const{normalize:t}=e;return t(["Réinitialiser votre mot de passe"])},USER_PICTURE:e=>{const{normalize:t}=e;return t(["photo de l'utilisateur"])},USERNAME:e=>{const{normalize:t}=e;return t(["Nom d'utilisateur"])}},O={ADD_WORKOUT:e=>{const{normalize:t}=e;return t(["Ajouter une séance"])},ANALYSIS:e=>{const{normalize:t}=e;return t(["analyse"])},ASCENT:e=>{const{normalize:t}=e;return t(["dénivelé positif"])},AVERAGE_SPEED:e=>{const{normalize:t}=e;return t(["vitesse moyenne"])},AVE_SPEED:e=>{const{normalize:t}=e;return t(["vitesse moy."])},BACK_TO_WORKOUT:e=>{const{normalize:t}=e;return t(["revenir à la séance"])},DATE:e=>{const{normalize:t}=e;return t(["date"])},DESCENT:e=>{const{normalize:t}=e;return t(["dénivelé négatif"])},DISPLAY_FILTERS:e=>{const{normalize:t}=e;return t(["afficher les filtres"])},DISTANCE:e=>{const{normalize:t}=e;return t(["distance"])},DURATION:e=>{const{normalize:t}=e;return t(["durée"])},EDIT_WORKOUT:e=>{const{normalize:t}=e;return t(["Modifier la séance"])},ELEVATION:e=>{const{normalize:t}=e;return t(["altitude"])},END:e=>{const{normalize:t}=e;return t(["fin"])},FROM:e=>{const{normalize:t}=e;return t(["à partir de"])},GPX_FILE:e=>{const{normalize:t}=e;return t(["fichier .gpx"])},HIDE_FILTERS:e=>{const{normalize:t}=e;return t(["masquer les filtres"])},KM:e=>{const{normalize:t}=e;return t(["km"])},LATEST_WORKOUTS:e=>{const{normalize:t}=e;return t(["Séances récentes"])},LOAD_MORE_WORKOUT:e=>{const{normalize:t}=e;return t(["Charger les séances suivantes"])},MAX_ALTITUDE:e=>{const{normalize:t}=e;return t(["altitude max"])},MAX_FILES:e=>{const{normalize:t}=e;return t(["fichiers max. "])},MAX_SIZE:e=>{const{normalize:t}=e;return t(["taille max. "])},MAX_SPEED:e=>{const{normalize:t}=e;return t(["vitesse max"])},MIN_ALTITUDE:e=>{const{normalize:t}=e;return t(["altitude min"])},NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["Segment suivant"])},NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["Séance suivante"])},NO_DATA_CLEANING:e=>{const{normalize:t}=e;return t(["données issues du fichier gpx, sans correction"])},NO_FILE_PROVIDED:e=>{const{normalize:t}=e;return t(["Pas de fichier fourni"])},NO_FOLDER:e=>{const{normalize:t}=e;return t(["pas de répertoire"])},NO_MAP:e=>{const{normalize:t}=e;return t(["Pas de carte"])},NO_NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["Pas de segment suivant"])},NO_NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["Pas de séance suivante"])},NO_NOTES:e=>{const{normalize:t}=e;return t(["Pas de notes"])},NO_PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["Pas de segment précédent"])},NO_PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["Pas de séance précédente"])},NO_RECORDS:e=>{const{normalize:t}=e;return t(["Pas de records."])},NO_WORKOUTS:e=>{const{normalize:t}=e;return t(["Pas de séances."])},NOTES:e=>{const{normalize:t}=e;return t(["notes"])},PAUSES:e=>{const{normalize:t}=e;return t(["pauses"])},PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["Segment précédent"])},PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["Séance précédente"])},RECORD:e=>{const{normalize:t,plural:n}=e;return n([t(["record"]),t(["records"])])},RECORD_AS:e=>{const{normalize:t}=e;return t(["Vitesse moy."])},RECORD_FD:e=>{const{normalize:t}=e;return t(["Distance la + longue"])},RECORD_LD:e=>{const{normalize:t}=e;return t(["Durée la + longue"])},RECORD_MS:e=>{const{normalize:t}=e;return t(["Vitesse max."])},REMAINING_CHARS:e=>{const{normalize:t}=e;return t(["nombre de caractères restants "])},SEGMENT:e=>{const{normalize:t,plural:n}=e;return n([t(["segment"]),t(["segments"])])},SPEED:e=>{const{normalize:t}=e;return t(["vitesse"])},SPORT:e=>{const{normalize:t,plural:n}=e;return n([t(["sport"]),t(["sports"])])},START:e=>{const{normalize:t}=e;return t(["début"])},TITLE:e=>{const{normalize:t}=e;return t(["titre"])},TO:e=>{const{normalize:t}=e;return t(["jusqu'au"])},TOTAL_DURATION:e=>{const{normalize:t}=e;return t(["durée totale"])},UPLOAD_FIRST_WORKOUT:e=>{const{normalize:t}=e;return t(["Ajoutez votre première séance !"])},WEATHER:{HUMIDITY:e=>{const{normalize:t}=e;return t(["humidité"])},TEMPERATURE:e=>{const{normalize:t}=e;return t(["température"])},WIND:e=>{const{normalize:t}=e;return t(["vent"])},DARK_SKY:{"clear-day":e=>{const{normalize:t}=e;return t(["ensoleillé"])},"clear-night":e=>{const{normalize:t}=e;return t(["nuit claire"])},cloudy:e=>{const{normalize:t}=e;return t(["nuageux"])},fog:e=>{const{normalize:t}=e;return t(["brouillard"])},"partly-cloudy-day":e=>{const{normalize:t}=e;return t(["partiellement nuageux"])},"partly-cloudy-night":e=>{const{normalize:t}=e;return t(["nuit partiellement nuageuse"])},rain:e=>{const{normalize:t}=e;return t(["pluie"])},sleet:e=>{const{normalize:t}=e;return t(["neige fondue"])},snow:e=>{const{normalize:t}=e;return t(["neige"])},wind:e=>{const{normalize:t}=e;return t(["venteux"])}}},WITH_GPX:e=>{const{normalize:t}=e;return t(["avec un fichier .gpx"])},WITHOUT_GPX:e=>{const{normalize:t}=e;return t(["sans fichier .gpx"])},WORKOUT:e=>{const{normalize:t,plural:n}=e;return n([t(["séance"]),t(["séances"])])},WORKOUT_DATE:e=>{const{normalize:t}=e;return t(["date de la séance"])},WORKOUT_DELETION_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Etes-vous sûr de vouloir supprimer cette séance ?"])},ZIP_ARCHIVE:e=>{const{normalize:t}=e;return t(["archive .zip"])},ZIP_ARCHIVE_DESCRIPTION:e=>{const{normalize:t}=e;return t(["ou une archive .zip contenant des fichiers .gpx"])}};t["default"]={admin:r,api:o,buttons:a,common:c,dashboard:i,error:s,sports:u,statistics:l,user:d,workouts:O}},"6eb4":function(e,t,n){},"71a7":function(e,t,n){"use strict";var r=n("7a23"),o=Object(r["withScopeId"])("data-v-1267fe4f");Object(r["pushScopeId"])("data-v-1267fe4f");var a={id:"user-infos",class:"description-list"},c={class:"user-bio"},i={key:1,class:"profile-buttons"},s={key:2,class:"profile-buttons"};Object(r["popScopeId"])();var u=o((function(e,t,n,o,u,l){var d=Object(r["resolveComponent"])("Modal");return Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[e.displayModal?(Object(r["openBlock"])(),Object(r["createBlock"])(d,{key:0,title:e.$t("common.CONFIRMATION"),message:"admin.CONFIRM_USER_ACCOUNT_DELETION",strongMessage:e.user.username,onConfirmAction:t[1]||(t[1]=function(t){return e.deleteUserAccount(e.user.username)}),onCancelAction:t[2]||(t[2]=function(t){return e.updateDisplayModal(!1)})},null,8,["title","strongMessage"])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])("dl",null,[Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.registrationDate),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.FIRST_NAME"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.user.first_name),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.LAST_NAME"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.user.last_name),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.BIRTH_DATE"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.birthDate),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.LOCATION"))+":",1),Object(r["createVNode"])("dd",null,Object(r["toDisplayString"])(e.user.location),1),Object(r["createVNode"])("dt",null,Object(r["toDisplayString"])(e.$t("user.PROFILE.BIO"))+":",1),Object(r["createVNode"])("dd",c,Object(r["toDisplayString"])(e.user.bio),1)]),e.fromAdmin?(Object(r["openBlock"])(),Object(r["createBlock"])("div",i,[e.authUser.username!==e.user.username?(Object(r["openBlock"])(),Object(r["createBlock"])("button",{key:0,class:"danger",onClick:t[3]||(t[3]=Object(r["withModifiers"])((function(t){return e.updateDisplayModal(!0)}),["prevent"]))},Object(r["toDisplayString"])(e.$t("admin.DELETE_USER")),1)):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])("button",{onClick:t[4]||(t[4]=function(t){return e.$router.go(-1)})},Object(r["toDisplayString"])(e.$t("buttons.BACK")),1)])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",s,[Object(r["createVNode"])("button",{onClick:t[5]||(t[5]=function(t){return e.$router.push("/profile/edit")})},Object(r["toDisplayString"])(e.$t("user.PROFILE.EDIT")),1),Object(r["createVNode"])("button",{onClick:t[6]||(t[6]=function(t){return e.$router.push("/")})},Object(r["toDisplayString"])(e.$t("common.HOME")),1)]))])})),l=n("b166"),d=n("dad5"),O=n("2906"),p=Object(r["defineComponent"])({name:"UserInfos",props:{user:{type:Object,required:!0},fromAdmin:{type:Boolean,default:!1}},setup:function(e){var t=Object(O["a"])(),n=Object(r["computed"])((function(){return t.getters[d["e"].GETTERS.AUTH_USER_PROFILE]})),o=Object(r["computed"])((function(){return e.user.created_at?Object(l["a"])(new Date(e.user.created_at),"dd/MM/yyyy HH:mm"):""})),a=Object(r["computed"])((function(){return e.user.birth_date?Object(l["a"])(new Date(e.user.birth_date),"dd/MM/yyyy"):""})),c=Object(r["ref"])(!1);function i(e){c.value=e}function s(e){t.dispatch(d["e"].ACTIONS.DELETE_ACCOUNT,{username:e})}return{authUser:n,birthDate:a,displayModal:c,registrationDate:o,deleteUserAccount:s,updateDisplayModal:i}}});n("966c");p.render=u,p.__scopeId="data-v-1267fe4f";t["a"]=p},"7b3e":function(e,t,n){"use strict";n("b715")},"7ffe":function(e,t,n){"use strict";n("9f54")},8349:function(e,t,n){},8384:function(e,t,n){},"85fa":function(e,t,n){"use strict";n("0a59")},8728:function(e,t,n){"use strict";n("8d9f")},"8d9f":function(e,t,n){},"90b9":function(e,t,n){},"92d6":function(e,t,n){},9561:function(e,t,n){"use strict";n("57dc")},"95ba":function(e,t,n){"use strict";n("6eb4")},"966c":function(e,t,n){"use strict";n("5712")},9838:function(e,t,n){},"9f54":function(e,t,n){},a03e:function(e,t,n){},a1fe:function(e,t,n){"use strict";n("aa70")},a906:function(e,t,n){},aa0a:function(e,t,n){"use strict";n("fb34")},aa70:function(e,t,n){},aa8e:function(e,t,n){},b373:function(e,t,n){"use strict";n("edb9")},b5e1:function(e,t,n){"use strict";n("3e31")},b715:function(e,t,n){},b9fd:function(e,t,n){"use strict";n("a906")},c142:function(e,t,n){"use strict";n.r(t);var r={ACTION:e=>{const{normalize:t}=e;return t(["Action"])},ADMIN_RIGHTS_DELETE_USER_ACCOUNT:e=>{const{normalize:t}=e;return t(["Add/remove admin rights, delete user account."])},ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},ADMINISTRATION:e=>{const{normalize:t}=e;return t(["Administration"])},APPLICATION:e=>{const{normalize:t}=e;return t(["Application"])},APP_CONFIG:{MAX_USERS_LABEL:e=>{const{normalize:t}=e;return t(["Max. number of active users"])},MAX_USERS_HELP:e=>{const{normalize:t}=e;return t(["If 0, no limitation on registration."])},MAX_FILES_IN_ZIP_LABEL:e=>{const{normalize:t}=e;return t(["Max. files of zip archive"])},SINGLE_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Max. size of uploaded files (in Mb)"])},TITLE:e=>{const{normalize:t}=e;return t(["Application configuration"])},ZIP_UPLOAD_MAX_SIZE_LABEL:e=>{const{normalize:t}=e;return t(["Max. size of zip archive (in Mb)"])}},BACK_TO_ADMIN:e=>{const{normalize:t}=e;return t(["Back to admin"])},CONFIRM_USER_ACCOUNT_DELETION:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Are you sure you want to delete ",n(r(0))," account? All data will be deleted, this cannot be undone."])},DELETE_USER:e=>{const{normalize:t}=e;return t(["Delete user"])},ENABLE_DISABLE_SPORTS:e=>{const{normalize:t}=e;return t(["Enable/disable sports."])},REGISTRATION_DISABLED:e=>{const{normalize:t}=e;return t(["Registration is currently disabled."])},REGISTRATION_ENABLED:e=>{const{normalize:t}=e;return t(["Registration is currently enabled."])},SPORTS:{TABLE:{ACTIVE:e=>{const{normalize:t}=e;return t(["Active"])},HAS_WORKOUTS:e=>{const{normalize:t}=e;return t(["workouts exist"])},IMAGE:e=>{const{normalize:t}=e;return t(["Image"])},LABEL:e=>{const{normalize:t}=e;return t(["Label"])}},TITLE:e=>{const{normalize:t}=e;return t(["Sports administration"])}},UPDATE_APPLICATION_DESCRIPTION:e=>{const{normalize:t}=e;return t(["Update application configuration (maximum number of registered users, maximum files size)."])},USER:e=>{const{normalize:t,plural:n}=e;return n([t(["user"]),t(["users"])])},USERS:{TABLE:{ADD_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Add admin rights"])},REMOVE_ADMIN_RIGHTS:e=>{const{normalize:t}=e;return t(["Remove admin rights"])}},SELECTS:{ORDER_BY:{LABEL:e=>{const{normalize:t}=e;return t(["order by"])},admin:e=>{const{normalize:t}=e;return t(["admin status"])},created_at:e=>{const{normalize:t}=e;return t(["registration date"])},username:e=>{const{normalize:t}=e;return t(["username"])},workouts_count:e=>{const{normalize:t}=e;return t(["workout count"])}},ORDER:{LABEL:e=>{const{normalize:t}=e;return t(["sort"])},ASC:e=>{const{normalize:t}=e;return t(["ascending"])},DESC:e=>{const{normalize:t}=e;return t(["descending"])}},PER_PAGE:{LABEL:e=>{const{normalize:t}=e;return t(["par page"])}}}}},o={ERROR:{UNKNOWN:e=>{const{normalize:t}=e;return t(["Error. Please try again or contact the administrator."])},"email: valid email must be provided":e=>{const{normalize:t}=e;return t(["Email: valid email must be provided."])},"error on getting configuration":e=>{const{normalize:t}=e;return t(["Error on getting configuration."])},"error when updating configuration":e=>{const{normalize:t}=e;return t(["Error when updating configuration"])},"error, please try again or contact the administrator":e=>{const{normalize:t}=e;return t(["Error, please try again or contact the administrator."])},"error, registration is disabled":e=>{const{normalize:t}=e;return t(["Error, registration is disabled."])},"file extension not allowed":e=>{const{normalize:t}=e;return t(["File extension not allowed."])},"file size is greater than the allowed size":e=>{const{normalize:t}=e;return t(["File size is greater than the allowed size."])},"invalid credentials":e=>{const{normalize:t}=e;return t(["Invalid credentials."])},"invalid payload":e=>{const{normalize:t}=e;return t(["Provided data are invalid."])},"invalid token, please log in again":e=>{const{normalize:t}=e;return t(["Invalid token, please log in again."])},"invalid token, please request a new token":e=>{const{normalize:t}=e;return t(["Invalid token, please log in again."])},"Network Error":e=>{const{normalize:t}=e;return t(["Network Error."])},"no file part":e=>{const{normalize:t}=e;return t(["No file provided."])},"no selected file":e=>{const{normalize:t}=e;return t(["No selected file."])},"password: password and password confirmation do not match":e=>{const{normalize:t}=e;return t(["Password: password and password confirmation don't match."])},"provide a valid auth token":e=>{const{normalize:t}=e;return t(["Provide a valid auth token."])},"password: 8 characters required":e=>{const{normalize:t}=e;return t(["Password: 8 characters required."])},"sorry, that user already exists":e=>{const{normalize:t}=e;return t(["Sorry, that user already exists."])},"sport does not exist":e=>{const{normalize:t}=e;return t(["Sport does not exist."])},"signature expired, please log in again":e=>{const{normalize:t}=e;return t(["Signature expired. Please log in again."])},"successfully registered":e=>{const{normalize:t}=e;return t(["Successfully registered."])},"user does not exist":e=>{const{normalize:t}=e;return t(["User does not exist."])},"username: 3 to 12 characters required":e=>{const{normalize:t}=e;return t(["Username: 3 to 12 characters required."])},"you do not have permissions":e=>{const{normalize:t}=e;return t(["You do not have permissions."])}},PAGINATION:{PREVIOUS:e=>{const{normalize:t}=e;return t(["previous"])},NEXT:e=>{const{normalize:t}=e;return t(["next"])}}},a={BACK:e=>{const{normalize:t}=e;return t(["Back"])},CANCEL:e=>{const{normalize:t}=e;return t(["Cancel"])},DELETE_MY_ACCOUNT:e=>{const{normalize:t}=e;return t(["Delete my account"])},DISABLE:e=>{const{normalize:t}=e;return t(["Disable"])},EDIT:e=>{const{normalize:t}=e;return t(["Edit"])},ENABLE:e=>{const{normalize:t}=e;return t(["Enable"])},FILTER:e=>{const{normalize:t}=e;return t(["Filter"])},LOGIN:e=>{const{normalize:t}=e;return t(["Log in"])},NO:e=>{const{normalize:t}=e;return t(["No"])},REGISTER:e=>{const{normalize:t}=e;return t(["Register"])},SUBMIT:e=>{const{normalize:t}=e;return t(["Submit"])},YES:e=>{const{normalize:t}=e;return t(["Yes"])}},c={CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirmation"])},DAY:e=>{const{normalize:t,plural:n}=e;return n([t(["day"]),t(["days"])])},HOME:e=>{const{normalize:t}=e;return t(["Home"])},HERE:e=>{const{normalize:t}=e;return t(["here"])}},i={DASHBOARD:e=>{const{normalize:t}=e;return t(["Dashboard"])},THIS_MONTH:e=>{const{normalize:t}=e;return t(["This month"])}},s={UNKNOWN:e=>{const{normalize:t}=e;return t(["Error. Please try again or contact the administrator."])},APP_ERROR:e=>{const{normalize:t}=e;return t(["The application seems encounter some issues.
Please try later or contact the administrator."])},NOT_FOUND:{PAGE:e=>{const{normalize:t}=e;return t(["Page not found"])},WORKOUT:e=>{const{normalize:t}=e;return t(["Workout not found"])}}},u={"Cycling (Sport)":{LABEL:e=>{const{normalize:t}=e;return t(["Cycling (Sport)"])}},"Cycling (Transport)":{LABEL:e=>{const{normalize:t}=e;return t(["Cycling (Transport)"])}},Hiking:{LABEL:e=>{const{normalize:t}=e;return t(["Hiking"])}},"Mountain Biking":{LABEL:e=>{const{normalize:t}=e;return t(["Mountain Biking"])}},Running:{LABEL:e=>{const{normalize:t}=e;return t(["Running"])}},Walking:{LABEL:e=>{const{normalize:t}=e;return t(["Walking"])}}},l={STATISTICS:e=>{const{normalize:t}=e;return t(["Statistics"])},TOTAL:e=>{const{normalize:t}=e;return t(["Total"])},TIME_FRAMES:{week:e=>{const{normalize:t}=e;return t(["week"])},month:e=>{const{normalize:t}=e;return t(["month"])},year:e=>{const{normalize:t}=e;return t(["year"])}}},d={ADMIN:e=>{const{normalize:t}=e;return t(["Admin"])},CONFIRM_ACCOUNT_DELETION:e=>{const{normalize:t}=e;return t(["Are you sure you want to delete your account? All data will be deleted, this cannot be undone"])},EMAIL:e=>{const{normalize:t}=e;return t(["Email"])},ENTER_EMAIL:e=>{const{normalize:t}=e;return t(["Enter an email address"])},ENTER_PASSWORD:e=>{const{normalize:t}=e;return t(["Enter a password"])},ENTER_PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Confirm the password"])},INVALID_TOKEN:e=>{const{normalize:t}=e;return t(["Invalid token, please request a new password reset."])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Language"])},LOGIN:e=>{const{normalize:t}=e;return t(["Login"])},LOGOUT:e=>{const{normalize:t}=e;return t(["Logout"])},PASSWORD:e=>{const{normalize:t}=e;return t(["Password"])},PASSWORD_CONFIRM:e=>{const{normalize:t}=e;return t(["Confirm Password"])},PASSWORD_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Password confirmation"])},PASSWORD_FORGOTTEN:e=>{const{normalize:t}=e;return t(["Forgot password?"])},PASSWORD_RESET:e=>{const{normalize:t}=e;return t(["Password reset"])},PASSWORD_SENT_EMAIL_TEXT:e=>{const{normalize:t}=e;return t(["Check your email. If your address is in our database, you'll received an email with a link to reset your password."])},PASSWORD_UPDATED:e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Your password have been updated. Click ",n(r(0))," to log in."])},PROFILE:{BACK_TO_PROFILE:e=>{const{normalize:t}=e;return t(["Back to profile"])},BIO:e=>{const{normalize:t}=e;return t(["Bio"])},BIRTH_DATE:e=>{const{normalize:t}=e;return t(["Birth date"])},EDIT:e=>{const{normalize:t}=e;return t(["Edit profile"])},EDIT_PREFERENCES:e=>{const{normalize:t}=e;return t(["Edit preferences"])},FIRST_NAME:e=>{const{normalize:t}=e;return t(["First name"])},FIRST_DAY_OF_WEEK:e=>{const{normalize:t}=e;return t(["First day of week"])},LANGUAGE:e=>{const{normalize:t}=e;return t(["Language"])},LAST_NAME:e=>{const{normalize:t}=e;return t(["Last name"])},LOCATION:e=>{const{normalize:t}=e;return t(["Location"])},MONDAY:e=>{const{normalize:t}=e;return t(["Monday"])},PICTURE:e=>{const{normalize:t}=e;return t(["Picture"])},PICTURE_EDITION:e=>{const{normalize:t}=e;return t(["Picture edition"])},PICTURE_UPDATE:e=>{const{normalize:t}=e;return t(["Update picture"])},PICTURE_REMOVE:e=>{const{normalize:t}=e;return t(["Remove picture"])},PREFERENCES_EDITION:e=>{const{normalize:t}=e;return t(["Preferences edition"])},PROFILE_EDITION:e=>{const{normalize:t}=e;return t(["Profile edition"])},REGISTRATION_DATE:e=>{const{normalize:t}=e;return t(["Registration date"])},SUNDAY:e=>{const{normalize:t}=e;return t(["Sunday"])},TABS:{PICTURE:e=>{const{normalize:t}=e;return t(["picture"])},PREFERENCES:e=>{const{normalize:t}=e;return t(["preferences"])},PROFILE:e=>{const{normalize:t}=e;return t(["profile"])}},TIMEZONE:e=>{const{normalize:t}=e;return t(["Timezone"])}},REGISTER:e=>{const{normalize:t}=e;return t(["Register"])},REGISTER_DISABLED:e=>{const{normalize:t}=e;return t(["Sorry, registration is disabled."])},RESET_PASSWORD:e=>{const{normalize:t}=e;return t(["Reset your password"])},USER_PICTURE:e=>{const{normalize:t}=e;return t(["user picture"])},USERNAME:e=>{const{normalize:t}=e;return t(["Username"])}},O={ADD_WORKOUT:e=>{const{normalize:t}=e;return t(["Add a workout"])},ANALYSIS:e=>{const{normalize:t}=e;return t(["analysis"])},ASCENT:e=>{const{normalize:t}=e;return t(["ascent"])},AVE_SPEED:e=>{const{normalize:t}=e;return t(["ave. speed"])},AVERAGE_SPEED:e=>{const{normalize:t}=e;return t(["average speed"])},BACK_TO_WORKOUT:e=>{const{normalize:t}=e;return t(["back to workout"])},DATE:e=>{const{normalize:t}=e;return t(["date"])},DESCENT:e=>{const{normalize:t}=e;return t(["descent"])},DISPLAY_FILTERS:e=>{const{normalize:t}=e;return t(["display filters"])},DISTANCE:e=>{const{normalize:t}=e;return t(["distance"])},DURATION:e=>{const{normalize:t}=e;return t(["duration"])},EDIT_WORKOUT:e=>{const{normalize:t}=e;return t(["Edit the workout"])},ELEVATION:e=>{const{normalize:t}=e;return t(["elevation"])},END:e=>{const{normalize:t}=e;return t(["end"])},FROM:e=>{const{normalize:t}=e;return t(["from"])},GPX_FILE:e=>{const{normalize:t}=e;return t([".gpx file"])},HIDE_FILTERS:e=>{const{normalize:t}=e;return t(["hide filters"])},KM:e=>{const{normalize:t}=e;return t(["km"])},LATEST_WORKOUTS:e=>{const{normalize:t}=e;return t(["Latest workouts"])},LOAD_MORE_WORKOUT:e=>{const{normalize:t}=e;return t(["Load more workouts"])},MAX_ALTITUDE:e=>{const{normalize:t}=e;return t(["max. altitude"])},MAX_FILES:e=>{const{normalize:t}=e;return t(["max files"])},MAX_SIZE:e=>{const{normalize:t}=e;return t(["max size"])},MAX_SPEED:e=>{const{normalize:t}=e;return t(["max. speed"])},MIN_ALTITUDE:e=>{const{normalize:t}=e;return t(["min. altitude"])},NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["No next segment"])},NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["Next workout"])},NO_DATA_CLEANING:e=>{const{normalize:t}=e;return t(["data from gpx, without any cleaning"])},NO_FILE_PROVIDED:e=>{const{normalize:t}=e;return t(["No file provided"])},NO_FOLDER:e=>{const{normalize:t}=e;return t(["no folder inside"])},NO_MAP:e=>{const{normalize:t}=e;return t(["No map"])},NO_NEXT_SEGMENT:e=>{const{normalize:t}=e;return t(["No next segment"])},NO_NEXT_WORKOUT:e=>{const{normalize:t}=e;return t(["No next workout"])},NO_NOTES:e=>{const{normalize:t}=e;return t(["No notes"])},NO_PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["No previous segment"])},NO_PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["No previous workout"])},NO_RECORDS:e=>{const{normalize:t}=e;return t(["No records."])},NO_WORKOUTS:e=>{const{normalize:t}=e;return t(["No workouts."])},NOTES:e=>{const{normalize:t}=e;return t(["notes"])},PAUSES:e=>{const{normalize:t}=e;return t(["pauses"])},PREVIOUS_SEGMENT:e=>{const{normalize:t}=e;return t(["Previous segment"])},PREVIOUS_WORKOUT:e=>{const{normalize:t}=e;return t(["Previous workout"])},RECORD:e=>{const{normalize:t,plural:n}=e;return n([t(["record"]),t(["records"])])},RECORD_AS:e=>{const{normalize:t}=e;return t(["Ave. speed"])},RECORD_FD:e=>{const{normalize:t}=e;return t(["Farest distance"])},RECORD_LD:e=>{const{normalize:t}=e;return t(["Longest duration"])},RECORD_MS:e=>{const{normalize:t}=e;return t(["Max. speed"])},REMAINING_CHARS:e=>{const{normalize:t}=e;return t(["remaining characters"])},SEGMENT:e=>{const{normalize:t,plural:n}=e;return n([t(["segment"]),t(["segments"])])},SPEED:e=>{const{normalize:t}=e;return t(["speed"])},SPORT:e=>{const{normalize:t,plural:n}=e;return n([t(["sport"]),t(["sports"])])},START:e=>{const{normalize:t}=e;return t(["start"])},TITLE:e=>{const{normalize:t}=e;return t(["title"])},TO:e=>{const{normalize:t}=e;return t(["to"])},TOTAL_DURATION:e=>{const{normalize:t}=e;return t(["total duration"])},UPLOAD_FIRST_WORKOUT:e=>{const{normalize:t}=e;return t(["Upload one!"])},WEATHER:{HUMIDITY:e=>{const{normalize:t}=e;return t(["humidity"])},TEMPERATURE:e=>{const{normalize:t}=e;return t(["temperature"])},WIND:e=>{const{normalize:t}=e;return t(["wind"])},DARK_SKY:{"clear-day":e=>{const{normalize:t}=e;return t(["clear day"])},"clear-night":e=>{const{normalize:t}=e;return t(["clear night"])},cloudy:e=>{const{normalize:t}=e;return t(["cloudy"])},fog:e=>{const{normalize:t}=e;return t(["fog"])},"partly-cloudy-day":e=>{const{normalize:t}=e;return t(["partly cloudy day"])},"partly-cloudy-night":e=>{const{normalize:t}=e;return t(["partly cloudy night"])},rain:e=>{const{normalize:t}=e;return t(["rain"])},sleet:e=>{const{normalize:t}=e;return t(["sleet"])},snow:e=>{const{normalize:t}=e;return t(["snow"])},wind:e=>{const{normalize:t}=e;return t(["wind"])}}},WITH_GPX:e=>{const{normalize:t}=e;return t(["with .gpx file"])},WITHOUT_GPX:e=>{const{normalize:t}=e;return t(["without .gpx file"])},WORKOUT:e=>{const{normalize:t,plural:n}=e;return n([t(["workout"]),t(["workouts"])])},WORKOUT_DATE:e=>{const{normalize:t}=e;return t(["workout date"])},WORKOUT_DELETION_CONFIRMATION:e=>{const{normalize:t}=e;return t(["Are you sure you want to delete this workout?"])},ZIP_ARCHIVE:e=>{const{normalize:t}=e;return t([".zip file"])},ZIP_ARCHIVE_DESCRIPTION:e=>{const{normalize:t}=e;return t(["or .zip file containing .gpx files"])}};t["default"]={admin:r,api:o,buttons:a,common:c,dashboard:i,error:s,sports:u,statistics:l,user:d,workouts:O}},c364:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));n("b680"),n("99af");var r=["bytes","KB","MB","GB","TB"],o=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Math.floor(Math.log(e)/Math.log(1024));if(!e)return t?"0 bytes":{size:"0",suffix:"bytes"};var o=(e/Math.pow(1024,n)).toFixed(1),a=r[n];return t?"".concat(o).concat(a):{size:o,suffix:a}},a=function(e){var t=e/1048576;return+t.toFixed(2)}},c46a:function(e,t,n){"use strict";var r=n("7a23"),o={class:"user-picture"},a={key:1,class:"no-picture"},c=Object(r["createVNode"])("i",{class:"fa fa-user-circle-o","aria-hidden":"true"},null,-1);function i(e,t,n,i,s,u){return Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[""!==e.authUserPictureUrl?(Object(r["openBlock"])(),Object(r["createBlock"])("img",{key:0,class:"nav-profile-user-img",alt:e.$t("user.USER_PICTURE"),src:e.authUserPictureUrl},null,8,["alt","src"])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[c]))])}n("99af");var s=n("d257"),u=Object(r["defineComponent"])({name:"UserPicture",props:{user:{type:Object,required:!0}},setup:function(e){return{authUserPictureUrl:Object(r["computed"])((function(){return e.user.picture?"".concat(Object(s["a"])(),"users/").concat(e.user.username,"/picture?").concat(Date.now()):""}))}}});n("9561");u.render=i;t["a"]=u},c75e:function(e,t,n){},cbea:function(e,t,n){"use strict";n("fb41")},cd49:function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("159b"),n("b0c0");var r=n("9b4a"),o=n("d9fa"),a=n("7a23"),c=n("9483");Object(c["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(){console.log("Service worker has been registered.")},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(){console.log("New content is available; please refresh.")},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(e){console.error("Error during service worker registration:",e)}});var i=Object(a["withScopeId"])("data-v-317a6409");Object(a["pushScopeId"])("data-v-317a6409");var s=Object(a["createVNode"])("div",{id:"top"},null,-1),u={key:0,class:"app-container"},l={class:"app-loading"},d={class:"container scroll"},O=Object(a["createVNode"])("i",{class:"fa fa-chevron-up","aria-hidden":"true"},null,-1);Object(a["popScopeId"])();var p=i((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("NavBar"),p=Object(a["resolveComponent"])("Loader"),m=Object(a["resolveComponent"])("router-view"),b=Object(a["resolveComponent"])("NoConfig"),E=Object(a["resolveComponent"])("Footer");return Object(a["openBlock"])(),Object(a["createBlock"])(a["Fragment"],null,[s,Object(a["createVNode"])(i,{onMenuInteraction:e.updateHideScrollBar},null,8,["onMenuInteraction"]),e.appLoading?(Object(a["openBlock"])(),Object(a["createBlock"])("div",u,[Object(a["createVNode"])("div",l,[Object(a["createVNode"])(p)])])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",{key:1,class:["app-container",{"hide-scroll":e.hideScrollBar}]},[e.appConfig?(Object(a["openBlock"])(),Object(a["createBlock"])(m,{key:0})):(Object(a["openBlock"])(),Object(a["createBlock"])(b,{key:1}))],2)),Object(a["createVNode"])("div",d,[Object(a["createVNode"])("div",{class:["scroll-button",{"display-button":e.displayScrollButton}],onClick:t[1]||(t[1]=function(){return e.scrollToTop&&e.scrollToTop.apply(e,arguments)})},[O],2)]),e.appConfig?(Object(a["openBlock"])(),Object(a["createBlock"])(E,{key:2,version:e.appConfig?e.appConfig.version:""},null,8,["version"])):Object(a["createCommentVNode"])("",!0)],64)})),m=Object(a["withScopeId"])("data-v-e1641806");Object(a["pushScopeId"])("data-v-e1641806");var b={id:"footer"},E={class:"footer-items"},T={class:"footer-item"},S=Object(a["createVNode"])("strong",null,"FitTrackee",-1),f=Object(a["createStaticVNode"])('',4);Object(a["popScopeId"])();var _=m((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",b,[Object(a["createVNode"])("div",E,[Object(a["createVNode"])("div",T,[S,Object(a["createTextVNode"])(" v"+Object(a["toDisplayString"])(e.version),1)]),f])])})),j=Object(a["defineComponent"])({name:"Footer",props:{version:{type:String,required:!0}}});n("7b3e");j.render=_,j.__scopeId="data-v-e1641806";var A=j,N=Object(a["withScopeId"])("data-v-03a78350");Object(a["pushScopeId"])("data-v-03a78350");var R={id:"nav"},I={class:"nav-container"},g={class:"nav-app-name"},U={class:"nav-items-close"},v=Object(a["createVNode"])("div",{class:"app-name"},"FitTrackee",-1),D={key:0,class:"nav-items-group"},P=Object(a["createVNode"])("div",{class:"nav-item nav-separator"},null,-1),h={class:"nav-items-user-menu"},C={key:0,class:"nav-items-group"},k={class:"nav-item nav-profile-img"},M={key:1,class:"nav-items-group"},L=Object(a["createVNode"])("i",{class:"fa fa-language"},null,-1);Object(a["popScopeId"])();var z=N((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("router-link"),s=Object(a["resolveComponent"])("UserPicture"),u=Object(a["resolveComponent"])("Dropdown");return Object(a["openBlock"])(),Object(a["createBlock"])("div",R,[Object(a["createVNode"])("div",I,[Object(a["createVNode"])("div",g,[Object(a["createVNode"])("div",{class:"nav-item app-name",onClick:t[1]||(t[1]=function(t){return e.$router.push("/")})}," FitTrackee ")]),Object(a["createVNode"])("div",{class:["nav-icon-open",{"menu-open":e.isMenuOpen}]},[Object(a["createVNode"])("i",{class:"fa fa-bars hamburger-icon",onClick:t[2]||(t[2]=function(t){return e.openMenu()})})],2),Object(a["createVNode"])("div",{class:["nav-items",{"menu-open":e.isMenuOpen}]},[Object(a["createVNode"])("div",U,[v,Object(a["createVNode"])("i",{class:["fa fa-close close-icon nav-item",{"menu-closed":!e.isMenuOpen}],onClick:t[3]||(t[3]=function(t){return e.closeMenu()})},null,2)]),Object(a["createVNode"])("div",{class:"nav-items-app-menu",onClick:t[4]||(t[4]=function(t){return e.closeMenu()})},[e.isAuthenticated?(Object(a["openBlock"])(),Object(a["createBlock"])("div",D,[Object(a["createVNode"])(i,{class:"nav-item",to:"/"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("dashboard.DASHBOARD")),1)]})),_:1}),Object(a["createVNode"])(i,{class:"nav-item",to:"/workouts"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",2))),1)]})),_:1}),Object(a["createVNode"])(i,{class:"nav-item",to:"/statistics"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("statistics.STATISTICS")),1)]})),_:1}),Object(a["createVNode"])(i,{class:"nav-item",to:"/workouts/add"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("workouts.ADD_WORKOUT")),1)]})),_:1}),e.isAuthenticated&&e.authUser.admin?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,class:"nav-item",to:"/admin"},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.ADMIN")),1)]})),_:1})):Object(a["createCommentVNode"])("",!0),P])):Object(a["createCommentVNode"])("",!0)]),Object(a["createVNode"])("div",h,[e.isAuthenticated?(Object(a["openBlock"])(),Object(a["createBlock"])("div",C,[Object(a["createVNode"])("div",k,[Object(a["createVNode"])(s,{user:e.authUser},null,8,["user"])]),Object(a["createVNode"])(i,{class:"nav-item",to:"/profile",onClick:e.closeMenu},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.authUser.username),1)]})),_:1},8,["onClick"]),Object(a["createVNode"])("div",{class:"nav-item nav-link",onClick:t[5]||(t[5]=function(){return e.logout&&e.logout.apply(e,arguments)})},Object(a["toDisplayString"])(e.$t("user.LOGOUT")),1)])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",M,[Object(a["createVNode"])(i,{class:"nav-item",to:"/login",onClick:e.closeMenu},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.LOGIN")),1)]})),_:1},8,["onClick"]),Object(a["createVNode"])(i,{class:"nav-item",to:"/register",onClick:e.closeMenu},{default:N((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.REGISTER")),1)]})),_:1},8,["onClick"])])),e.availableLanguages&&e.language?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:2,class:"nav-item",options:e.availableLanguages,selected:e.language,onSelected:e.updateLanguage},{default:N((function(){return[L]})),_:1},8,["options","selected","onSelected"])):Object(a["createCommentVNode"])("",!0)])],2)])])})),y=(n("99af"),n("d3b7"),n("25f0"),n("47e2")),V=n("c46a"),w=n("dad5"),B=n("2906"),G=n("d257"),x=(n("d81d"),n("8923")),F=n("d481");n("ddb0"),n("ac1f"),n("466d");function W(){var e=n("e7b6"),t={};return e.keys().forEach((function(n){var r=n.match(/([A-Za-z0-9-_]+)\./i);if(r&&r.length>1){var o=r[1];t[o]=e(n).default}})),t}var K=Object(y["a"])({legacy:!1,locale:"en",fallbackLocale:"en",globalInjection:!0,messages:W()}),$={en:x["a"],fr:F["a"]},H={en:"English",fr:"Français"},Y=K.global.availableLocales,q=Y.map((function(e){return{label:H[e],value:e}})),X=Object(a["defineComponent"])({name:"NavBar",components:{UserPicture:V["a"]},emits:["menuInteraction"],setup:function(e,t){var n=t.emit,r=Object(y["b"])(),o=r.locale,c=Object(B["a"])(),i=Object(a["computed"])((function(){return c.getters[w["e"].GETTERS.AUTH_USER_PROFILE]})),s=Object(a["computed"])((function(){return c.getters[w["e"].GETTERS.IS_AUTHENTICATED]})),u=Object(a["computed"])((function(){return s.value&&i.value.picture?"".concat(Object(G["a"])(),"/users/").concat(i.value.username,"/picture?").concat(Date.now()):""})),l=Object(a["computed"])((function(){return c.getters[w["a"].GETTERS.LANGUAGE]})),d=Object(a["ref"])(!1);function O(){d.value=!0,n("menuInteraction",!0)}function p(){d.value=!1,n("menuInteraction",!1)}function m(e){o.value=e.value.toString(),c.commit(w["a"].MUTATIONS.UPDATE_LANG,e.value)}function b(){c.dispatch(w["e"].ACTIONS.LOGOUT)}return{availableLanguages:q,authUser:i,authUserPictureUrl:u,isAuthenticated:s,isMenuOpen:d,language:l,capitalize:a["capitalize"],openMenu:O,closeMenu:p,updateLanguage:m,logout:b}}});n("5567");X.render=z,X.__scopeId="data-v-03a78350";var Z=X,Q=Object(a["withScopeId"])("data-v-01d4a985");Object(a["pushScopeId"])("data-v-01d4a985");var J={id:"no-config"},ee={class:"error-page"},te=Object(a["createVNode"])("div",{class:"error-img"},[Object(a["createVNode"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -51 512 512"},[Object(a["createVNode"])("g",{id:"error"},[Object(a["createVNode"])("path",{class:"error-page-img",d:"M 0 0 C 0 11.300781 0 399.777344 0 410 L 512 410 C 512 402.324219 512 2.425781 512 0 Z M 370 71 L 370 30 L 411 30 L 411 71 Z M 30 30 L 340 30 L 340 71 L 30 71 Z M 482 380 L 30 380 L 30 101 L 482 101 Z M 441 71 L 441 30 L 482 30 L 482 71 Z M 441 71 "}),Object(a["createVNode"])("path",{class:"error-page-img",d:"M 325.519531 297.070312 C 294.328125 265.878906 294.328125 215.125 325.519531 183.929688 L 304.304688 162.71875 C 261.417969 205.605469 261.417969 275.390625 304.304688 318.28125 Z M 325.519531 297.070312 "}),Object(a["createVNode"])("path",{class:"error-page-img",d:"M 197.089844 180 L 237.089844 180 L 237.089844 220 L 197.089844 220 Z M 197.089844 180 "}),Object(a["createVNode"])("path",{class:"error-page-img",d:"M 197.089844 261 L 237.089844 261 L 237.089844 301 L 197.089844 301 Z M 197.089844 261 "})])])],-1);Object(a["popScopeId"])();var ne=Q((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",J,[Object(a["createVNode"])("div",ee,[te,Object(a["createVNode"])("p",{class:"error-message",innerHTML:e.$t("error.APP_ERROR")},null,8,["innerHTML"])])])})),re=Object(a["defineComponent"])({name:"NoConfig",setup:function(){var e=Object(y["b"])(),t=e.t;return{t:t}}});n("f037");re.render=ne,re.__scopeId="data-v-01d4a985";var oe=re,ae=Object(a["defineComponent"])({name:"App",components:{Footer:A,NavBar:Z,NoConfig:oe},setup:function(){var e=Object(B["a"])(),t=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.APP_CONFIG]})),n=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.APP_LOADING]})),r=Object(a["ref"])(!1),o=Object(a["ref"])(!1);function c(e){r.value=e}function i(e){return e.getBoundingClientRect().top=0}function s(){window.onscroll=function(){var e=document.querySelector("#bottom");o.value=null!==e&&i(e)}}function u(){window.scrollTo({top:0,behavior:"smooth"}),setTimeout((function(){o.value=!1}),300)}return Object(a["onBeforeMount"])((function(){return e.dispatch(w["a"].ACTIONS.GET_APPLICATION_CONFIG)})),Object(a["onMounted"])((function(){return s()})),{appConfig:t,appLoading:n,hideScrollBar:r,displayScrollButton:o,scrollToTop:u,updateHideScrollBar:c}}});n("608d");ae.render=p,ae.__scopeId="data-v-317a6409";var ce=ae,ie=(n("5319"),n("3ca3"),n("caad"),n("6c02")),se=Object(a["withScopeId"])("data-v-26175b66");Object(a["pushScopeId"])("data-v-26175b66");var ue={id:"admin-app",class:"admin-card"},le={for:"max_users"},de={class:"user-limit-help"},Oe={class:"info-box"},pe=Object(a["createVNode"])("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1),me={for:"max_single_file_size"},be={for:"max_zip_file_size"},Ee={for:"gpx_limit_import"},Te={key:1,class:"form-buttons"},Se={class:"confirm",type:"submit"},fe={key:2,class:"form-buttons"};Object(a["popScopeId"])();var _e=se((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("ErrorMessage"),s=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",ue,[Object(a["createVNode"])(s,null,{title:se((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.TITLE")),1)]})),content:se((function(){return[Object(a["createVNode"])("form",{class:"admin-form",onSubmit:t[8]||(t[8]=Object(a["withModifiers"])((function(){return e.onSubmit&&e.onSubmit.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("label",le,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.MAX_USERS_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"max_users",name:"max_users",type:"number",min:"0","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.appData.max_users=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.max_users]])]),Object(a["createVNode"])("div",de,[Object(a["createVNode"])("span",Oe,[pe,Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.MAX_USERS_HELP")),1)])]),Object(a["createVNode"])("label",me,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.SINGLE_UPLOAD_MAX_SIZE_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"max_single_file_size",name:"max_single_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.appData.max_single_file_size=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.max_single_file_size]])]),Object(a["createVNode"])("label",be,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.ZIP_UPLOAD_MAX_SIZE_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"max_zip_file_size",name:"max_zip_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":t[3]||(t[3]=function(t){return e.appData.max_zip_file_size=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.max_zip_file_size]])]),Object(a["createVNode"])("label",Ee,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APP_CONFIG.MAX_FILES_IN_ZIP_LABEL"))+": ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"gpx_limit_import",name:"gpx_limit_import",type:"number",min:"0","onUpdate:modelValue":t[4]||(t[4]=function(t){return e.appData.gpx_limit_import=t}),disabled:!e.edition},null,8,["disabled"]),[[a["vModelText"],e.appData.gpx_limit_import]])]),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),e.edition?(Object(a["openBlock"])(),Object(a["createBlock"])("div",Te,[Object(a["createVNode"])("button",Se,Object(a["toDisplayString"])(e.$t("buttons.SUBMIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[5]||(t[5]=Object(a["withModifiers"])((function(){return e.onCancel&&e.onCancel.apply(e,arguments)}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.CANCEL")),1)])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",fe,[Object(a["createVNode"])("button",{class:"confirm",onClick:t[6]||(t[6]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin/application/edit")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.EDIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[7]||(t[7]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1)]))],32)]})),_:1})])})),je=(n("b64b"),n("c364")),Ae=Object(a["defineComponent"])({name:"AdminApplication",props:{appConfig:{type:Object,required:!0},edition:{type:Boolean,default:!1}},setup:function(e){var t=Object(B["a"])(),n=Object(ie["d"])(),r=Object(a["reactive"])({max_users:0,max_single_file_size:0,max_zip_file_size:0,gpx_limit_import:0}),o=Object(a["computed"])((function(){return t.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function c(e){Object.keys(r).map((function(t){["max_single_file_size","max_zip_file_size"].includes(t)?r[t]=Object(je["a"])(e[t]):r[t]=e[t]}))}function i(){c(e.appConfig),t.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),n.push("/admin/application")}function s(){var e=Object.assign({},r);e.max_single_file_size*=1048576,e.max_zip_file_size*=1048576,t.dispatch(w["a"].ACTIONS.UPDATE_APPLICATION_CONFIG,e)}return Object(a["onBeforeMount"])((function(){e.appConfig&&c(e.appConfig)})),{appData:r,errorMessages:o,onCancel:i,onSubmit:s}}});n("3853");Ae.render=_e,Ae.__scopeId="data-v-26175b66";var Ne=Ae,Re=Object(a["withScopeId"])("data-v-4f30aa64");Object(a["pushScopeId"])("data-v-4f30aa64");var Ie={id:"admin-menu",class:"center-card"},ge={class:"admin-menu description-list"},Ue=Object(a["createVNode"])("br",null,null,-1),ve={class:"registration-status"};Object(a["popScopeId"])();var De=Re((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("AppStatsCards"),s=Object(a["resolveComponent"])("router-link"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Ie,[Object(a["createVNode"])(u,null,{title:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.ADMINISTRATION")),1)]})),content:Re((function(){return[Object(a["createVNode"])(i,{"app-statistics":e.appStatistics},null,8,["app-statistics"]),Object(a["createVNode"])("div",ge,[Object(a["createVNode"])("dl",null,[Object(a["createVNode"])("dt",null,[Object(a["createVNode"])(s,{to:"/admin/application"},{default:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.APPLICATION")),1)]})),_:1})]),Object(a["createVNode"])("dd",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.UPDATE_APPLICATION_DESCRIPTION")),1),Ue,Object(a["createVNode"])("span",ve,Object(a["toDisplayString"])(e.$t("admin.REGISTRATION_".concat(e.appConfig.is_registration_enabled?"ENABLED":"DISABLED"))),1)]),Object(a["createVNode"])("dt",null,[Object(a["createVNode"])(s,{to:"/admin/sports"},{default:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.SPORT",0))),1)]})),_:1})]),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.$t("admin.ENABLE_DISABLE_SPORTS")),1),Object(a["createVNode"])("dt",null,[Object(a["createVNode"])(s,{to:"/admin/users"},{default:Re((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("admin.USER",0))),1)]})),_:1})]),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.$t("admin.ADMIN_RIGHTS_DELETE_USER_ACCOUNT")),1)])])]})),_:1})])})),Pe={id:"user-stats"};function he(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("StatCard");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Pe,[Object(a["createVNode"])(i,{icon:"users",value:e.usersCount,text:e.$t("admin.USER",e.usersCount)},null,8,["value","text"]),Object(a["createVNode"])(i,{icon:"tags",value:e.sportsCount,text:e.$t("workouts.SPORT",e.sportsCount)},null,8,["value","text"]),Object(a["createVNode"])(i,{icon:"calendar",value:e.workoutCount,text:e.$t("workouts.WORKOUT",e.workoutCount)},null,8,["value","text"]),Object(a["createVNode"])(i,{icon:"folder-open",value:e.uploadDirSize.size,text:e.uploadDirSize.suffix},null,8,["value","text"])])}var Ce=n("05d9"),ke=Object(a["defineComponent"])({name:"UserStatsCards",components:{StatCard:Ce["a"]},props:{appStatistics:{type:Object,default:function(){return{}}}},setup:function(e){return{uploadDirSize:Object(a["computed"])((function(){return e.appStatistics.uploads_dir_size?Object(je["b"])(e.appStatistics.uploads_dir_size,!1):{size:0,suffix:"bytes"}})),usersCount:Object(a["computed"])((function(){return e.appStatistics.users?e.appStatistics.users:0})),sportsCount:Object(a["computed"])((function(){return e.appStatistics.sports?e.appStatistics.sports:0})),workoutCount:Object(a["computed"])((function(){return e.appStatistics.workouts?e.appStatistics.workouts:0}))}}});n("a1fe");ke.render=he;var Me=ke,Le={class:"card"},ze={class:"card-title"},ye={class:"card-content"};function Ve(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",Le,[Object(a["createVNode"])("div",ze,[Object(a["renderSlot"])(e.$slots,"title")]),Object(a["createVNode"])("div",ye,[Object(a["renderSlot"])(e.$slots,"content")])])}var we=Object(a["defineComponent"])({name:"Card"});n("16c2");we.render=Ve;var Be=we,Ge=Object(a["defineComponent"])({name:"AdminMenu",components:{AppStatsCards:Me,Card:Be},props:{appConfig:{type:Object,required:!0},appStatistics:{type:Object}},setup:function(){return{capitalize:a["capitalize"]}}});n("4a13");Ge.render=De,Ge.__scopeId="data-v-4f30aa64";var xe=Ge,Fe=Object(a["withScopeId"])("data-v-6d930723");Object(a["pushScopeId"])("data-v-6d930723");var We={id:"admin-sports",class:"admin-card"},Ke={class:"responsive-table"},$e=Object(a["createVNode"])("th",null,"#",-1),He={class:"text-left"},Ye={class:"text-left sport-action"},qe=Object(a["createVNode"])("th",null,null,-1),Xe={class:"center-text"},Ze=Object(a["createVNode"])("span",{class:"cell-heading"},"id",-1),Qe={class:"cell-heading"},Je={class:"sport-label"},et={class:"cell-heading"},tt={class:"center-text"},nt={class:"cell-heading"},rt={class:"sport-action"},ot={class:"cell-heading"},at={class:"action-button"},ct={key:0,class:"has-workouts"},it=Object(a["createVNode"])("i",{class:"fa fa-warning","aria-hidden":"true"},null,-1);Object(a["popScopeId"])();var st=Fe((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("SportImage"),s=Object(a["resolveComponent"])("ErrorMessage"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",We,[Object(a["createVNode"])(u,null,{title:Fe((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.SPORTS.TITLE")),1)]})),content:Fe((function(){return[Object(a["createVNode"])("button",{class:"top-button",onClick:t[1]||(t[1]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1),Object(a["createVNode"])("div",Ke,[Object(a["createVNode"])("table",null,[Object(a["createVNode"])("thead",null,[Object(a["createVNode"])("tr",null,[$e,Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.IMAGE")),1),Object(a["createVNode"])("th",He,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.LABEL")),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.ACTIVE")),1),Object(a["createVNode"])("th",Ye,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1),qe])]),Object(a["createVNode"])("tbody",null,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.translatedSports,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("tr",{key:t.id},[Object(a["createVNode"])("td",Xe,[Ze,Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.id),1)]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",Qe,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.IMAGE")),1),Object(a["createVNode"])(i,{title:t.translatedLabel,"sport-label":t.label},null,8,["title","sport-label"])]),Object(a["createVNode"])("td",Je,[Object(a["createVNode"])("span",et,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.LABEL")),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.translatedLabel),1)]),Object(a["createVNode"])("td",tt,[Object(a["createVNode"])("span",nt,Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.ACTIVE")),1),Object(a["createVNode"])("i",{class:"fa fa".concat(t.is_active?"-check":"","-square-o"),"aria-hidden":"true"},null,2)]),Object(a["createVNode"])("td",rt,[Object(a["createVNode"])("span",ot,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1),Object(a["createVNode"])("div",at,[Object(a["createVNode"])("button",{class:{danger:t.is_active},onClick:function(n){return e.updateSportStatus(t.id,!t.is_active)}},Object(a["toDisplayString"])(e.$t("buttons.".concat(t.is_active?"DIS":"EN","ABLE"))),11,["onClick"]),t.has_workouts?(Object(a["openBlock"])(),Object(a["createBlock"])("span",ct,[it,Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(e.$t("admin.SPORTS.TABLE.HAS_WORKOUTS")),1)])):Object(a["createCommentVNode"])("",!0)])])])})),128))])]),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("button",{onClick:t[2]||(t[2]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1)])]})),_:1})])})),ut=n("1119"),lt=Object(a["defineComponent"])({name:"AdminSports",setup:function(){var e=Object(y["b"])(),t=e.t,n=Object(B["a"])(),r=Object(a["computed"])((function(){return Object(ut["d"])(n.getters[w["b"].GETTERS.SPORTS],t)})),o=Object(a["computed"])((function(){return n.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function c(e,t){n.dispatch(w["b"].ACTIONS.UPDATE_SPORTS,{id:e,isActive:t})}return{errorMessages:o,translatedSports:r,updateSportStatus:c}}});n("3214");lt.render=st,lt.__scopeId="data-v-6d930723";var dt=lt,Ot=(n("4e82"),Object(a["withScopeId"])("data-v-2f9e0e4c"));Object(a["pushScopeId"])("data-v-2f9e0e4c");var pt={id:"admin-users",class:"admin-card"},mt={class:"responsive-table"},bt=Object(a["createVNode"])("th",null,"#",-1),Et={class:"left-text"},Tt={class:"left-text"},St={class:"left-text"},ft={class:"cell-heading"},_t={class:"cell-heading"},jt={class:"cell-heading"},At={class:"cell-heading"},Nt={class:"center-text"},Rt={class:"cell-heading"},It={class:"center-text"},gt={class:"cell-heading"},Ut={class:"center-text"},vt={class:"cell-heading"};Object(a["popScopeId"])();var Dt=Ot((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("AdminUsersSelects"),s=Object(a["resolveComponent"])("UserPicture"),u=Object(a["resolveComponent"])("router-link"),l=Object(a["resolveComponent"])("Pagination"),d=Object(a["resolveComponent"])("ErrorMessage"),O=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",pt,[Object(a["createVNode"])(O,null,{title:Ot((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.capitalize(e.$t("admin.USER",0))),1)]})),content:Ot((function(){return[Object(a["createVNode"])("button",{class:"top-button",onClick:t[1]||(t[1]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1),Object(a["createVNode"])(i,{sort:e.sort,order_by:e.order_by,query:e.query,onUpdateSelect:e.reloadUsers},null,8,["sort","order_by","query","onUpdateSelect"]),Object(a["createVNode"])("div",mt,[Object(a["createVNode"])("table",null,[Object(a["createVNode"])("thead",null,[Object(a["createVNode"])("tr",null,[bt,Object(a["createVNode"])("th",Et,Object(a["toDisplayString"])(e.$t("user.USERNAME")),1),Object(a["createVNode"])("th",Tt,Object(a["toDisplayString"])(e.$t("user.EMAIL")),1),Object(a["createVNode"])("th",St,Object(a["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE")),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",0))),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("user.ADMIN")),1),Object(a["createVNode"])("th",null,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1)])]),Object(a["createVNode"])("tbody",null,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.users,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("tr",{key:t.username},[Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",ft,Object(a["toDisplayString"])(e.$t("user.PROFILE.PICTURE")),1),Object(a["createVNode"])(s,{user:t},null,8,["user"])]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",_t,Object(a["toDisplayString"])(e.$t("user.USERNAME")),1),Object(a["createVNode"])(u,{to:"/users/".concat(t.username)},{default:Ot((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(t.username),1)]})),_:2},1032,["to"])]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",jt,Object(a["toDisplayString"])(e.$t("user.EMAIL")),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.email),1)]),Object(a["createVNode"])("td",null,[Object(a["createVNode"])("span",At,Object(a["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE")),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.created_at),1)]),Object(a["createVNode"])("td",Nt,[Object(a["createVNode"])("span",Rt,Object(a["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",0))),1),Object(a["createTextVNode"])(" "+Object(a["toDisplayString"])(t.nb_workouts),1)]),Object(a["createVNode"])("td",It,[Object(a["createVNode"])("span",gt,Object(a["toDisplayString"])(e.$t("user.ADMIN")),1),Object(a["createVNode"])("i",{class:"fa fa".concat(t.admin?"-check":"","-square-o"),"aria-hidden":"true"},null,2)]),Object(a["createVNode"])("td",Ut,[Object(a["createVNode"])("span",vt,Object(a["toDisplayString"])(e.$t("admin.ACTION")),1),Object(a["createVNode"])("button",{class:{danger:t.admin},disabled:t.username===e.authUser.username,onClick:function(n){return e.updateUser(t.username,!t.admin)}},Object(a["toDisplayString"])(e.$t("admin.USERS.TABLE.".concat(t.admin?"REMOVE":"ADD","_ADMIN_RIGHTS"))),11,["disabled","onClick"])])])})),128))])]),e.pagination.page?(Object(a["openBlock"])(),Object(a["createBlock"])(l,{key:0,path:"/admin/users",pagination:e.pagination,query:e.query},null,8,["pagination","query"])):Object(a["createCommentVNode"])("",!0),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(d,{key:1,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("button",{onClick:t[2]||(t[2]=Object(a["withModifiers"])((function(t){return e.$router.push("/admin")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("admin.BACK_TO_ADMIN")),1)])]})),_:1})])})),Pt=Object(a["withScopeId"])("data-v-4a4a3d67");Object(a["pushScopeId"])("data-v-4a4a3d67");var ht={class:"table-selects"};Object(a["popScopeId"])();var Ct=Pt((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",ht,[Object(a["createVNode"])("label",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER_BY.LABEL"))+": ",1),Object(a["createVNode"])("select",{name:"order_by",id:"order_by",value:e.query.order_by,onChange:t[1]||(t[1]=function(){return e.onSelectUpdate&&e.onSelectUpdate.apply(e,arguments)})},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.order_by,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:t,key:t},Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER_BY.".concat(t))),9,["value"])})),128))],40,["value"])]),Object(a["createVNode"])("label",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER.LABEL"))+": ",1),Object(a["createVNode"])("select",{name:"order",id:"order",value:e.query.order,onChange:t[2]||(t[2]=function(){return e.onSelectUpdate&&e.onSelectUpdate.apply(e,arguments)})},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.sort,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:t,key:t},Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.ORDER.".concat(t.toUpperCase()))),9,["value"])})),128))],40,["value"])]),Object(a["createVNode"])("label",null,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("admin.USERS.SELECTS.PER_PAGE.LABEL"))+": ",1),Object(a["createVNode"])("select",{name:"per_page",id:"per_page",value:e.query.per_page,onChange:t[3]||(t[3]=function(){return e.onSelectUpdate&&e.onSelectUpdate.apply(e,arguments)})},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.per_page,(function(e){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:e,key:e},Object(a["toDisplayString"])(e),9,["value"])})),128))],40,["value"])])])})),kt=Object(a["defineComponent"])({name:"AdminUsersSelects",props:{order_by:{type:Object,required:!0},query:{type:Object,required:!0},sort:{type:Object,required:!0}},emits:["updateSelect"],setup:function(e,t){var n=t.emit;function r(e){n("updateSelect",e.target.id,e.target.value)}return{per_page:[10,50,100],onSelectUpdate:r}}});n("b5e1");kt.render=Ct,kt.__scopeId="data-v-4a4a3d67";var Mt=kt,Lt=Object(a["withScopeId"])("data-v-7694e784");Object(a["pushScopeId"])("data-v-7694e784");var zt={class:"pagination-center","aria-label":"navigation"},yt={class:"pagination"};Object(a["popScopeId"])();var Vt=Lt((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("router-link");return Object(a["openBlock"])(),Object(a["createBlock"])("nav",zt,[Object(a["createVNode"])("ul",yt,[Object(a["createVNode"])("li",{class:["page-prev",{disabled:!e.pagination.has_prev}]},[Object(a["createVNode"])(i,{class:"page-link",to:{path:e.path,query:e.getQuery(e.pagination.page,-1)},event:e.pagination.has_prev?"click":"",disabled:!e.pagination.has_prev},{default:Lt((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("api.PAGINATION.PREVIOUS")),1)]})),_:1},8,["to","event","disabled"])],2),(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.rangePagination(e.pagination.pages),(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("li",{key:t,class:["page",{active:t===e.pagination.page}]},[Object(a["createVNode"])(i,{class:"page-link",to:{path:e.path,query:e.getQuery(t)}},{default:Lt((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(t),1)]})),_:2},1032,["to"])],2)})),128)),Object(a["createVNode"])("li",{class:["page-next",{disabled:!e.pagination.has_next}]},[Object(a["createVNode"])(i,{class:"page-link",to:{path:e.path,query:e.getQuery(e.pagination.page,1)},event:e.pagination.has_next?"click":"",disabled:!e.pagination.has_next},{default:Lt((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("api.PAGINATION.NEXT")),1)]})),_:1},8,["to","event","disabled"])],2)])])})),wt=(n("a630"),Object(a["defineComponent"])({name:"Pagination",props:{pagination:{type:Object,required:!0},path:{type:String,required:!0},query:{type:Object,required:!0}},setup:function(e){function t(e){return Array.from({length:e},(function(e,t){return t+1}))}function n(t,n){var r=Object.assign({},e.query);return r.page=n?t+n:t,r}return{rangePagination:t,getQuery:n}}}));n("edfa");wt.render=Vt,wt.__scopeId="data-v-7694e784";var Bt=wt,Gt=Object(a["defineComponent"])({name:"AdminUsers",components:{AdminUsersSelects:Mt,Pagination:Bt,UserPicture:V["a"]},setup:function(){var e=Object(B["a"])(),t=Object(ie["c"])(),n=Object(ie["d"])(),r=["asc","desc"],o=["admin","created_at","username","workouts_count"],c=Object(a["reactive"])(E(t.query)),i=Object(a["computed"])((function(){return e.getters[w["e"].GETTERS.AUTH_USER_PROFILE]})),s=Object(a["computed"])((function(){return e.getters[w["d"].GETTERS.USERS]})),u=Object(a["computed"])((function(){return e.getters[w["d"].GETTERS.USERS_PAGINATION]})),l=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function d(t){e.dispatch(w["d"].ACTIONS.GET_USERS,t)}function O(e){return e&&"string"===typeof e&&+e>0?+e:1}function p(e){return e&&"string"===typeof e&&+e>0?+e:10}function m(e){return e&&"string"===typeof e&&r.includes(e)?e:"asc"}function b(e){return e&&"string"===typeof e&&o.includes(e)?e:"created_at"}function E(e){return{page:O(e.page),per_page:p(e.per_page),order:m(e.order),order_by:b(e.order_by)}}function T(t,n){e.dispatch(w["d"].ACTIONS.UPDATE_USER,{username:t,admin:n})}function S(e,t){c[e]=t,"per_page"===e&&(c.page=1),n.push({path:"/admin/users",query:c})}return Object(a["onBeforeMount"])((function(){return d(c)})),Object(a["watch"])((function(){return t.query}),(function(e){c.page=O(e.page),c.per_page=p(e.per_page),c.order=m(e.order),c.order_by=b(e.order_by),d(c)})),Object(a["onUnmounted"])((function(){e.dispatch(w["d"].ACTIONS.EMPTY_USERS)})),{authUser:i,errorMessages:l,pagination:u,order_by:o,query:c,sort:r,users:s,capitalize:a["capitalize"],reloadUsers:S,updateUser:T}}});n("f79f");Gt.render=Dt,Gt.__scopeId="data-v-2f9e0e4c";var xt=Gt,Ft=Object(a["withScopeId"])("data-v-c81580c0");Object(a["pushScopeId"])("data-v-c81580c0");var Wt={id:"user-profile"},Kt={class:"box"};Object(a["popScopeId"])();var $t=Ft((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("UserHeader"),s=Object(a["resolveComponent"])("UserProfileTabs"),u=Object(a["resolveComponent"])("router-view");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Wt,[Object(a["createVNode"])(i,{user:e.user},null,8,["user"]),Object(a["createVNode"])("div",Kt,[Object(a["createVNode"])(s,{tabs:e.tabs,selectedTab:e.tab,edition:!1},null,8,["tabs","selectedTab"]),Object(a["createVNode"])(u,{user:e.user},null,8,["user"])])])})),Ht=n("3c44"),Yt={class:"profile-tabs custom-checkboxes-group"},qt={class:"profile-tabs-checkboxes custom-checkboxes"};function Xt(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",Yt,[Object(a["createVNode"])("div",qt,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.tabs,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("div",{class:"profile-tab custom-checkbox",key:t},[Object(a["createVNode"])("label",null,[Object(a["createVNode"])("input",{type:"radio",id:t,name:t,checked:e.selectedTab===t,disabled:e.disabled,onInput:function(n){return e.$router.push(e.getPath(t))}},null,40,["id","name","checked","disabled","onInput"]),Object(a["createVNode"])("span",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.TABS.".concat(t))),1)])])})),128))])])}var Zt=Object(a["defineComponent"])({name:"UserProfileTabs",props:{tabs:{type:Object,required:!0},selectedTab:{type:String,required:!0},edition:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1}},setup:function(e){function t(t){switch(t){case"PICTURE":return"/profile/edit/picture";case"PREFERENCES":return"/profile".concat(e.edition?"/edit":"","/preferences");default:case"PROFILE":return"/profile".concat(e.edition?"/edit":"")}}return{getPath:t}}});n("d42e");Zt.render=Xt;var Qt=Zt,Jt=Object(a["defineComponent"])({name:"ProfileDisplay",components:{UserHeader:Ht["a"],UserProfileTabs:Qt},props:{user:{type:Object,required:!0},tab:{type:String,required:!0}},setup:function(){return{tabs:["PROFILE","PREFERENCES"]}}});n("7ffe");Jt.render=$t,Jt.__scopeId="data-v-c81580c0";var en=Jt,tn=n("71a7"),nn=Object(a["withScopeId"])("data-v-39667dbe");Object(a["pushScopeId"])("data-v-39667dbe");var rn={id:"user-preferences",class:"description-list"},on={class:"profile-buttons"};Object(a["popScopeId"])();var an=nn((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",rn,[Object(a["createVNode"])("dl",null,[Object(a["createVNode"])("dt",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.LANGUAGE"))+":",1),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.language),1),Object(a["createVNode"])("dt",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.TIMEZONE"))+":",1),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.timezone),1),Object(a["createVNode"])("dt",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.FIRST_DAY_OF_WEEK"))+":",1),Object(a["createVNode"])("dd",null,Object(a["toDisplayString"])(e.$t("user.PROFILE.".concat(e.fistDayOfWeek))),1)]),Object(a["createVNode"])("div",on,[Object(a["createVNode"])("button",{onClick:t[1]||(t[1]=function(t){return e.$router.push("/profile/edit/preferences")})},Object(a["toDisplayString"])(e.$t("user.PROFILE.EDIT_PREFERENCES")),1),Object(a["createVNode"])("button",{onClick:t[2]||(t[2]=function(t){return e.$router.push("/")})},Object(a["toDisplayString"])(e.$t("common.HOME")),1)])])})),cn=Object(a["defineComponent"])({name:"UserPreferences",props:{user:{type:Object,required:!0}},setup:function(e){var t=Object(a["computed"])((function(){return e.user.language?H[e.user.language]:H["en"]})),n=Object(a["computed"])((function(){return e.user.weekm?"MONDAY":"SUNDAY"})),r=Object(a["computed"])((function(){return e.user.timezone?e.user.timezone:"Europe/Paris"}));return{fistDayOfWeek:n,language:t,timezone:r}}});n("cbea");cn.render=an,cn.__scopeId="data-v-39667dbe";var sn=cn,un={id:"user-profile-edition",class:"center-card"};function ln(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("UserProfileTabs"),s=Object(a["resolveComponent"])("router-view"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",un,[Object(a["createVNode"])(u,null,{title:Object(a["withCtx"])((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.".concat(e.tab,"_EDITION"))),1)]})),content:Object(a["withCtx"])((function(){return[Object(a["createVNode"])(i,{tabs:e.tabs,selectedTab:e.tab,edition:!0,disabled:e.loading},null,8,["tabs","selectedTab","disabled"]),Object(a["createVNode"])(s,{user:e.user},null,8,["user"])]})),_:1})])}var dn=Object(a["defineComponent"])({name:"ProfileEdition",components:{UserProfileTabs:Qt},props:{user:{type:Object,required:!0},tab:{type:String,required:!0}},setup:function(){var e=Object(B["a"])();return{loading:Object(a["computed"])((function(){return e.getters[w["e"].GETTERS.USER_LOADING]})),tabs:["PROFILE","PICTURE","PREFERENCES"]}}});dn.render=ln;var On=dn,pn={id:"user-infos-edition"},mn={class:"profile-form form-box"},bn={class:"form-items",for:"email"},En={class:"form-items",for:"registrationDate"},Tn={class:"form-items",for:"password"},Sn={class:"form-items",for:"passwordConfirmation"},fn=Object(a["createVNode"])("hr",null,null,-1),_n={class:"form-items",for:"first_name"},jn={class:"form-items",for:"last_name"},An={class:"form-items",for:"birth_date"},Nn={class:"form-items",for:"location"},Rn={class:"form-items"},In={class:"form-buttons"},gn={class:"confirm",type:"submit"};function Un(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("Modal"),s=Object(a["resolveComponent"])("ErrorMessage"),u=Object(a["resolveComponent"])("CustomTextArea");return Object(a["openBlock"])(),Object(a["createBlock"])("div",pn,[e.displayModal?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,title:e.$t("common.CONFIRMATION"),message:e.$t("user.CONFIRM_ACCOUNT_DELETION"),onConfirmAction:t[1]||(t[1]=function(t){return e.deleteAccount(e.user.username)}),onCancelAction:t[2]||(t[2]=function(t){return e.updateDisplayModal(!1)})},null,8,["title","message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("div",mn,[e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("form",{onSubmit:t[11]||(t[11]=Object(a["withModifiers"])((function(){return e.updateProfile&&e.updateProfile.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("label",bn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.EMAIL"))+" ",1),Object(a["createVNode"])("input",{id:"email",value:e.user.email,disabled:""},null,8,["value"])]),Object(a["createVNode"])("label",En,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.REGISTRATION_DATE"))+" ",1),Object(a["createVNode"])("input",{id:"registrationDate",value:e.registrationDate,disabled:""},null,8,["value"])]),Object(a["createVNode"])("label",Tn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PASSWORD"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"password",type:"password","onUpdate:modelValue":t[3]||(t[3]=function(t){return e.userForm.password=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.password]])]),Object(a["createVNode"])("label",Sn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PASSWORD_CONFIRMATION"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"passwordConfirmation",type:"password","onUpdate:modelValue":t[4]||(t[4]=function(t){return e.userForm.password_conf=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.password_conf]])]),fn,Object(a["createVNode"])("label",_n,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.FIRST_NAME"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"first_name","onUpdate:modelValue":t[5]||(t[5]=function(t){return e.userForm.first_name=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.first_name]])]),Object(a["createVNode"])("label",jn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.LAST_NAME"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"last_name","onUpdate:modelValue":t[6]||(t[6]=function(t){return e.userForm.last_name=t})},null,512),[[a["vModelText"],e.userForm.last_name]])]),Object(a["createVNode"])("label",An,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.BIRTH_DATE"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"birth_date",type:"date",class:"birth-date","onUpdate:modelValue":t[7]||(t[7]=function(t){return e.userForm.birth_date=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.birth_date]])]),Object(a["createVNode"])("label",Nn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.LOCATION"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"location","onUpdate:modelValue":t[8]||(t[8]=function(t){return e.userForm.location=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.location]])]),Object(a["createVNode"])("label",Rn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.BIO"))+" ",1),Object(a["createVNode"])(u,{name:"bio",charLimit:200,input:e.userForm.bio,disabled:e.loading,onUpdateValue:e.updateBio},null,8,["input","disabled","onUpdateValue"])]),Object(a["createVNode"])("div",In,[Object(a["createVNode"])("button",gn,Object(a["toDisplayString"])(e.$t("buttons.SUBMIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[9]||(t[9]=Object(a["withModifiers"])((function(t){return e.$router.push("/profile")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.CANCEL")),1),Object(a["createVNode"])("button",{class:"danger",onClick:t[10]||(t[10]=Object(a["withModifiers"])((function(t){return e.updateDisplayModal(!0)}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.DELETE_MY_ACCOUNT")),1)])],32)])])}var vn=n("b166"),Dn=Object(a["defineComponent"])({name:"UserInfosEdition",props:{user:{type:Object,required:!0}},setup:function(e){var t=Object(B["a"])(),n=Object(a["reactive"])({password:"",password_conf:"",first_name:"",last_name:"",birth_date:"",location:"",bio:""}),r=Object(a["computed"])((function(){return e.user.created_at?Object(vn["a"])(new Date(e.user.created_at),"dd/MM/yyyy HH:mm"):""})),o=Object(a["computed"])((function(){return t.getters[w["e"].GETTERS.USER_LOADING]})),c=Object(a["computed"])((function(){return t.getters[w["a"].GETTERS.ERROR_MESSAGES]})),i=Object(a["ref"])(!1);function s(e){n.first_name=e.first_name?e.first_name:"",n.last_name=e.last_name?e.last_name:"",n.birth_date=e.birth_date?Object(vn["a"])(new Date(e.birth_date),"yyyy-MM-dd"):"",n.location=e.location?e.location:"",n.bio=e.bio?e.bio:""}function u(e){n.bio=e}function l(){t.dispatch(w["e"].ACTIONS.UPDATE_USER_PROFILE,n)}function d(e){i.value=e}function O(e){t.dispatch(w["e"].ACTIONS.DELETE_ACCOUNT,{username:e})}return Object(a["onMounted"])((function(){e.user&&s(e.user)})),{displayModal:i,errorMessages:c,loading:o,registrationDate:r,userForm:n,deleteAccount:O,updateBio:u,updateDisplayModal:d,updateProfile:l}}});n("0679");Dn.render=Un;var Pn=Dn,hn=Object(a["withScopeId"])("data-v-500d4a7a");Object(a["pushScopeId"])("data-v-500d4a7a");var Cn={id:"user-picture-edition"},kn={class:"user-picture-form"},Mn={class:"picture-buttons"};Object(a["popScopeId"])();var Ln=hn((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("ErrorMessage"),s=Object(a["resolveComponent"])("UserPicture");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Cn,[Object(a["createVNode"])("div",kn,[e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])(s,{user:e.user},null,8,["user"]),Object(a["createVNode"])("form",{onSubmit:t[4]||(t[4]=Object(a["withModifiers"])((function(){return e.updateUserPicture&&e.updateUserPicture.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("input",{type:"file",name:"picture",accept:".png,.jpg,.gif",onInput:t[1]||(t[1]=function(){return e.updatePictureFile&&e.updatePictureFile.apply(e,arguments)})},null,32),Object(a["createVNode"])("div",Mn,[Object(a["createVNode"])("button",{type:"submit",disabled:!e.pictureFile},Object(a["toDisplayString"])(e.$t("user.PROFILE.PICTURE_UPDATE")),9,["disabled"]),e.user.picture?(Object(a["openBlock"])(),Object(a["createBlock"])("button",{key:0,class:"danger",onClick:t[2]||(t[2]=function(){return e.deleteUserPicture&&e.deleteUserPicture.apply(e,arguments)})},Object(a["toDisplayString"])(e.$t("user.PROFILE.PICTURE_REMOVE")),1)):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("button",{class:"cancel",onClick:t[3]||(t[3]=function(t){return e.$router.push("/profile")})},Object(a["toDisplayString"])(e.$t("user.PROFILE.BACK_TO_PROFILE")),1)]),Object(a["createVNode"])("span",null,Object(a["toDisplayString"])(e.$t("workouts.MAX_SIZE"))+": "+Object(a["toDisplayString"])(e.fileSizeLimit),1)],32)])])})),zn=Object(a["defineComponent"])({name:"UserPictureEdition",components:{UserPicture:V["a"]},props:{user:{type:Object,required:!0}},setup:function(){var e=Object(B["a"])(),t=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.ERROR_MESSAGES]})),n=Object(a["computed"])((function(){return e.getters[w["a"].GETTERS.APP_CONFIG]})),r=n.value.max_single_file_size?Object(je["b"])(n.value.max_single_file_size):"",o=Object(a["ref"])(null);function c(){e.dispatch(w["e"].ACTIONS.DELETE_PICTURE)}function i(e){e.target.files&&(o.value=e.target.files[0])}function s(){o.value&&e.dispatch(w["e"].ACTIONS.UPDATE_USER_PICTURE,{picture:o.value})}return{errorMessages:t,fileSizeLimit:r,pictureFile:o,deleteUserPicture:c,updateUserPicture:s,updatePictureFile:i}}});n("b9fd");zn.render=Ln,zn.__scopeId="data-v-500d4a7a";var yn=zn,Vn={id:"user-preferences-edition"},wn={class:"profile-form form-box"},Bn={class:"form-items"},Gn={class:"form-items",for:"timezone"},xn={class:"form-items"},Fn={class:"form-buttons"},Wn={class:"confirm",type:"submit"};function Kn(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("ErrorMessage");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Vn,[Object(a["createVNode"])("div",wn,[e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("form",{onSubmit:t[5]||(t[5]=Object(a["withModifiers"])((function(){return e.updateProfile&&e.updateProfile.apply(e,arguments)}),["prevent"]))},[Object(a["createVNode"])("label",Bn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.LANGUAGE"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("select",{id:"language","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.userForm.language=t}),disabled:e.loading},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.availableLanguages,(function(e){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:e.value,key:e.value},Object(a["toDisplayString"])(e.label),9,["value"])})),128))],8,["disabled"]),[[a["vModelSelect"],e.userForm.language]])]),Object(a["createVNode"])("label",Gn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.TIMEZONE"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("input",{id:"timezone","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.userForm.timezone=t}),disabled:e.loading},null,8,["disabled"]),[[a["vModelText"],e.userForm.timezone]])]),Object(a["createVNode"])("label",xn,[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.$t("user.PROFILE.FIRST_DAY_OF_WEEK"))+" ",1),Object(a["withDirectives"])(Object(a["createVNode"])("select",{id:"weekm","onUpdate:modelValue":t[3]||(t[3]=function(t){return e.userForm.weekm=t}),disabled:e.loading},[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.weekStart,(function(t){return Object(a["openBlock"])(),Object(a["createBlock"])("option",{value:t.value,key:t.value},Object(a["toDisplayString"])(e.$t("user.PROFILE.".concat(t.label))),9,["value"])})),128))],8,["disabled"]),[[a["vModelSelect"],e.userForm.weekm]])]),Object(a["createVNode"])("div",Fn,[Object(a["createVNode"])("button",Wn,Object(a["toDisplayString"])(e.$t("buttons.SUBMIT")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[4]||(t[4]=Object(a["withModifiers"])((function(t){return e.$router.push("/profile/preferences")}),["prevent"]))},Object(a["toDisplayString"])(e.$t("buttons.CANCEL")),1)])],32)])])}var $n=Object(a["defineComponent"])({name:"UserPreferencesEdition",props:{user:{type:Object,required:!0}},setup:function(e){var t=Object(B["a"])(),n=Object(a["reactive"])({language:"",timezone:"Europe/Paris",weekm:!1}),r=[{label:"MONDAY",value:!0},{label:"SUNDAY",value:!1}],o=Object(a["computed"])((function(){return t.getters[w["e"].GETTERS.USER_LOADING]})),c=Object(a["computed"])((function(){return t.getters[w["a"].GETTERS.ERROR_MESSAGES]}));function i(e){n.language=e.language?e.language:"en",n.timezone=e.timezone?e.timezone:"Europe/Paris",n.weekm=!!e.weekm&&e.weekm}function s(){t.dispatch(w["e"].ACTIONS.UPDATE_USER_PREFERENCES,n)}return Object(a["onMounted"])((function(){e.user&&i(e.user)})),{availableLanguages:q,errorMessages:c,loading:o,userForm:n,weekStart:r,updateProfile:s}}});$n.render=Kn;var Hn=$n,Yn=n("5502"),qn=n("ade3"),Xn=n("bc3a"),Zn=n.n(Xn),Qn=Zn.a.create({baseURL:Object(G["a"])()});Qn.interceptors.request.use((function(e){var t=no.getters[w["e"].GETTERS.AUTH_TOKEN];if(t){var n="Bearer ".concat(t);e.headers.Authorization!==n&&(e.headers.Authorization="Bearer ".concat(t))}return e}),(function(e){return Promise.reject(e)}));var Jn,er,tr,nr,rr,or,ar,cr,ir,sr,ur,lr,dr,Or,pr=Qn,mr=(Jn={},Object(qn["a"])(Jn,w["a"].ACTIONS.GET_APPLICATION_CONFIG,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_LOADING,!0),pr.get("config").then((function(t){"success"===t.data.status?e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_CONFIG,t.data.data):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_LOADING,!1)}))})),Object(qn["a"])(Jn,w["a"].ACTIONS.GET_APPLICATION_STATS,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("stats/all").then((function(t){"success"===t.data.status?e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_STATS,t.data.data):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(Jn,w["a"].ACTIONS.UPDATE_APPLICATION_CONFIG,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.patch("config",t).then((function(t){"success"===t.data.status?(e.commit(w["a"].MUTATIONS.UPDATE_APPLICATION_CONFIG,t.data.data),io.push("/admin/application")):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Jn),br=(er={},Object(qn["a"])(er,w["a"].GETTERS.APP_CONFIG,(function(e){return e.application.config})),Object(qn["a"])(er,w["a"].GETTERS.APP_LOADING,(function(e){return e.appLoading})),Object(qn["a"])(er,w["a"].GETTERS.APP_STATS,(function(e){return e.application.statistics})),Object(qn["a"])(er,w["a"].GETTERS.ERROR_MESSAGES,(function(e){return e.errorMessages})),Object(qn["a"])(er,w["a"].GETTERS.LANGUAGE,(function(e){return e.language})),Object(qn["a"])(er,w["a"].GETTERS.LOCALE,(function(e){return e.locale})),er),Er=(tr={},Object(qn["a"])(tr,w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES,(function(e){e.errorMessages=null})),Object(qn["a"])(tr,w["a"].MUTATIONS.SET_ERROR_MESSAGES,(function(e,t){e.errorMessages=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_APPLICATION_CONFIG,(function(e,t){e.application.config=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_APPLICATION_LOADING,(function(e,t){e.appLoading=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_APPLICATION_STATS,(function(e,t){e.application.statistics=t})),Object(qn["a"])(tr,w["a"].MUTATIONS.UPDATE_LANG,(function(e,t){e.language=t,e.locale=$[t]})),tr),Tr={root:!0,language:"en",locale:x["a"],errorMessages:null,application:{},appLoading:!1},Sr=(nr={},Object(qn["a"])(nr,w["b"].ACTIONS.GET_SPORTS,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("sports").then((function(t){"success"===t.data.status?e.commit(w["b"].MUTATIONS.SET_SPORTS,t.data.data.sports):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(nr,w["b"].ACTIONS.UPDATE_SPORTS,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.patch("sports/".concat(t.id),{is_active:t.isActive}).then((function(t){"success"===t.data.status?e.dispatch(w["b"].ACTIONS.GET_SPORTS):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),nr),fr=Object(qn["a"])({},w["b"].GETTERS.SPORTS,(function(e){return e.sports})),_r=Object(qn["a"])({},w["b"].MUTATIONS.SET_SPORTS,(function(e,t){e.sports=t})),jr={sports:[]},Ar={state:jr,actions:Sr,getters:fr,mutations:_r},Nr=Ar,Rr=Object(qn["a"])({},w["c"].ACTIONS.GET_USER_STATS,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("stats/".concat(t.username,"/").concat(t.filterType),{params:t.params}).then((function(t){"success"===t.data.status?e.commit(w["c"].MUTATIONS.UPDATE_USER_STATS,t.data.data.statistics):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Ir=Object(qn["a"])({},w["c"].GETTERS.USER_STATS,(function(e){return e.statistics})),gr=(rr={},Object(qn["a"])(rr,w["c"].MUTATIONS.UPDATE_USER_STATS,(function(e,t){e.statistics=t})),Object(qn["a"])(rr,w["c"].MUTATIONS.EMPTY_USER_STATS,(function(e){e.statistics={}})),rr),Ur={statistics:{}},vr={state:Ur,actions:Rr,getters:Ir,mutations:gr},Dr=vr,Pr=Zn.a.create({baseURL:Object(G["a"])()}),hr=Pr,Cr=K.global.locale,kr=(or={},Object(qn["a"])(or,w["e"].ACTIONS.CHECK_AUTH_USER,(function(e){window.localStorage.authToken&&!e.getters[w["e"].GETTERS.IS_AUTHENTICATED]&&(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_TOKEN,window.localStorage.authToken),e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE))})),Object(qn["a"])(or,w["e"].ACTIONS.GET_USER_PROFILE,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("auth/profile").then((function(t){"success"===t.data.status?(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,t.data.data),t.data.data.language&&(e.commit(w["a"].MUTATIONS.UPDATE_LANG,t.data.data.language),Cr.value=t.data.data.language),e.dispatch(w["b"].ACTIONS.GET_SPORTS)):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.LOGIN_OR_REGISTER,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),hr.post("/auth/".concat(t.actionType),t.formData).then((function(t){if("success"===t.data.status){var n=t.data.auth_token;window.localStorage.setItem("authToken",n),e.commit(w["e"].MUTATIONS.UPDATE_AUTH_TOKEN,n),e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE).then((function(){return io.push("/")}))}else Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.LOGOUT,(function(e){localStorage.removeItem("authToken"),e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["c"].MUTATIONS.EMPTY_USER_STATS),e.commit(w["e"].MUTATIONS.CLEAR_AUTH_USER_TOKEN),e.commit(w["f"].MUTATIONS.EMPTY_WORKOUTS),io.push("/login")})),Object(qn["a"])(or,w["e"].ACTIONS.UPDATE_USER_PROFILE,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),pr.post("auth/profile/edit",t).then((function(t){"success"===t.data.status?(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,t.data.data),io.push("/profile")):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.UPDATE_USER_PREFERENCES,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),pr.post("auth/profile/edit/preferences",t).then((function(t){"success"===t.data.status?(e.commit(w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,t.data.data),e.commit(w["a"].MUTATIONS.UPDATE_LANG,t.data.data.language),Cr.value=t.data.data.language,io.push("/profile/preferences")):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.UPDATE_USER_PICTURE,(function(e,t){if(e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),!t.picture)throw new Error("No file part");var n=new FormData;n.append("file",t.picture),pr.post("auth/picture",n,{headers:{"content-type":"multipart/form-data"}}).then((function(t){"success"===t.data.status?e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE).then((function(){return io.push("/profile")})):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.DELETE_ACCOUNT,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.delete("users/".concat(t.username)).then((function(t){204===t.status?e.dispatch(w["e"].ACTIONS.LOGOUT).then((function(){return io.push("/")})):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.DELETE_PICTURE,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!0),pr.delete("auth/picture").then((function(t){204===t.status?e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE).then((function(){return io.push("/profile")})):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["e"].MUTATIONS.UPDATE_USER_LOADING,!1)}))})),Object(qn["a"])(or,w["e"].ACTIONS.SEND_PASSWORD_RESET_REQUEST,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),hr.post("auth/password/reset-request",t).then((function(t){"success"===t.data.status?io.push("/password-reset/sent"):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),Object(qn["a"])(or,w["e"].ACTIONS.RESET_USER_PASSWORD,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),hr.post("auth/password/update",t).then((function(t){"success"===t.data.status?io.push("/password-reset/password-updated"):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))})),or),Mr=(ar={},Object(qn["a"])(ar,w["e"].GETTERS.AUTH_TOKEN,(function(e){return e.authToken})),Object(qn["a"])(ar,w["e"].GETTERS.AUTH_USER_PROFILE,(function(e){return e.authUserProfile})),Object(qn["a"])(ar,w["e"].GETTERS.IS_AUTHENTICATED,(function(e){return null!==e.authToken})),Object(qn["a"])(ar,w["e"].GETTERS.IS_ADMIN,(function(e){return e.authUserProfile&&e.authUserProfile.admin})),Object(qn["a"])(ar,w["e"].GETTERS.USER_LOADING,(function(e){return e.loading})),ar),Lr=(cr={},Object(qn["a"])(cr,w["e"].MUTATIONS.CLEAR_AUTH_USER_TOKEN,(function(e){e.authToken=null,e.authUserProfile={}})),Object(qn["a"])(cr,w["e"].MUTATIONS.UPDATE_AUTH_TOKEN,(function(e,t){e.authToken=t})),Object(qn["a"])(cr,w["e"].MUTATIONS.UPDATE_AUTH_USER_PROFILE,(function(e,t){e.authUserProfile=t})),Object(qn["a"])(cr,w["e"].MUTATIONS.UPDATE_USER_LOADING,(function(e,t){e.loading=t})),cr),zr={authToken:null,authUserProfile:{},loading:!1},yr={state:zr,actions:kr,getters:Mr,mutations:Lr},Vr=yr,wr=(ir={},Object(qn["a"])(ir,w["d"].ACTIONS.EMPTY_USER,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USER,{})})),Object(qn["a"])(ir,w["d"].ACTIONS.EMPTY_USERS,(function(e){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USERS,[]),e.commit(w["d"].MUTATIONS.UPDATE_USERS_PAGINATION,{})})),Object(qn["a"])(ir,w["d"].ACTIONS.GET_USER,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!0),pr.get("users/".concat(t)).then((function(t){"success"===t.data.status?e.commit(w["d"].MUTATIONS.UPDATE_USER,t.data.data.users[0]):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!1)}))})),Object(qn["a"])(ir,w["d"].ACTIONS.GET_USERS,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!0),pr.get("users",{params:t}).then((function(t){"success"===t.data.status?(e.commit(w["d"].MUTATIONS.UPDATE_USERS,t.data.data.users),e.commit(w["d"].MUTATIONS.UPDATE_USERS_PAGINATION,t.data.pagination)):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!1)}))})),Object(qn["a"])(ir,w["d"].ACTIONS.UPDATE_USER,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.patch("users/".concat(t.username),{admin:t.admin}).then((function(t){"success"===t.data.status?e.commit(w["d"].MUTATIONS.UPDATE_USER_IN_USERS,t.data.data.users[0]):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)})).finally((function(){return e.commit(w["d"].MUTATIONS.UPDATE_USERS_LOADING,!1)}))})),ir),Br=(sr={},Object(qn["a"])(sr,w["d"].GETTERS.USER,(function(e){return e.user})),Object(qn["a"])(sr,w["d"].GETTERS.USERS,(function(e){return e.users})),Object(qn["a"])(sr,w["d"].GETTERS.USERS_LOADING,(function(e){return e.loading})),Object(qn["a"])(sr,w["d"].GETTERS.USERS_PAGINATION,(function(e){return e.pagination})),sr),Gr=(ur={},Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USER,(function(e,t){e.user=t})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USER_IN_USERS,(function(e,t){e.users=e.users.map((function(e){return e.username===t.username?t:e}))})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USERS,(function(e,t){e.users=t})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USERS_LOADING,(function(e,t){e.loading=t})),Object(qn["a"])(ur,w["d"].MUTATIONS.UPDATE_USERS_PAGINATION,(function(e,t){e.pagination=t})),ur),xr={user:{},users:[],loading:!1,pagination:{}},Fr={state:xr,actions:wr,getters:Br,mutations:Gr},Wr=Fr,Kr=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),pr.get("workouts",{params:t}).then((function(t){"success"===t.data.status?e.commit("CALENDAR_WORKOUTS"===n?w["f"].MUTATIONS.SET_CALENDAR_WORKOUTS:r?w["f"].MUTATIONS.ADD_USER_WORKOUTS:w["f"].MUTATIONS.SET_USER_WORKOUTS,t.data.data.workouts):Object(G["b"])(e,null)})).catch((function(t){return Object(G["b"])(e,t)}))},$r=(lr={},Object(qn["a"])(lr,w["f"].ACTIONS.GET_CALENDAR_WORKOUTS,(function(e,t){e.commit(w["f"].MUTATIONS.EMPTY_CALENDAR_WORKOUTS),Kr(e,t,"CALENDAR_WORKOUTS")})),Object(qn["a"])(lr,w["f"].ACTIONS.GET_USER_WORKOUTS,(function(e,t){Kr(e,t,"USER_WORKOUTS")})),Object(qn["a"])(lr,w["f"].ACTIONS.GET_MORE_USER_WORKOUTS,(function(e,t){Kr(e,t,"USER_WORKOUTS",!0)})),Object(qn["a"])(lr,w["f"].ACTIONS.GET_WORKOUT_DATA,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0);var n=t.segmentId?"/segment/".concat(t.segmentId):"";pr.get("workouts/".concat(t.workoutId)).then((function(r){var o=r.data.data.workouts[0];if("success"===r.data.status){if(t.segmentId&&(0===o.segments.length||!o.segments[+t.segmentId-1]))throw new Error("WORKOUT_NOT_FOUND");e.commit(w["f"].MUTATIONS.SET_WORKOUT,r.data.data.workouts[0]),r.data.data.workouts[0].with_gpx&&(pr.get("workouts/".concat(t.workoutId,"/chart_data").concat(n)).then((function(t){"success"===t.data.status&&e.commit(w["f"].MUTATIONS.SET_WORKOUT_CHART_DATA,t.data.data.chart_data)})),pr.get("workouts/".concat(t.workoutId,"/gpx").concat(n)).then((function(t){"success"===t.data.status&&e.commit(w["f"].MUTATIONS.SET_WORKOUT_GPX,t.data.data.gpx)})))}else e.commit(w["f"].MUTATIONS.EMPTY_WORKOUT),Object(G["b"])(e,null)})).catch((function(t){e.commit(w["f"].MUTATIONS.EMPTY_WORKOUT),Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.DELETE_WORKOUT,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),pr.delete("workouts/".concat(t.workoutId)).then((function(){e.commit(w["f"].MUTATIONS.EMPTY_WORKOUT),e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE),io.push("/")})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.EDIT_WORKOUT,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),pr.patch("workouts/".concat(t.workoutId),t.data).then((function(){e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE),e.dispatch(w["f"].ACTIONS.GET_WORKOUT_DATA,{workoutId:t.workoutId}).then((function(){io.push({name:"Workout",params:{workoutId:t.workoutId}})}))})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.ADD_WORKOUT,(function(e,t){if(e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),!t.file)throw new Error("No file part");var n=new FormData;n.append("file",t.file),n.append("data",'{"sport_id": '.concat(t.sport_id,', "notes": "').concat(t.notes,'"}')),pr.post("workouts",n,{headers:{"content-type":"multipart/form-data"}}).then((function(t){if("created"===t.data.status){e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE);var n=t.data.data.workouts[0];io.push(1===t.data.data.workouts.length?"/workouts/".concat(n.id):"/")}})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),Object(qn["a"])(lr,w["f"].ACTIONS.ADD_WORKOUT_WITHOUT_GPX,(function(e,t){e.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!0),pr.post("workouts/no_gpx",t).then((function(t){if("created"===t.data.status){e.dispatch(w["e"].ACTIONS.GET_USER_PROFILE);var n=t.data.data.workouts[0];io.push("/workouts/".concat(n.id))}})).catch((function(t){Object(G["b"])(e,t)})).finally((function(){return e.commit(w["f"].MUTATIONS.SET_WORKOUT_LOADING,!1)}))})),lr),Hr=(dr={},Object(qn["a"])(dr,w["f"].GETTERS.CALENDAR_WORKOUTS,(function(e){return e.calendar_workouts})),Object(qn["a"])(dr,w["f"].GETTERS.USER_WORKOUTS,(function(e){return e.user_workouts})),Object(qn["a"])(dr,w["f"].GETTERS.WORKOUT_DATA,(function(e){return e.workoutData})),dr),Yr=(Or={},Object(qn["a"])(Or,w["f"].MUTATIONS.ADD_USER_WORKOUTS,(function(e,t){e.user_workouts=e.user_workouts.concat(t)})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_CALENDAR_WORKOUTS,(function(e,t){e.calendar_workouts=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_USER_WORKOUTS,(function(e,t){e.user_workouts=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT,(function(e,t){e.workoutData.workout=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT_CHART_DATA,(function(e,t){e.workoutData.chartData=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT_GPX,(function(e,t){e.workoutData.gpx=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.SET_WORKOUT_LOADING,(function(e,t){e.workoutData.loading=t})),Object(qn["a"])(Or,w["f"].MUTATIONS.EMPTY_CALENDAR_WORKOUTS,(function(e){e.calendar_workouts=[]})),Object(qn["a"])(Or,w["f"].MUTATIONS.EMPTY_WORKOUTS,(function(e){e.calendar_workouts=[],e.user_workouts=[]})),Object(qn["a"])(Or,w["f"].MUTATIONS.EMPTY_WORKOUT,(function(e){e.workoutData={gpx:"",loading:!1,workout:{},chartData:[]}})),Or),qr={calendar_workouts:[],user_workouts:[],workoutData:{gpx:"",loading:!1,workout:{},chartData:[]}},Xr={state:qr,actions:$r,getters:Hr,mutations:Yr},Zr=Xr,Qr={sportsModule:Nr,statsModule:Dr,userModule:Vr,usersModule:Wr,workoutsModule:Zr},Jr={state:Tr,actions:mr,getters:br,mutations:Er,modules:Qr},eo=Jr,to=Object(Yn["a"])(eo),no=to,ro=function(e){var t=/(\/profile)(\/edit)*(\/*)/,n=e.replace(t,"").toUpperCase();return""===n?"PROFILE":n.toUpperCase()},oo=[{path:"/",name:"Dashboard",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"7e48"))}},{path:"/login",name:"Login",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"c9e2"))},props:{action:"login"}},{path:"/register",name:"Register",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"c9e2"))},props:{action:"register"}},{path:"/password-reset/sent",name:"PasswordEmailSent",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"request-sent"}},{path:"/password-reset/request",name:"PasswordResetRequest",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"reset-request"}},{path:"/password-reset/password-updated",name:"PasswordUpdated",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"password-updated"}},{path:"/password-reset",name:"PasswordReset",component:function(){return n.e("reset").then(n.bind(null,"6439"))},props:{action:"reset"}},{path:"/profile",name:"Profile",component:function(){return n.e("profile").then(n.bind(null,"9126"))},children:[{path:"",name:"UserProfile",component:en,props:function(e){return{tab:ro(e.path)}},children:[{path:"",name:"UserInfos",component:tn["a"]},{path:"preferences",name:"UserPreferences",component:sn}]},{path:"edit",name:"UserProfileEdition",component:On,props:function(e){return{tab:ro(e.path)}},children:[{path:"",name:"UserInfosEdition",component:Pn},{path:"picture",name:"UserPictureEdition",component:yn},{path:"preferences",name:"UserPreferencesEdition",component:Hn}]}]},{path:"/statistics",name:"Statistics",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"ccb2"))}},{path:"/users/:username",name:"User",component:function(){return n.e("profile").then(n.bind(null,"32f5"))}},{path:"/workouts",name:"Workouts",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"0385"))}},{path:"/workouts/:workoutId",name:"Workout",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"304a"))},props:{displaySegment:!1}},{path:"/workouts/:workoutId/edit",name:"EditWorkout",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"8ee9"))}},{path:"/workouts/:workoutId/segment/:segmentId",name:"WorkoutSegment",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"304a"))},props:{displaySegment:!0}},{path:"/workouts/add",name:"AddWorkout",component:function(){return Promise.all([n.e("main~workouts"),n.e("workouts")]).then(n.bind(null,"692d"))}},{path:"/admin",name:"Administration",component:function(){return n.e("admin").then(n.bind(null,"89b3"))},children:[{path:"",name:"AdministrationMenu",component:xe},{path:"application",name:"ApplicationAdministration",component:Ne},{path:"application/edit",name:"ApplicationAdministrationEdition",component:Ne,props:{edition:!0}},{path:"sports",name:"SportsAdministration",component:dt},{path:"users",name:"UsersAdministration",component:xt}]},{path:"/:pathMatch(.*)*",name:"not-found",component:function(){return Promise.all([n.e("main~workouts"),n.e("main")]).then(n.bind(null,"e19f"))}}],ao=Object(ie["a"])({history:Object(ie["b"])("/"),routes:oo}),co=["/login","/password-reset","/password-reset/password-updated","/password-reset/request","/password-reset/sent","/register"];ao.beforeEach((function(e,t,n){no.dispatch(w["e"].ACTIONS.CHECK_AUTH_USER).then((function(){if(no.getters[w["e"].GETTERS.IS_AUTHENTICATED]&&co.includes(e.path))return n("/");if(no.getters[w["e"].GETTERS.IS_AUTHENTICATED]||co.includes(e.path))n();else{var t="/"===e.path?{path:"/login"}:{path:"/login",query:{from:e.fullPath}};n(t)}})).catch((function(e){console.error(e),n()}))}));var io=ao,so=Object(a["withScopeId"])("data-v-f5e8066a");Object(a["pushScopeId"])("data-v-f5e8066a");var uo={class:"alert-message"};Object(a["popScopeId"])();var lo=so((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",uo,[Object(a["createVNode"])("div",{innerHTML:e.$t(e.message)},null,8,["innerHTML"])])})),Oo=Object(a["defineComponent"])({name:"AlertMessage",props:{message:String}});n("f5dfd");Oo.render=lo,Oo.__scopeId="data-v-f5e8066a";var po=Oo,mo=Object(a["withScopeId"])("data-v-ad3739fc");Object(a["pushScopeId"])("data-v-ad3739fc");var bo={class:"custom-textarea"},Eo={class:"remaining-chars"};Object(a["popScopeId"])();var To=mo((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",bo,[Object(a["withDirectives"])(Object(a["createVNode"])("textarea",{id:e.name,name:e.name,maxLenght:e.charLimit,disabled:e.disabled,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.text=t}),onInput:t[2]||(t[2]=function(){return e.updateText&&e.updateText.apply(e,arguments)})},null,40,["id","name","maxLenght","disabled"]),[[a["vModelText"],e.text]]),Object(a["createVNode"])("div",Eo,Object(a["toDisplayString"])(e.$t("workouts.REMAINING_CHARS"))+": "+Object(a["toDisplayString"])(e.text.length)+"/"+Object(a["toDisplayString"])(e.charLimit),1)])})),So=(n("a9e3"),Object(a["defineComponent"])({name:"CustomTextArea",props:{charLimit:{type:Number,default:500},disabled:{type:Boolean,default:!1},input:{type:String,default:""},name:{type:String,required:!0}},emits:["updateValue"],setup:function(e,t){var n=t.emit,r=Object(a["ref"])("");function o(e){n("updateValue",e.target.value)}return Object(a["watch"])((function(){return e.input}),(function(e){r.value=e})),{text:r,updateText:o}}}));n("aa0a");So.render=To,So.__scopeId="data-v-ad3739fc";var fo=So,_o=Object(a["withScopeId"])("data-v-5ef2ddef");Object(a["pushScopeId"])("data-v-5ef2ddef");var jo={class:"dropdown-wrapper"},Ao={key:0,class:"dropdown-list"};Object(a["popScopeId"])();var No=_o((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",jo,[Object(a["createVNode"])("div",{class:"dropdown-selected",onClick:t[1]||(t[1]=function(){return e.toggleDropdown&&e.toggleDropdown.apply(e,arguments)})},[Object(a["renderSlot"])(e.$slots,"default",{},void 0,!0)]),e.isOpen?(Object(a["openBlock"])(),Object(a["createBlock"])("ul",Ao,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.dropdownOptions,(function(t,n){return Object(a["openBlock"])(),Object(a["createBlock"])("li",{class:["dropdown-item",{selected:t.value===e.selected}],key:n,onClick:function(n){return e.updateSelected(t)}},Object(a["toDisplayString"])(t.label),11,["onClick"])})),128))])):Object(a["createCommentVNode"])("",!0)])})),Ro=Object(a["defineComponent"])({name:"Dropdown",props:{options:{type:Object,required:!0},selected:{type:String,required:!0}},emits:{selected:function(e){return e}},setup:function(e,t){var n=t.emit,r=Object(ie["c"])(),o=Object(a["ref"])(!1),c=e.options.map((function(e){return e}));function i(){o.value=!o.value}function s(e){n("selected",e),o.value=!1}return Object(a["watch"])((function(){return r.path}),(function(){return o.value=!1})),{dropdownOptions:c,isOpen:o,toggleDropdown:i,updateSelected:s}}});n("95ba");Ro.render=No,Ro.__scopeId="data-v-5ef2ddef";var Io=Ro,go=Object(a["withScopeId"])("data-v-5c177a93");Object(a["pushScopeId"])("data-v-5c177a93");var Uo={class:"error-message"},vo={key:0},Do={key:1};Object(a["popScopeId"])();var Po=go((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",Uo,[Array.isArray(e.message)?(Object(a["openBlock"])(),Object(a["createBlock"])("ul",vo,[(Object(a["openBlock"])(!0),Object(a["createBlock"])(a["Fragment"],null,Object(a["renderList"])(e.message,(function(t,n){return Object(a["openBlock"])(),Object(a["createBlock"])("li",{key:n},Object(a["toDisplayString"])(e.$t(t)),1)})),128))])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",Do,Object(a["toDisplayString"])(e.$t(e.message)),1))])})),ho=Object(a["defineComponent"])({name:"ErrorMessage",props:{message:[String,Array]}});n("4b55");ho.render=Po,ho.__scopeId="data-v-5c177a93";var Co=ho;function ko(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("CyclingSport"),s=Object(a["resolveComponent"])("CyclingTransport"),u=Object(a["resolveComponent"])("Hiking"),l=Object(a["resolveComponent"])("MountainBiking"),d=Object(a["resolveComponent"])("Running"),O=Object(a["resolveComponent"])("Walking");return Object(a["openBlock"])(),Object(a["createBlock"])("div",{class:"sport-img",style:{fill:e.sportColors[e.sportLabel]},title:e.title?e.title:e.$t("sports.".concat(e.sportLabel,".LABEL"))},["Cycling (Sport)"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(i,{key:0})):Object(a["createCommentVNode"])("",!0),"Cycling (Transport)"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:1})):Object(a["createCommentVNode"])("",!0),"Hiking"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(u,{key:2})):Object(a["createCommentVNode"])("",!0),"Mountain Biking"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(l,{key:3})):Object(a["createCommentVNode"])("",!0),"Running"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(d,{key:4})):Object(a["createCommentVNode"])("",!0),"Walking"===e.sportLabel?(Object(a["openBlock"])(),Object(a["createBlock"])(O,{key:5})):Object(a["createCommentVNode"])("",!0)],12,["title"])}var Mo={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 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve"},Lo=Object(a["createVNode"])("desc",{id:"cyclingSportDescription"}," silhouette of a person riding a bicycle ",-1),zo=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M321.097,112.359c20.973,12.338,47.985,5.315,60.293-15.652c12.34-20.973,5.35-47.974-15.623-60.304\n\t\tc-21.009-12.332-47.99-5.317-60.314,15.65C293.129,73.036,300.103,100.027,321.097,112.359z"}),Object(a["createVNode"])("path",{d:"M393.081,264.102c-2.414,0-4.8,0.194-7.169,0.362l-14.431-71.605l4.702-1.757c10.666-3.987,16.093-15.868,12.098-26.54\n\t\tc-3.994-10.681-15.946-16.084-26.531-12.09l-51.823,19.38l-2.321-18.864c6.3-13.193,5.541-29.78-4.767-41.482\n\t\tc-21.224-24.092-47.12-12.508-55.191-5.976l-106.884,86.555l0.016,0.024c-3.319,2.893-6.089,6.485-7.86,10.842\n\t\tc-2.191,5.396-2.596,11.067-1.564,16.384c-8.503,0.669-15.255,7.571-15.255,16.246c0,9.085,7.346,16.44,16.432,16.48l-6.797,15.906\n\t\tc-8.62-2.465-17.674-3.866-27.066-3.866C44.27,264.102,0,308.354,0,362.754c0,54.403,44.27,98.663,98.668,98.663\n\t\tc54.403,0,98.652-44.26,98.652-98.663c0-36.228-19.683-67.867-48.858-85.024l10.957-25.652h17.767l60.281,24.462l-32.201,52.773\n\t\tc-8.297,13.612-3.994,31.382,9.615,39.685c4.691,2.86,9.878,4.229,15,4.229c9.729,0,19.234-4.929,24.677-13.838l29.339-48.095\n\t\tl19.072,11.511c-5.447,12.227-8.54,25.726-8.54,39.95c0,54.403,44.254,98.663,98.652,98.663c54.402,0,98.656-44.26,98.656-98.663\n\t\tC491.737,308.354,447.483,264.102,393.081,264.102z M98.668,436.671c-40.756,0-73.923-33.161-73.923-73.917\n\t\tc0-40.756,33.167-73.909,73.923-73.909c5.944,0,11.649,0.896,17.188,2.224l-20.476,47.893\n\t\tc-11.758,1.619-20.843,11.598-20.843,23.792c0,13.323,10.808,24.132,24.13,24.132c8.767,0,16.367-4.745,20.589-11.76h52.065\n\t\tC165.395,409.988,135.188,436.671,98.668,436.671z M171.322,350.383h-52.065c-0.355-0.588-0.708-1.176-1.112-1.732l20.476-47.901\n\t\tC155.679,311.776,167.793,329.595,171.322,350.383z M296.781,290.175l7.666-12.564c4.416-7.233,5.431-16.038,2.774-24.084\n\t\tc-2.661-8.046-8.718-14.515-16.562-17.704l-52.725-21.395l32.443-26.281l1.804,14.691c0.756,6.267,4.366,11.841,9.761,15.12\n\t\tc3.271,1.981,6.979,2.988,10.698,2.988c2.435,0,4.88-0.435,7.218-1.306l48.15-18.001l13.627,67.691\n\t\tc-18.268,6.162-34.117,17.51-45.848,32.314L296.781,290.175z M375.396,337.633l-38.003-22.94\n\t\tc7.877-9.118,17.787-16.319,29.205-20.734L375.396,337.633z M393.081,436.671c-40.757,0-73.907-33.161-73.907-73.917\n\t\tc0-9.544,1.965-18.597,5.268-26.983l44.541,26.888c0,0.032-0.016,0.064-0.016,0.095c0,13.323,10.808,24.132,24.114,24.132\n\t\tc13.322,0,24.118-10.81,24.118-24.132c0-10.478-6.721-19.307-16.06-22.64l-10.277-51.043c0.756-0.024,1.463-0.226,2.22-0.226\n\t\tc40.757,0,73.911,33.153,73.911,73.909C466.992,403.51,433.838,436.671,393.081,436.671z"})],-1);function yo(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",Mo,[Lo,zo])}var Vo={name:"CyclingSport"};Vo.render=yo;var wo=Vo,Bo={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"},Go=Object(a["createVNode"])("desc",{id:"cyclingTransportDescription"}," silhouette of a person riding a bicycle (for transportation) ",-1),xo=Object(a["createVNode"])("g",{id:"g147"},[Object(a["createVNode"])("path",{d:"m 189.097,82.359 c 20.97701,12.331184 47.97442,5.308784 60.293,-15.652 12.32942,-20.979222 5.35418,-47.981117 -15.623,-60.304 -21.00482,-12.3391184 -47.99,-5.317 -60.314,15.65 -12.324,20.983 -5.34599,47.967183 15.644,60.306 z",id:"path143"}),Object(a["createVNode"])("path",{d:"m 393.081,264.102 c -2.414,0 -4.8,0.194 -7.169,0.362 l -14.431,-71.605 4.702,-1.757 c 10.666,-3.987 16.093,-15.868 12.098,-26.54 -3.994,-10.681 -15.946,-16.084 -26.531,-12.09 l -63.05508,-1.53717 C 284.04753,137.09803 248.90259,106.55858 243.33317,101.62481 217.77732,75.090916 186.1698,85.012419 178.0988,91.544419 L 140.764,192.085 l 0.016,0.024 c -3.319,2.893 -6.089,6.485 -7.86,10.842 -2.191,5.396 -2.596,11.067 -1.564,16.384 -8.503,0.669 -15.255,7.571 -15.255,16.246 0,9.085 7.346,16.44 16.432,16.48 l -6.797,15.906 c -8.62,-2.465 -17.674,-3.866 -27.066,-3.866 C 44.27,264.102 0,308.354 0,362.754 c 0,54.403 44.27,98.663 98.668,98.663 54.403,0 98.652,-44.26 98.652,-98.663 0,-36.228 -19.683,-67.867 -48.858,-85.024 l 10.957,-25.652 h 17.767 l 60.281,24.462 -32.201,52.773 c -8.297,13.612 -3.994,31.382 9.615,39.685 4.691,2.86 9.878,4.229 15,4.229 9.729,0 19.234,-4.929 24.677,-13.838 l 29.339,-48.095 19.072,11.511 c -5.447,12.227 -8.54,25.726 -8.54,39.95 0,54.403 44.254,98.663 98.652,98.663 54.402,0 98.656,-44.26 98.656,-98.663 0,-54.401 -44.254,-98.653 -98.656,-98.653 z M 98.668,436.671 c -40.756,0 -73.923,-33.161 -73.923,-73.917 0,-40.756 33.167,-73.909 73.923,-73.909 5.944,0 11.649,0.896 17.188,2.224 L 95.38,338.962 c -11.758,1.619 -20.843,11.598 -20.843,23.792 0,13.323 10.808,24.132 24.13,24.132 8.767,0 16.367,-4.745 20.589,-11.76 h 52.065 c -5.926,34.862 -36.133,61.545 -72.653,61.545 z m 72.654,-86.288 h -52.065 c -0.355,-0.588 -0.708,-1.176 -1.112,-1.732 l 20.476,-47.901 c 17.058,11.026 29.172,28.845 32.701,49.633 z m 125.459,-60.208 7.666,-12.564 c 4.416,-7.233 5.431,-16.038 2.774,-24.084 -2.661,-8.046 -8.718,-14.515 -16.562,-17.704 l -73.83357,-31.7176 16.7558,-45.21274 c 10.36934,4.13303 41.82171,27.90767 45.77423,28.08592 3.271,1.981 8.57725,1.46711 12.29625,1.46711 2.435,0 18.50584,0.70472 20.84384,-0.16628 L 343.32113,188.03378 361.635,269.33 c -18.268,6.162 -34.117,17.51 -45.848,32.314 z m 78.615,47.458 -38.003,-22.94 c 7.877,-9.118 17.787,-16.319 29.205,-20.734 z m 17.685,99.038 c -40.757,0 -73.907,-33.161 -73.907,-73.917 0,-9.544 1.965,-18.597 5.268,-26.983 l 44.541,26.888 c 0,0.032 -0.016,0.064 -0.016,0.095 0,13.323 10.808,24.132 24.114,24.132 13.322,0 24.118,-10.81 24.118,-24.132 0,-10.478 -6.721,-19.307 -16.06,-22.64 l -10.277,-51.043 c 0.756,-0.024 1.463,-0.226 2.22,-0.226 40.757,0 73.911,33.153 73.911,73.909 -10e-4,40.756 -33.155,73.917 -73.912,73.917 z",id:"path145"})],-1);function Fo(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",Bo,[Go,xo])}var Wo={name:"CyclingTransport"};Wo.render=Fo;var Ko=Wo,$o={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 463.507 463.507",style:{"enable-background":"new 0 0 463.507 463.507"},"xml:space":"preserve"},Ho=Object(a["createVNode"])("desc",{id:"hikingDescription"},"silhouette of a person hiking",-1),Yo=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M246.413,78.492c21.688,0,39.255-17.573,39.255-39.251c0-21.67-17.567-39.24-39.255-39.24\n\t\tc-21.652,0-39.242,17.57-39.242,39.24C207.171,60.919,224.761,78.492,246.413,78.492z"}),Object(a["createVNode"])("path",{d:"M386.604,202.858c0-11.185-9.066-20.251-20.253-20.251h-68.479l-38.62-54.832l0.127-0.933\n\t\tc1.378-10.474-1.474-21.067-7.911-29.444c-6.441-8.378-15.932-13.852-26.408-15.23c-11.596-1.511-22.592,2.224-30.852,9.225V45.779\n\t\tc0-7.847-6.362-14.217-14.225-14.217H140.59c-7.867,0-14.225,6.37-14.225,14.217v168.953c0,20.68,15.821,37.476,35.979,39.446\n\t\tl-3.043,7.073l-23.859,90.136l-53.73,72.188c-8.006,10.768-5.794,25.987,4.984,34.001c4.348,3.245,9.443,4.811,14.491,4.811\n\t\tc7.422,0,14.729-3.385,19.511-9.795l56.529-75.945c1.851-2.484,3.213-5.299,4.003-8.289l16.266-61.414l44.521,40.877l-6.076,88.603\n\t\tc-0.917,13.393,9.177,24.99,22.58,25.908c0.552,0.04,1.124,0.056,1.691,0.056c12.66,0,23.339-9.819,24.208-22.642l6.882-100.264\n\t\tc0.508-7.364-2.371-14.572-7.815-19.564l-45.994-42.219l13.992-90.613l19.331,27.435c3.801,5.387,9.972,8.592,16.552,8.592h70.882\n\t\tl1.339,232.294c0,4.478,3.626,8.101,8.101,8.101c4.479,0,8.101-3.624,8.101-8.101l-1.339-234.036\n\t\tC381.588,218.245,386.604,211.15,386.604,202.858z"})],-1);function qo(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",$o,[Ho,Yo])}var Xo={name:"Hiking"};Xo.render=qo;var Zo=Xo,Qo={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 503.162 503.162",style:{"enable-background":"new 0 0 503.162 503.162"},"xml:space":"preserve"},Jo=Object(a["createVNode"])("desc",{id:"mountainBikingDescription"}," silhouette of a person riding a mountain bike ",-1),ea=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M149.951,67.997c15.711-7.143,22.739-25.675,15.596-41.416c-7.124-15.701-25.723-22.682-41.453-15.539\n\t\t\tc-15.721,7.134-22.702,25.752-15.578,41.444C115.679,68.216,134.23,75.14,149.951,67.997z"}),Object(a["createVNode"])("path",{d:"M87.517,89.072l-32.828,87.755c-1.979,5.967-1.683,12.594,1.1,18.733c4.055,8.922,12.604,14.525,21.755,15.271\n\t\t\tl76.873,6.244l29.137,64.184c4.122,9.046,14.832,13.148,23.906,9.017c9.075-4.131,13.072-14.859,8.951-23.944l-36.424-80.201\n\t\t\tc0,0-3.605-13.76-21.343-14.133l-43.873-2.572l21.009-55.166l31.671,20.588c5.584,3.663,10.997,3.682,15.1,1.722l55.051-24.997\n\t\t\tc17.069-7.755,6.952-30.036-10.108-22.29l-47.506,21.707l-53.55-34.846c0,0-11.638-8.013-24.241-2.285\n\t\t\tC102.205,73.858,91.112,77.243,87.517,89.072z"}),Object(a["createVNode"])("path",{d:"M423.687,182.488l-2.61,15.042c-2.123,12.154-13.35,25.092-25.092,28.888l-3.711,1.195\n\t\t\tc3.041-16.543,1.282-34.148-6.215-50.633c-19.498-42.974-70.094-61.87-112.943-42.419\n\t\t\tc-42.878,19.479-61.936,70.017-42.438,112.981c17.069,37.562,57.881,56.744,96.534,47.966l-0.784,1.415\n\t\t\tc-5.968,10.796-20.817,19.221-33.144,18.8l-17.892-0.622c-12.336-0.411-30.514,5.002-40.603,12.116l-22.376,15.759\n\t\t\tc-10.107,7.104-28.276,12.632-40.612,12.354l-12.001-0.277c12.718-22.845,14.889-51.159,3.242-76.806\n\t\t\tc-19.517-42.955-70.074-61.879-113.019-42.381c-42.792,19.44-61.87,70.007-42.372,112.933\n\t\t\tc16.667,36.711,56.084,55.788,93.914,48.444l-1.32,2.056c-6.675,10.385-22.08,18.398-34.406,17.92l-32.79-1.291\n\t\t\tc-12.326-0.497-24.021,8.97-26.096,21.143l-2.62,15.339c-0.564,3.271-0.354,6.11,0.401,8.501c-0.43,1.778-0.736,3.548-0.736,5.326\n\t\t\tv9.562c0,10.557,8.568,19.125,19.125,19.125h460.932c10.557,0,19.115-8.568,19.106-19.125l-0.125-167.507\n\t\t\tc0-2.782-0.593-5.221-1.616-7.286c1.396-3.806,2.057-7.841,1.598-11.839l-4.677-40.497c-1.415-12.249-9.763-29.146-18.637-37.724\n\t\t\tl-36.127-34.951C434.712,167.418,425.79,170.325,423.687,182.488z"})])],-1);function ta(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",Qo,[Jo,ea])}var na={name:"MountainBiking"};na.render=ta;var ra=na,oa={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 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve"},aa=Object(a["createVNode"])("desc",{id:"runningDescription"},"silhouette of a running person",-1),ca=Object(a["createVNode"])("g",null,[Object(a["createVNode"])("path",{d:"M282.74,80.771c22.318,0,40.401-18.08,40.401-40.389C323.141,18.084,305.058,0,282.74,0\n\t\tc-22.281,0-40.378,18.084-40.378,40.383C242.362,62.691,260.458,80.771,282.74,80.771z"}),Object(a["createVNode"])("path",{d:"M400.207,188.547H331.47l-38.766-55.03l0.123-0.944c1.384-10.514-1.475-21.146-7.94-29.556\n\t\tc-6.461-8.409-16.007-13.903-26.52-15.287c-10.926-1.429-22.619,3.12-31.206,8.646c-1.441,0.928-84.97,54.921-84.97,54.921\n\t\tc-5.175,3.358-8.542,8.877-9.165,15.016c-0.634,6.13,1.574,12.222,5.976,16.541l58.982,58l-6.417,48.954l-18.707,65.584l-67.8-19.4\n\t\tc-12.911-3.676-26.44,3.796-30.159,16.747c-3.699,12.951,3.799,26.459,16.758,30.168l91.271,26.109\n\t\tc2.192,0.627,4.444,0.936,6.7,0.936c4.113,0,8.195-1.04,11.848-3.073c5.655-3.146,9.833-8.409,11.611-14.635l21.963-77.057\n\t\tl26.365,36.639l6.684,119.628c0.73,12.991,11.501,23.036,24.349,23.036c0.441,0,0.92-0.016,1.379-0.039\n\t\tc13.453-0.748,23.745-12.262,23-25.713l-7.083-126.736c-0.271-4.643-1.846-9.116-4.56-12.887l-32.24-44.811l11.959-91.279\n\t\tl19.409,27.555c3.794,5.407,10.005,8.624,16.613,8.624h79.28c11.226,0,20.326-9.101,20.326-20.329\n\t\tC420.533,197.647,411.432,188.547,400.207,188.547z M204.606,190.357l-19.026-18.717l23.476-15.206L204.606,190.357z"})],-1);function ia(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",oa,[aa,ca])}var sa={name:"Running"};sa.render=ia;var ua=sa,la={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"},da=Object(a["createVNode"])("desc",{id:"walkingDescription"},"silhouette of a walking person",-1),Oa=Object(a["createVNode"])("defs",{id:"defs797"},null,-1),pa=Object(a["createVNode"])("g",{id:"g792"},[Object(a["createVNode"])("path",{d:"m 272.74,80.771 c 22.318,0 40.401,-18.08 40.401,-40.389 C 313.141,18.084 295.058,0 272.74,0 c -22.281,0 -40.378,18.084 -40.378,40.383 0,22.308 18.096,40.388 40.378,40.388 z",id:"path788"}),Object(a["createVNode"])("path",{d:"m 328.5854,174.48445 -40.64148,10.93729 4.76008,-51.90474 0.123,-0.944 c 1.384,-10.514 -1.475,-21.146 -7.94,-29.556 -6.461,-8.409 -16.007,-13.903 -26.52,-15.287 -10.926,-1.429 -22.619,3.12 -31.206,8.646 -1.441,0.928 -84.97,54.921 -84.97,54.921 -5.175,3.358 -8.542,8.877 -9.165,15.016 -0.634,6.13 1.574,12.222 5.976,16.541 l 58.982,58 -6.417,48.954 -25.88143,79.08977 -54.08338,43.67932 c -14.762199,11.1022 -24.410111,22.37008 -15.912276,36.07186 8.515526,13.68031 27.439076,15.75973 42.273746,4.63076 l 48.9456,-38.84296 c 12.09075,-7.84858 23.84126,-20.18502 28.3003,-35.27702 L 235.052,315.187 l 26.365,36.639 6.684,119.628 c 0.73,12.991 11.501,23.036 24.349,23.036 0.441,0 0.92,-0.016 1.379,-0.039 13.453,-0.748 23.745,-12.262 23,-25.713 l -7.083,-126.736 c -0.271,-4.643 -1.846,-9.116 -4.56,-12.887 l -32.24,-44.811 7.981,-57.1 c -15.00943,6.0905 -25.84439,5.48716 0,0 l 59.50354,-17.8263 c 10.75379,-3.22166 16.4326,-12.34116 13.52152,-25.36894 -2.44853,-10.95778 -14.74571,-13.15695 -25.36666,-9.52431 z M 204.606,190.357 185.58,171.64 209.056,156.434 Z",id:"path790"})],-1);function ma(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("svg",la,[da,Oa,pa])}var ba={name:"Walking"};ba.render=ma;var Ea=ba,Ta=Object(a["defineComponent"])({name:"SportImage",components:{CyclingSport:wo,CyclingTransport:Ko,Hiking:Zo,MountainBiking:ra,Running:ua,Walking:Ea},props:{sportLabel:{type:String,required:!0},title:{type:String,required:!1}},setup:function(){return{sportColors:Object(a["inject"])("sportColors")}}});Ta.render=ko;var Sa=Ta,fa=Object(a["withScopeId"])("data-v-8bf75da8");Object(a["pushScopeId"])("data-v-8bf75da8");var _a={class:"loader"};Object(a["popScopeId"])();var ja=fa((function(e,t,n,r,o,c){return Object(a["openBlock"])(),Object(a["createBlock"])("div",_a)})),Aa=Object(a["defineComponent"])({name:"Loader"});n("b373");Aa.render=ja,Aa.__scopeId="data-v-8bf75da8";var Na=Aa,Ra=Object(a["withScopeId"])("data-v-21b6cb61");Object(a["pushScopeId"])("data-v-21b6cb61");var Ia={id:"modal"},ga={class:"custom-modal"},Ua={key:0,class:"modal-message"},va={key:1,class:"modal-message"},Da={class:"modal-buttons"};Object(a["popScopeId"])();var Pa=Ra((function(e,t,n,r,o,c){var i=Object(a["resolveComponent"])("i18n-t"),s=Object(a["resolveComponent"])("ErrorMessage"),u=Object(a["resolveComponent"])("Card");return Object(a["openBlock"])(),Object(a["createBlock"])("div",Ia,[Object(a["createVNode"])("div",ga,[Object(a["createVNode"])(u,null,{title:Ra((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.title),1)]})),content:Ra((function(){return[e.strongMessage?(Object(a["openBlock"])(),Object(a["createBlock"])("div",Ua,[Object(a["createVNode"])(i,{keypath:e.message},{default:Ra((function(){return[Object(a["createVNode"])("span",null,Object(a["toDisplayString"])(e.strongMessage),1)]})),_:1},8,["keypath"])])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",va,Object(a["toDisplayString"])(e.message),1)),e.errorMessages?(Object(a["openBlock"])(),Object(a["createBlock"])(s,{key:2,message:e.errorMessages},null,8,["message"])):Object(a["createCommentVNode"])("",!0),Object(a["createVNode"])("div",Da,[Object(a["createVNode"])("button",{class:"confirm",onClick:t[1]||(t[1]=function(t){return e.emit("confirmAction")})},Object(a["toDisplayString"])(e.$t("buttons.YES")),1),Object(a["createVNode"])("button",{class:"cancel",onClick:t[2]||(t[2]=function(t){return e.emit("cancelAction")})},Object(a["toDisplayString"])(e.$t("buttons.NO")),1)])]})),_:1})])])})),ha=Object(a["defineComponent"])({name:"Modal",props:{title:{type:String,required:!0},message:{type:String,required:!0},strongMessage:{type:String||null,default:null}},emits:["cancelAction","confirmAction"],setup:function(e,t){var n=t.emit,r=Object(B["a"])(),o=Object(a["computed"])((function(){return r.getters[w["a"].GETTERS.ERROR_MESSAGES]}));return Object(a["onUnmounted"])((function(){return r.commit(w["a"].MUTATIONS.EMPTY_ERROR_MESSAGES)})),{errorMessages:o,emit:n}}});n("8728");ha.render=Pa,ha.__scopeId="data-v-21b6cb61";var Ca=ha,ka=[po,Be,fo,Io,Co,Na,Ca,Sa],Ma={mounted:function(e,t){e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||t.value(n)},document.body.addEventListener("click",e.clickOutsideEvent),document.body.addEventListener("touchstart",e.clickOutsideEvent)},unmounted:function(e){e.clickOutsideEvent&&(document.body.removeEventListener("click",e.clickOutsideEvent),document.body.removeEventListener("touchstart",e.clickOutsideEvent),e.clickOutsideEvent=void 0)}};r["Chart"].register(r["BarElement"],r["LineElement"],r["PointElement"],r["Legend"],r["Title"],r["Tooltip"],r["Filler"],r["BarController"],r["CategoryScale"],r["LineController"],r["LinearScale"],o["a"]);var La=Object(a["createApp"])(ce).provide("sportColors",ut["b"]).use(K).use(no).use(io).directive("click-outside",Ma);ka.forEach((function(e){La.component(e.name,e)})),La.mount("#app")},d257:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));n("caad"),n("2532"),n("d81d"),n("4de4"),n("ac1f"),n("1276");var r=n("dad5"),o=function(){return"/api/"},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"UNKNOWN",o=t?t.response?413===t.response.status?"file size is greater than the allowed size":t.response.data.message?t.response.data.message:n:t.message?t.message:n:n;e.commit(r["a"].MUTATIONS.SET_ERROR_MESSAGES,o.includes("\n")?o.split("\n").filter((function(e){return""!==e})).map((function(e){return"api.ERROR.".concat(e)})):"api.ERROR.".concat(o))}},d42e:function(e,t,n){"use strict";n("dc79")},dad5:function(e,t,n){"use strict";var r,o,a,c,i,s,u,l,d,O,p,m,b,E,T,S,f,_;n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return N})),n.d(t,"e",(function(){return R})),n.d(t,"d",(function(){return I})),n.d(t,"f",(function(){return g})),function(e){e["GET_APPLICATION_CONFIG"]="GET_APPLICATION_CONFIG",e["GET_APPLICATION_STATS"]="GET_APPLICATION_STATS",e["UPDATE_APPLICATION_CONFIG"]="UPDATE_APPLICATION_CONFIG"}(r||(r={})),function(e){e["APP_CONFIG"]="APP_CONFIG",e["APP_LOADING"]="APP_LOADING",e["APP_STATS"]="APP_STATS",e["ERROR_MESSAGES"]="ERROR_MESSAGES",e["LANGUAGE"]="LANGUAGE",e["LOCALE"]="LOCALE"}(o||(o={})),function(e){e["EMPTY_ERROR_MESSAGES"]="EMPTY_ERROR_MESSAGES",e["SET_ERROR_MESSAGES"]="SET_ERROR_MESSAGES",e["UPDATE_APPLICATION_CONFIG"]="UPDATE_APPLICATION_CONFIG",e["UPDATE_APPLICATION_LOADING"]="UPDATE_APPLICATION_LOADING",e["UPDATE_APPLICATION_STATS"]="UPDATE_APPLICATION_STATS",e["UPDATE_LANG"]="UPDATE_LANG"}(a||(a={})),function(e){e["GET_SPORTS"]="GET_SPORTS",e["UPDATE_SPORTS"]="UPDATE_SPORTS"}(c||(c={})),function(e){e["SPORTS"]="SPORTS"}(i||(i={})),function(e){e["SET_SPORTS"]="SET_SPORTS"}(s||(s={})),function(e){e["GET_USER_STATS"]="GET_USER_STATS"}(u||(u={})),function(e){e["USER_STATS"]="USER_STATS"}(l||(l={})),function(e){e["EMPTY_USER_STATS"]="EMPTY_USER_STATS",e["UPDATE_USER_STATS"]="UPDATE_USER_STATS"}(d||(d={})),function(e){e["CHECK_AUTH_USER"]="CHECK_AUTH_USER",e["DELETE_ACCOUNT"]="DELETE_ACCOUNT",e["DELETE_PICTURE"]="DELETE_PICTURE",e["GET_USER_PROFILE"]="GET_USER_PROFILE",e["LOGIN_OR_REGISTER"]="LOGIN_OR_REGISTER",e["LOGOUT"]="LOGOUT",e["SEND_PASSWORD_RESET_REQUEST"]="SEND_PASSWORD_RESET_REQUEST",e["RESET_USER_PASSWORD"]="RESET_USER_PASSWORD",e["UPDATE_USER_PICTURE"]="UPDATE_USER_PICTURE",e["UPDATE_USER_PROFILE"]="UPDATE_USER_PROFILE",e["UPDATE_USER_PREFERENCES"]="UPDATE_USER_PREFERENCES"}(O||(O={})),function(e){e["AUTH_TOKEN"]="AUTH_TOKEN",e["AUTH_USER_PROFILE"]="AUTH_USER_PROFILE",e["IS_ADMIN"]="IS_ADMIN",e["IS_AUTHENTICATED"]="IS_AUTHENTICATED",e["USER_LOADING"]="USER_LOADING"}(p||(p={})),function(e){e["CLEAR_AUTH_USER_TOKEN"]="CLEAR_AUTH_USER_TOKEN",e["UPDATE_AUTH_TOKEN"]="UPDATE_AUTH_TOKEN",e["UPDATE_AUTH_USER_PROFILE"]="UPDATE_AUTH_USER_PROFILE",e["UPDATE_USER_LOADING"]="UPDATE_USER_LOADING"}(m||(m={})),function(e){e["EMPTY_USER"]="EMPTY_USER",e["EMPTY_USERS"]="EMPTY_USERS",e["GET_USER"]="GET_USER",e["GET_USERS"]="GET_USERS",e["UPDATE_USER"]="UPDATE_USER"}(b||(b={})),function(e){e["USER"]="USER",e["USERS"]="USERS",e["USERS_LOADING"]="USERS_LOADING",e["USERS_PAGINATION"]="USERS_PAGINATION"}(E||(E={})),function(e){e["UPDATE_USER"]="UPDATE_USER",e["UPDATE_USER_IN_USERS"]="UPDATE_USER_IN_USERS",e["UPDATE_USERS"]="UPDATE_USERS",e["UPDATE_USERS_LOADING"]="UPDATE_USERS_LOADING",e["UPDATE_USERS_PAGINATION"]="UPDATE_USERS_PAGINATION"}(T||(T={})),function(e){e["ADD_WORKOUT"]="ADD_WORKOUT",e["ADD_WORKOUT_WITHOUT_GPX"]="ADD_WORKOUT_WITHOUT_GPX",e["DELETE_WORKOUT"]="DELETE_WORKOUT",e["EDIT_WORKOUT"]="EDIT_WORKOUT",e["GET_CALENDAR_WORKOUTS"]="GET_CALENDAR_WORKOUTS",e["GET_USER_WORKOUTS"]="GET_USER_WORKOUTS",e["GET_MORE_USER_WORKOUTS"]="GET_MORE_USER_WORKOUTS",e["GET_WORKOUT_DATA"]="GET_WORKOUT_DATA"}(S||(S={})),function(e){e["CALENDAR_WORKOUTS"]="CALENDAR_WORKOUTS",e["USER_WORKOUTS"]="USER_WORKOUTS",e["WORKOUT_DATA"]="WORKOUT_DATA"}(f||(f={})),function(e){e["ADD_USER_WORKOUTS"]="ADD_USER_WORKOUTS",e["EMPTY_WORKOUTS"]="EMPTY_WORKOUTS",e["EMPTY_CALENDAR_WORKOUTS"]="EMPTY_CALENDAR_WORKOUTS",e["EMPTY_WORKOUT"]="EMPTY_WORKOUT",e["SET_CALENDAR_WORKOUTS"]="SET_CALENDAR_WORKOUTS",e["SET_USER_WORKOUTS"]="SET_USER_WORKOUTS",e["SET_WORKOUT"]="SET_WORKOUT",e["SET_WORKOUT_GPX"]="SET_WORKOUT_GPX",e["SET_WORKOUT_CHART_DATA"]="SET_WORKOUT_CHART_DATA",e["SET_WORKOUT_LOADING"]="SET_WORKOUT_LOADING"}(_||(_={}));var j={ACTIONS:r,GETTERS:o,MUTATIONS:a},A={ACTIONS:c,GETTERS:i,MUTATIONS:s},N={ACTIONS:u,GETTERS:l,MUTATIONS:d},R={ACTIONS:O,GETTERS:p,MUTATIONS:m},I={ACTIONS:b,GETTERS:E,MUTATIONS:T},g={ACTIONS:S,GETTERS:f,MUTATIONS:_}},dc79:function(e,t,n){},dd3f:function(e,t,n){},e7b6:function(e,t,n){var r={"./en/en.ts":"c142","./fr/fr.ts":"663e"};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id="e7b6"},edb9:function(e,t,n){},edfa:function(e,t,n){"use strict";n("27bb")},f037:function(e,t,n){"use strict";n("aa8e")},f5dfd:function(e,t,n){"use strict";n("9838")},f79f:function(e,t,n){"use strict";n("dd3f")},fb34:function(e,t,n){},fb41:function(e,t,n){}}); +//# sourceMappingURL=app.e122d304.js.map \ No newline at end of file diff --git a/fittrackee/dist/static/js/app.f769a5c1.js.map b/fittrackee/dist/static/js/app.e122d304.js.map similarity index 99% rename from fittrackee/dist/static/js/app.f769a5c1.js.map rename to fittrackee/dist/static/js/app.e122d304.js.map index 235895ed..864e90c1 100644 --- a/fittrackee/dist/static/js/app.f769a5c1.js.map +++ b/fittrackee/dist/static/js/app.e122d304.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Common/StatCard.vue","webpack:///./src/components/Common/StatCard.vue?50f0","webpack:///./src/components/Common/StatCard.vue?8fe7","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue?67ed","webpack:///./src/utils/sports.ts","webpack:///./src/components/Common/Card.vue?8159","webpack:///./src/use/useStore.ts","webpack:///./src/components/Administration/AdminSports.vue?6443","webpack:///./src/components/Administration/AdminApplication.vue?7cc7","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue?73f1","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue?4ce6","webpack:///./src/components/Administration/AdminMenu.vue?4bef","webpack:///./src/components/Common/ErrorMessage.vue?f921","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue?a4e5","webpack:///./src/components/NavBar.vue?410d","webpack:///./src/App.vue?4cf5","webpack:///./src/locales/fr/administration.json","webpack:///./src/locales/fr/api.json","webpack:///./src/locales/fr/buttons.json","webpack:///./src/locales/fr/common.json","webpack:///./src/locales/fr/dashboard.json","webpack:///./src/locales/fr/error.json","webpack:///./src/locales/fr/sports.json","webpack:///./src/locales/fr/statistics.json","webpack:///./src/locales/fr/user.json","webpack:///./src/locales/fr/workouts.json","webpack:///./src/locales/fr/fr.ts","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue?7c95","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue?820e","webpack:///./src/components/Footer.vue?d019","webpack:///./src/components/User/ProfileDisplay/index.vue?1702","webpack:///./src/components/Common/StatCard.vue?c013","webpack:///./src/components/Common/Modal.vue?4e3e","webpack:///./src/components/User/UserPicture.vue?cd03","webpack:///./src/components/Common/Dropdown.vue?2734","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue?db14","webpack:///./src/components/Administration/AppStatsCards.vue?d919","webpack:///./src/components/Common/CustomTextArea.vue?6de7","webpack:///./src/components/Common/Loader.vue?9489","webpack:///./src/components/Administration/AdminUsersSelects.vue?0cd5","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue?a666","webpack:///./src/locales/en/administration.json","webpack:///./src/locales/en/api.json","webpack:///./src/locales/en/buttons.json","webpack:///./src/locales/en/common.json","webpack:///./src/locales/en/dashboard.json","webpack:///./src/locales/en/error.json","webpack:///./src/locales/en/sports.json","webpack:///./src/locales/en/statistics.json","webpack:///./src/locales/en/user.json","webpack:///./src/locales/en/workouts.json","webpack:///./src/locales/en/en.ts","webpack:///./src/utils/files.ts","webpack:///./src/components/User/UserPicture.vue","webpack:///./src/components/User/UserPicture.vue?2f01","webpack:///./src/components/User/UserPicture.vue?22b2","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue?2098","webpack:///./src/registerServiceWorker.ts","webpack:///./src/App.vue","webpack:///./src/components/Footer.vue","webpack:///./src/components/Footer.vue?87b7","webpack:///./src/components/Footer.vue?c832","webpack:///./src/components/NavBar.vue","webpack:///./src/i18n.ts","webpack:///./src/utils/locales.ts","webpack:///./src/components/NavBar.vue?a890","webpack:///./src/components/NavBar.vue?ab0f","webpack:///./src/components/NoConfig.vue","webpack:///./src/components/NoConfig.vue?37a4","webpack:///./src/components/NoConfig.vue?ad85","webpack:///./src/App.vue?3acc","webpack:///./src/App.vue?dfb6","webpack:///./src/components/Administration/AdminApplication.vue","webpack:///./src/components/Administration/AdminApplication.vue?8e5b","webpack:///./src/components/Administration/AdminApplication.vue?80c4","webpack:///./src/components/Administration/AdminMenu.vue","webpack:///./src/components/Administration/AppStatsCards.vue","webpack:///./src/components/Administration/AppStatsCards.vue?d6b2","webpack:///./src/components/Administration/AppStatsCards.vue?7576","webpack:///./src/components/Common/Card.vue","webpack:///./src/components/Common/Card.vue?f962","webpack:///./src/components/Common/Card.vue?a585","webpack:///./src/components/Administration/AdminMenu.vue?9783","webpack:///./src/components/Administration/AdminMenu.vue?4828","webpack:///./src/components/Administration/AdminSports.vue","webpack:///./src/components/Administration/AdminSports.vue?9572","webpack:///./src/components/Administration/AdminSports.vue?271c","webpack:///./src/components/Administration/AdminUsers.vue","webpack:///./src/components/Administration/AdminUsersSelects.vue","webpack:///./src/components/Administration/AdminUsersSelects.vue?95d5","webpack:///./src/components/Administration/AdminUsersSelects.vue?79d3","webpack:///./src/components/Common/Pagination.vue","webpack:///./src/components/Common/Pagination.vue?93e2","webpack:///./src/components/Common/Pagination.vue?73f7","webpack:///./src/components/Administration/AdminUsers.vue?e346","webpack:///./src/components/Administration/AdminUsers.vue?d3af","webpack:///./src/components/User/ProfileDisplay/index.vue","webpack:///./src/components/User/UserProfileTabs.vue","webpack:///./src/components/User/UserProfileTabs.vue?9e70","webpack:///./src/components/User/UserProfileTabs.vue?3fc9","webpack:///./src/components/User/ProfileDisplay/index.vue?f20a","webpack:///./src/components/User/ProfileDisplay/index.vue?b24c","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue?2ffa","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue?a232","webpack:///./src/components/User/ProfileEdition/index.vue","webpack:///./src/components/User/ProfileEdition/index.vue?4849","webpack:///./src/components/User/ProfileEdition/index.vue?f268","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue?b205","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue?92df","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue?203b","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue?311f","webpack:///./src/components/User/ProfileEdition/UserPreferencesEdition.vue","webpack:///./src/components/User/ProfileEdition/UserPreferencesEdition.vue?13dd","webpack:///./src/components/User/ProfileEdition/UserPreferencesEdition.vue?d2de","webpack:///./src/api/authApi.ts","webpack:///./src/store/modules/root/actions.ts","webpack:///./src/store/modules/root/getters.ts","webpack:///./src/store/modules/root/mutations.ts","webpack:///./src/store/modules/root/state.ts","webpack:///./src/store/modules/sports/actions.ts","webpack:///./src/store/modules/sports/getters.ts","webpack:///./src/store/modules/sports/mutations.ts","webpack:///./src/store/modules/sports/state.ts","webpack:///./src/store/modules/sports/index.ts","webpack:///./src/store/modules/statistics/actions.ts","webpack:///./src/store/modules/statistics/getters.ts","webpack:///./src/store/modules/statistics/mutations.ts","webpack:///./src/store/modules/statistics/state.ts","webpack:///./src/store/modules/statistics/index.ts","webpack:///./src/api/defaultApi.ts","webpack:///./src/store/modules/user/actions.ts","webpack:///./src/store/modules/user/getters.ts","webpack:///./src/store/modules/user/mutations.ts","webpack:///./src/store/modules/user/state.ts","webpack:///./src/store/modules/user/index.ts","webpack:///./src/store/modules/users/actions.ts","webpack:///./src/store/modules/users/getters.ts","webpack:///./src/store/modules/users/mutations.ts","webpack:///./src/store/modules/users/state.ts","webpack:///./src/store/modules/users/index.ts","webpack:///./src/store/modules/workouts/actions.ts","webpack:///./src/store/modules/workouts/getters.ts","webpack:///./src/store/modules/workouts/mutations.ts","webpack:///./src/store/modules/workouts/state.ts","webpack:///./src/store/modules/workouts/index.ts","webpack:///./src/store/modules/root/index.ts","webpack:///./src/store/index.ts","webpack:///./src/router/index.ts","webpack:///./src/components/Common/AlertMessage.vue","webpack:///./src/components/Common/AlertMessage.vue?af1b","webpack:///./src/components/Common/AlertMessage.vue?2e10","webpack:///./src/components/Common/CustomTextArea.vue","webpack:///./src/components/Common/CustomTextArea.vue?8616","webpack:///./src/components/Common/CustomTextArea.vue?3b63","webpack:///./src/components/Common/Dropdown.vue","webpack:///./src/components/Common/Dropdown.vue?3644","webpack:///./src/components/Common/Dropdown.vue?9a46","webpack:///./src/components/Common/ErrorMessage.vue","webpack:///./src/components/Common/ErrorMessage.vue?ab8e","webpack:///./src/components/Common/ErrorMessage.vue?7b9e","webpack:///./src/components/Common/Images/SportImage/index.vue","webpack:///./src/components/Common/Images/SportImage/CyclingSport.vue","webpack:///./src/components/Common/Images/SportImage/CyclingSport.vue?7ed2","webpack:///./src/components/Common/Images/SportImage/CyclingTransport.vue","webpack:///./src/components/Common/Images/SportImage/CyclingTransport.vue?dba6","webpack:///./src/components/Common/Images/SportImage/Hiking.vue","webpack:///./src/components/Common/Images/SportImage/Hiking.vue?3937","webpack:///./src/components/Common/Images/SportImage/MountainBiking.vue","webpack:///./src/components/Common/Images/SportImage/MountainBiking.vue?9b70","webpack:///./src/components/Common/Images/SportImage/Running.vue","webpack:///./src/components/Common/Images/SportImage/Running.vue?2248","webpack:///./src/components/Common/Images/SportImage/Walking.vue","webpack:///./src/components/Common/Images/SportImage/Walking.vue?d660","webpack:///./src/components/Common/Images/SportImage/index.vue?2baa","webpack:///./src/components/Common/Images/SportImage/index.vue?5245","webpack:///./src/components/Common/Loader.vue","webpack:///./src/components/Common/Loader.vue?2b84","webpack:///./src/components/Common/Loader.vue?4fd1","webpack:///./src/components/Common/Modal.vue","webpack:///./src/components/Common/Modal.vue?1385","webpack:///./src/components/Common/Modal.vue?e362","webpack:///./src/custom-components.ts","webpack:///./src/directives.ts","webpack:///./src/main.ts","webpack:///./src/utils/index.ts","webpack:///./src/components/User/UserProfileTabs.vue?722a","webpack:///./src/store/modules/root/enums.ts","webpack:///./src/store/modules/sports/enums.ts","webpack:///./src/store/modules/statistics/enums.ts","webpack:///./src/store/modules/user/enums.ts","webpack:///./src/store/modules/users/enums.ts","webpack:///./src/store/modules/workouts/enums.ts","webpack:///./src/store/constants.ts","webpack:///./src/locales sync [A-Za-z0-9-_,\\s]+\\.ts$/","webpack:///./src/components/Common/Pagination.vue?671e","webpack:///./src/components/NoConfig.vue?56f6","webpack:///./src/components/Common/AlertMessage.vue?e180","webpack:///./src/components/Administration/AdminUsers.vue?1bef"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","class","icon","text","props","String","required","Number","render","sportColors","Hiking","Running","Walking","sportIdColors","sports","colors","map","sport","id","label","sortSports","a","b","sportATranslatedLabel","translatedLabel","toLowerCase","sportBTranslatedLabel","translateSports","onlyActive","filter","is_active","sort","getSportLabel","workout","sport_id","useStore","user","username","nb_workouts","$t","total_distance","toFixed","nb_sports","components","UserPicture","__scopeId","Action","Ajouter/retirer des droits d'administration, supprimer des comptes utilisateurs.","Admin","Administration","Application","Nombre maximum d'utilisateurs actifs ","Si égal à 0, pas limite d'inscription","Taille max. des archives zip (en Mo) ","Taille max. des fichiers (en Mo) ","Configuration de l'application","Nombre max. de fichiers dans une archive zip ","Revenir à l'admin","Etes-vous sûr de vouloir supprimer le compte de ","0"," ? Toutes les données seront définitivement.","Supprimer l'utilisateur","Activer/désactiver des sports.","Les inscriptions sont actuellement désactivées.","Les inscriptions sont actuellement activées.","Actif","des séances existent","Image","Label","Administration - Sports","Configurer l'application (nombre maximum d'utilisateurs inscrits, taille maximale des fichers).","utilisateur","utilisateurs","Ajouter les drois d'admin","Retirer les drois d'admin","trier par ","status administrateur","date d'inscription","nom d'utilisateur","nombre de séances","tri","ascendant","descendant","par page","Erreur. Veuillez réessayer ou contacter l'administrateur.","Email : une adresse email valide doit être fournie.","Erreur lors de la récupération de la configuration.","Erreur lors de la mise à jour de la configuration","Erreur, veuillez réessayer ou contacter l'administrateur.","Erreur, les inscriptions sont désactivées.","Extension de fichier non autorisée.","La taille du fichier est supérieure à la limite autorisée.","Identifiants invalides.","Données fournies incorrectes.","Jeton de connexion invalide, merci de vous reconnecter.","Jeton de connexion, merci de vous reconnecter.","Pas de fichier fourni.","Pas de fichier sélectionné.","Erreur Réseau.","Mot de passe : les mots de passe saisis sont différents.","Merci de fournir un jeton de connexion valide.","Mot de passe : 8 caractères minimum.","Ce sport n'existe pas.","Signature expirée. Merci de vous reconnecter.","Désolé, cet utilisateur existe déjà.","Inscription validée.","L'utilisateur n'existe pas","Nom d'utilisateur : 3 à 12 caractères requis.","Vous n'avez pas les permissions nécessaires.","précédent","suivant","Précédent","Annuler","Supprimer mon compte","Désactiver","Modifier","Activer","Filtrer","Se connecter","Non","S'inscrire","Valider","Oui","Confirmation","jour","jours","Accueil","ici","Tableau de Bord","Ce mois","L'application semble rencontrer quelques problèmes.
Veuillez réessayer plus tard ou contacter l'administrateur.","Page introuvable","Séance introuvable","Vélo (Sport)","Vélo (Transport)","Randonnée","VTT","Course","Marche","Statistiques","Total","semaine","mois","année","Etes-vous sûr de vouloir supprimer votre compte ? Toutes les données seront définitivement effacés.","Email","Saisir une adresse email","Saisir un mot de passe","Confirmer le mot de passe","Jeton invalide, veullez demander une nouvelle réinitialisation de mot de passe.","Langue","Se déconnecter","Mot de passe","Confirmation du mot de passe","Mot de passe oublié ?","Réinitialisation du mot de passe","Vérifiez vore boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe.","Votre mot de passe a été mis à jour. Cliquez "," pour vous connecter.","Revenir au profil","Bio","Date de naissance","Modifier le profil","Modifier les préférences","Premier jour de la semaine","Prénom","Nom","Lieu","Lundi","Image de profil","Mise à jour de l'image de profil","Mettre à jour l'image","Supprimer","Mise à jour des préférences","Mise à jour du profil","Date d'inscription","Dimanche","image","préférences","profil","Fuseau horaire","Désolé, les inscriptions sont désactivées.","Réinitialiser votre mot de passe","photo de l'utilisateur","Nom d'utilisateur","Ajouter une séance","analyse","dénivelé positif","vitesse moyenne","vitesse moy.","revenir à la séance","date","dénivelé négatif","afficher les filtres","distance","durée","Modifier la séance","altitude","fin","à partir de","fichier .gpx","masquer les filtres","km","Séances récentes","Charger les séances suivantes","altitude max","fichiers max. ","taille max. ","vitesse max","altitude min","Segment suivant","Séance suivante","données issues du fichier gpx, sans correction","Pas de fichier fourni","pas de répertoire","Pas de carte","Pas de segment suivant","Pas de séance suivante","Pas de notes","Pas de segment précédent","Pas de séance précédente","Pas de records.","Pas de séances.","notes","pauses","Segment précédent","Séance précédente","record","records","Vitesse moy.","Distance la + longue","Durée la + longue","Vitesse max.","nombre de caractères restants ","segment","segments","vitesse","début","titre","jusqu'au","durée totale","Ajoutez votre première séance !","humidité","température","vent","ensoleillé","nuit claire","nuageux","brouillard","partiellement nuageux","nuit partiellement nuageuse","pluie","neige fondue","neige","venteux","avec un fichier .gpx","sans fichier .gpx","séance","séances","date de la séance","Etes-vous sûr de vouloir supprimer cette séance ?","archive .zip","ou une archive .zip contenant des fichiers .gpx","admin","api","buttons","common","dashboard","statistics","workouts","displayModal","title","strongMessage","deleteUserAccount","updateDisplayModal","registrationDate","first_name","last_name","birthDate","location","bio","fromAdmin","authUser","$router","go","Boolean","default","setup","store","getters","GETTERS","AUTH_USER_PROFILE","created_at","format","Date","birth_date","dispatch","ACTIONS","DELETE_ACCOUNT","Add/remove admin rights, delete user account.","Max. number of active users","If 0, no limitation on registration.","Max. files of zip archive","Max. size of uploaded files (in Mb)","Application configuration","Max. size of zip archive (in Mb)","Back to admin","Are you sure you want to delete "," account? All data will be deleted, this cannot be undone.","Delete user","Enable/disable sports.","Registration is currently disabled.","Registration is currently enabled.","Active","workouts exist","Sports administration","Update application configuration (maximum number of registered users, maximum files size).","users","Add admin rights","Remove admin rights","order by","admin status","registration date","workout count","ascending","descending","Error. Please try again or contact the administrator.","Email: valid email must be provided.","Error on getting configuration.","Error when updating configuration","Error, please try again or contact the administrator.","Error, registration is disabled.","File extension not allowed.","File size is greater than the allowed size.","Invalid credentials.","Provided data are invalid.","Invalid token, please log in again.","Network Error.","No file provided.","No selected file.","Password: password and password confirmation don't match.","Provide a valid auth token.","Password: 8 characters required.","Sorry, that user already exists.","Sport does not exist.","Signature expired. Please log in again.","Successfully registered.","User does not exist.","Username: 3 to 12 characters required.","You do not have permissions.","previous","next","Back","Cancel","Delete my account","Disable","Edit","Enable","Filter","Log in","No","Register","Submit","Yes","day","days","Home","here","Dashboard","This month","The application seems encounter some issues.
Please try later or contact the administrator.","Page not found","Workout not found","Cycling (Sport)","Cycling (Transport)","Mountain Biking","Statistics","week","month","year","Are you sure you want to delete your account? All data will be deleted, this cannot be undone","Enter an email address","Enter a password","Confirm the password","Invalid token, please request a new password reset.","Language","Login","Logout","Password","Confirm Password","Password confirmation","Forgot password?","Password reset","Check your email. If your address is in our database, you'll received an email with a link to reset your password.","Your password have been updated. Click "," to log in.","Back to profile","Birth date","Edit profile","Edit preferences","First name","First day of week","Last name","Location","Monday","Picture","Picture edition","Update picture","Remove picture","Preferences edition","Profile edition","Registration date","Sunday","picture","preferences","profile","Timezone","Sorry, registration is disabled.","Reset your password","user picture","Username","Add a workout","analysis","ascent","ave. speed","average speed","back to workout","descent","display filters","duration","Edit the workout","elevation","end","from",".gpx file","hide filters","Latest workouts","Load more workouts","max. altitude","max files","max size","max. speed","min. altitude","No next segment","Next workout","data from gpx, without any cleaning","No file provided","no folder inside","No map","No next workout","No notes","No previous segment","No previous workout","No records.","No workouts.","Previous segment","Previous workout","Ave. speed","Farest distance","Longest duration","Max. speed","remaining characters","speed","start","to","total duration","Upload one!","humidity","temperature","wind","clear day","clear night","cloudy","fog","partly cloudy day","partly cloudy night","rain","sleet","snow","with .gpx file","without .gpx file","workout date","Are you sure you want to delete this workout?",".zip file","or .zip file containing .gpx files","suffixes","getReadableFileSize","fileSize","asText","Math","floor","log","size","suffix","pow","getFileSizeInMB","aria-hidden","authUserPictureUrl","alt","now","ready","registered","cached","updatefound","updated","offline","updateHideScrollBar","appLoading","hideScrollBar","appConfig","displayScrollButton","scrollToTop","version","isMenuOpen","openMenu","closeMenu","isAuthenticated","capitalize","logout","availableLanguages","language","options","selected","updateLanguage","loadLocaleMessages","locales","messages","keys","forEach","matched","match","locale","legacy","fallbackLocale","globalInjection","localeFromLanguage","en","fr","languageLabels","availableLocales","global","emits","emit","IS_AUTHENTICATED","LANGUAGE","option","toString","commit","MUTATIONS","UPDATE_LANG","LOGOUT","xmlns","viewBox","Footer","NavBar","NoConfig","APP_CONFIG","APP_LOADING","isScrolledToBottom","element","getBoundingClientRect","top","innerHeight","bottom","scroll","onscroll","querySelector","scrollTo","behavior","GET_APPLICATION_CONFIG","for","content","onSubmit","min","appData","max_users","disabled","edition","step","max_single_file_size","max_zip_file_size","gpx_limit_import","errorMessages","onCancel","router","ERROR_MESSAGES","updateForm","includes","EMPTY_ERROR_MESSAGES","formData","assign","UPDATE_APPLICATION_CONFIG","app-statistics","appStatistics","usersCount","sportsCount","workoutCount","uploadDirSize","StatCard","uploads_dir_size","AppStatsCards","Card","translatedSports","sport-label","updateSportStatus","has_workouts","SPORTS","isActive","UPDATE_SPORTS","order_by","query","reloadUsers","email","updateUser","pagination","page","path","onSelectUpdate","order","toUpperCase","per_page","nb","aria-label","has_prev","getQuery","rangePagination","pages","has_next","Array","_","cursor","newQuery","AdminUsersSelects","Pagination","route","USERS","USERS_PAGINATION","loadUsers","queryParams","GET_USERS","getPage","getPerPage","perPage","getOrder","getOrderBy","UPDATE_USER","queryParam","queryValue","EMPTY_USERS","tabs","selectedTab","tab","checked","getPath","UserHeader","UserProfileTabs","timezone","fistDayOfWeek","weekm","loading","USER_LOADING","deleteAccount","updateProfile","userForm","password","password_conf","charLimit","input","updateBio","updateUserForm","UPDATE_USER_PROFILE","updateUserPicture","accept","updatePictureFile","pictureFile","deleteUserPicture","fileSizeLimit","DELETE_PICTURE","files","UPDATE_USER_PICTURE","lang","weekStart","UPDATE_USER_PREFERENCES","authApi","baseURL","interceptors","use","config","authToken","AUTH_TOKEN","auth","headers","Authorization","actions","context","UPDATE_APPLICATION_LOADING","res","status","catch","finally","GET_APPLICATION_STATS","UPDATE_APPLICATION_STATS","payload","patch","state","application","APP_STATS","LOCALE","mutations","SET_ERROR_MESSAGES","root","GET_SPORTS","SET_SPORTS","sportsState","GET_USER_STATS","filterType","params","UPDATE_USER_STATS","USER_STATS","EMPTY_USER_STATS","statisticsState","CHECK_AUTH_USER","localStorage","UPDATE_AUTH_TOKEN","GET_USER_PROFILE","UPDATE_AUTH_USER_PROFILE","LOGIN_OR_REGISTER","post","actionType","token","auth_token","setItem","removeItem","CLEAR_AUTH_USER_TOKEN","EMPTY_WORKOUTS","UPDATE_USER_LOADING","form","FormData","append","delete","SEND_PASSWORD_RESET_REQUEST","RESET_USER_PASSWORD","authUserProfile","IS_ADMIN","userState","EMPTY_USER","UPDATE_USERS","UPDATE_USERS_PAGINATION","GET_USER","UPDATE_USERS_LOADING","UPDATE_USER_IN_USERS","USER","USERS_LOADING","updatedUser","usersState","SET_CALENDAR_WORKOUTS","ADD_USER_WORKOUTS","SET_USER_WORKOUTS","GET_CALENDAR_WORKOUTS","EMPTY_CALENDAR_WORKOUTS","GET_USER_WORKOUTS","GET_MORE_USER_WORKOUTS","GET_WORKOUT_DATA","SET_WORKOUT_LOADING","segmentUrl","segmentId","workoutId","SET_WORKOUT","with_gpx","SET_WORKOUT_CHART_DATA","chart_data","SET_WORKOUT_GPX","gpx","EMPTY_WORKOUT","DELETE_WORKOUT","EDIT_WORKOUT","ADD_WORKOUT","file","ADD_WORKOUT_WITHOUT_GPX","CALENDAR_WORKOUTS","calendar_workouts","USER_WORKOUTS","user_workouts","WORKOUT_DATA","workoutData","concat","chartData","workoutsState","sportsModule","statsModule","userModule","usersModule","workoutsModule","getTabFromPath","regex","replace","routes","component","action","children","UserInfos","UserPreferences","ProfileEdition","UserInfosEdition","UserPictureEdition","UserPreferencesEdition","displaySegment","AdminMenu","AdminApplication","AdminSports","AdminUsers","history","pathsWithoutAuthentication","beforeEach","fullPath","maxLenght","updateText","toggleDropdown","isOpen","dropdownOptions","index","updateSelected","isArray","subMessage","style","sportLabel","xmlns:xlink","x","y","xml:space","xmlns:svg","CyclingSport","CyclingTransport","MountainBiking","keypath","customComponents","AlertMessage","CustomTextArea","Dropdown","ErrorMessage","Loader","Modal","SportImage","clickOutsideDirective","mounted","binding","clickOutsideEvent","contains","body","addEventListener","unmounted","removeEventListener","register","app","App","provide","i18n","directive","mount","getApiUrl","handleError","msg","response","split","RootActions","RootGetters","RootMutations","SportsActions","SportsGetters","SportsMutation","StatisticsActions","StatisticsGetters","StatisticsMutations","UserActions","UserGetters","UserMutations","UsersActions","UsersGetters","UsersMutations","WorkoutsActions","WorkoutsGetters","WorkoutsMutations","ROOT_STORE","SPORTS_STORE","STATS_STORE","USER_STORE","USERS_STORE","WORKOUTS_STORE","webpackContext","req","webpackContextResolve"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJjB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASa,EAAe7B,GACvB,OAAOyB,EAAoBK,EAAI,cAAgB,CAAC,MAAQ,QAAQ,gBAAgB,gBAAgB,KAAO,OAAO,SAAW,WAAW,QA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ACA,iCACA,iDACA,uDALF,CAAYA,MAAc,KCf1B,SAAYC,GACV,+BACA,uDACA,qCACA,iCACA,mDACA,2CACA,qDACA,yCARF,CAAYA,MAAe,KAW3B,SAAYC,GACV,2CACA,mCACA,iCAHF,CAAYA,MAAe,KAM3B,SAAYC,GACV,2CACA,qCACA,uDACA,mCACA,mDACA,2CACA,+BACA,uCACA,qDACA,+CAVF,CAAYA,MAAiB,KCctB,IAAMC,EAAa,CACxBzkB,QAASujB,EACT9jB,QAAS+jB,EACT7T,UAAW8T,GAGAiB,EAAe,CAC1B1kB,QAAS0jB,EACTjkB,QAASkkB,EACThU,UAAWiU,GAGAe,EAAc,CACzB3kB,QAAS6jB,EACTpkB,QAASqkB,EACTnU,UAAWoU,GAGAa,EAAa,CACxB5kB,QAASgkB,EACTvkB,QAASwkB,EACTtU,UAAWuU,GAGAW,EAAc,CACzB7kB,QAASmkB,EACT1kB,QAAS2kB,EACTzU,UAAW0U,GAGAS,EAAiB,CAC5B9kB,QAASskB,EACT7kB,QAAS8kB,EACT5U,UAAW6U,I,mEChEb,IAAIj2B,EAAM,CACT,aAAc,OACd,aAAc,QAIf,SAASw2B,EAAeC,GACvB,IAAIv2B,EAAKw2B,EAAsBD,GAC/B,OAAOh9B,EAAoByG,GAE5B,SAASw2B,EAAsBD,GAC9B,IAAIh9B,EAAoBgE,EAAEuC,EAAKy2B,GAAM,CACpC,IAAIv8B,EAAI,IAAI0B,MAAM,uBAAyB66B,EAAM,KAEjD,MADAv8B,EAAE2B,KAAO,mBACH3B,EAEP,OAAO8F,EAAIy2B,GAEZD,EAAezW,KAAO,WACrB,OAAOxnB,OAAOwnB,KAAK/f,IAEpBw2B,EAAel8B,QAAUo8B,EACzB18B,EAAOD,QAAUy8B,EACjBA,EAAet2B,GAAK,Q,yDCvBpB,W,kCCAA,W,mCCAA,W,kCCAA,W","file":"static/js/app.f769a5c1.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({\"admin\":\"admin\",\"main~workouts\":\"main~workouts\",\"main\":\"main\",\"workouts\":\"workouts\",\"profile\":\"profile\",\"reset\":\"reset\"}[chunkId]||chunkId) + \".\" + {\"admin\":\"b2c267a7\",\"main~workouts\":\"052defa0\",\"main\":\"597d0b47\",\"workouts\":\"833bfd44\",\"profile\":\"a7cb3b48\",\"reset\":\"607f183f\",\"chunk-2d0c9189\":\"c81458cc\",\"chunk-2d0cf391\":\"020c75ea\",\"chunk-2d0da8f3\":\"c8c3e7e8\",\"chunk-2d2248b6\":\"d84473c1\",\"chunk-2d22523a\":\"4b710d99\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"admin\":1,\"main~workouts\":1,\"main\":1,\"workouts\":1,\"profile\":1,\"reset\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"static/css/\" + ({\"admin\":\"admin\",\"main~workouts\":\"main~workouts\",\"main\":\"main\",\"workouts\":\"workouts\",\"profile\":\"profile\",\"reset\":\"reset\"}[chunkId]||chunkId) + \".\" + {\"admin\":\"c784857e\",\"main~workouts\":\"c12079e7\",\"main\":\"5e29054c\",\"workouts\":\"105c79ea\",\"profile\":\"23881524\",\"reset\":\"528e2916\",\"chunk-2d0c9189\":\"31d6cfe0\",\"chunk-2d0cf391\":\"31d6cfe0\",\"chunk-2d0da8f3\":\"31d6cfe0\",\"chunk-2d2248b6\":\"31d6cfe0\",\"chunk-2d22523a\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'StatCard',\n props: {\n icon: {\n type: String,\n required: true,\n },\n value: {\n type: [String, Number],\n required: true,\n },\n text: {\n type: String,\n required: true,\n },\n },\n })\n","import { render } from \"./StatCard.vue?vue&type=template&id=32e77e48\"\nimport script from \"./StatCard.vue?vue&type=script&lang=ts\"\nexport * from \"./StatCard.vue?vue&type=script&lang=ts\"\n\nimport \"./StatCard.vue?vue&type=style&index=0&id=32e77e48&lang=scss\"\nscript.render = render\n\nexport default script","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserInfosEdition.vue?vue&type=style&index=0&id=a2dfdb58&lang=scss\"","import { ISport, ITranslatedSport } from '@/types/sports'\nimport { IWorkout } from '@/types/workouts'\n\n// TODO: allow user to change colors\nexport const sportColors: Record = {\n 'Cycling (Sport)': '#4c9792',\n 'Cycling (Transport)': '#88af98',\n Hiking: '#bb757c',\n 'Mountain Biking': '#d4b371',\n Running: '#835b83',\n Walking: '#838383',\n}\n\nexport const sportIdColors = (sports: ISport[]): Record => {\n const colors: Record = {}\n sports.map((sport) => (colors[sport.id] = sportColors[sport.label]))\n return colors\n}\n\nconst sortSports = (a: ITranslatedSport, b: ITranslatedSport): number => {\n const sportATranslatedLabel = a.translatedLabel.toLowerCase()\n const sportBTranslatedLabel = b.translatedLabel.toLowerCase()\n return sportATranslatedLabel > sportBTranslatedLabel\n ? 1\n : sportATranslatedLabel < sportBTranslatedLabel\n ? -1\n : 0\n}\n\nexport const translateSports = (\n sports: ISport[],\n t: CallableFunction,\n onlyActive = false\n): ITranslatedSport[] =>\n sports\n .filter((sport) => (onlyActive ? sport.is_active : true))\n .map((sport) => ({\n ...sport,\n translatedLabel: t(`sports.${sport.label}.LABEL`),\n }))\n .sort(sortSports)\n\nexport const getSportLabel = (workout: IWorkout, sports: ISport[]): string => {\n return sports\n .filter((sport) => sport.id === workout.sport_id)\n .map((sport) => sport.label)[0]\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Card.vue?vue&type=style&index=0&id=c5956538&lang=scss\"","import { useStore as VuexStore } from 'vuex'\n\nimport { Store } from '@/store/types'\n\nexport function useStore(): Store {\n return VuexStore() as Store\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminSports.vue?vue&type=style&index=0&id=6d930723&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminApplication.vue?vue&type=style&index=0&id=26175b66&lang=scss&scoped=true\"","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import UserPicture from '@/components/User/UserPicture.vue'\n import { IUserProfile } from '@/types/user'\n\n export default defineComponent({\n name: 'ProfileDisplay',\n components: {\n UserPicture,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n })\n","import { render } from \"./UserHeader.vue?vue&type=template&id=a6fa997c&scoped=true\"\nimport script from \"./UserHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./UserHeader.vue?vue&type=script&lang=ts\"\n\nimport \"./UserHeader.vue?vue&type=style&index=0&id=a6fa997c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-a6fa997c\"\n\nexport default script","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminMenu.vue?vue&type=style&index=0&id=4f30aa64&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./ErrorMessage.vue?vue&type=style&index=0&id=5c177a93&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserHeader.vue?vue&type=style&index=0&id=a6fa997c&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./NavBar.vue?vue&type=style&index=0&id=03a78350&scoped=true&lang=scss\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./App.vue?vue&type=style&index=0&id=317a6409&lang=scss&scoped=true\"","{\n \"ACTION\": \"Action\",\n \"ADMIN_RIGHTS_DELETE_USER_ACCOUNT\": \"Ajouter/retirer des droits d'administration, supprimer des comptes utilisateurs.\",\n \"ADMIN\": \"Admin\",\n \"ADMINISTRATION\": \"Administration\",\n \"APPLICATION\": \"Application\",\n \"APP_CONFIG\": {\n \"MAX_USERS_LABEL\": \"Nombre maximum d'utilisateurs actifs \",\n \"MAX_USERS_HELP\": \"Si égal à 0, pas limite d'inscription\",\n \"MAX_FILES_IN_ZIP_LABEL\": \"Taille max. des archives zip (en Mo) \",\n \"SINGLE_UPLOAD_MAX_SIZE_LABEL\": \"Taille max. des fichiers (en Mo) \",\n \"TITLE\": \"Configuration de l'application\",\n \"ZIP_UPLOAD_MAX_SIZE_LABEL\": \"Nombre max. de fichiers dans une archive zip \"\n },\n \"BACK_TO_ADMIN\": \"Revenir à l'admin\",\n \"CONFIRM_USER_ACCOUNT_DELETION\": \"Etes-vous sûr de vouloir supprimer le compte de {0} ? Toutes les données seront définitivement.\",\n \"DELETE_USER\": \"Supprimer l'utilisateur\",\n \"ENABLE_DISABLE_SPORTS\": \"Activer/désactiver des sports.\",\n \"REGISTRATION_DISABLED\": \"Les inscriptions sont actuellement désactivées.\",\n \"REGISTRATION_ENABLED\": \"Les inscriptions sont actuellement activées.\",\n \"SPORTS\": {\n \"TABLE\": {\n \"ACTIVE\": \"Actif\",\n \"HAS_WORKOUTS\": \"des séances existent\",\n \"IMAGE\": \"Image\",\n \"LABEL\": \"Label\"\n },\n \"TITLE\": \"Administration - Sports\"\n },\n \"UPDATE_APPLICATION_DESCRIPTION\": \"Configurer l'application (nombre maximum d'utilisateurs inscrits, taille maximale des fichers).\",\n \"USER\": \"utilisateur | utilisateurs\",\n \"USERS\": {\n \"TABLE\": {\n \"ADD_ADMIN_RIGHTS\": \"Ajouter les drois d'admin\",\n \"REMOVE_ADMIN_RIGHTS\": \"Retirer les drois d'admin\"\n },\n \"SELECTS\": {\n \"ORDER_BY\": {\n \"LABEL\": \"trier par \",\n \"admin\": \"status administrateur\",\n \"created_at\": \"date d'inscription\",\n \"username\": \"nom d'utilisateur\",\n \"workouts_count\": \"nombre de séances\"\n },\n \"ORDER\": {\n \"LABEL\": \"tri\",\n \"ASC\": \"ascendant\",\n \"DESC\": \"descendant\"\n },\n \"PER_PAGE\": {\n \"LABEL\": \"par page\"\n }\n }\n }\n}\n","{\n \"ERROR\": {\n \"UNKNOWN\": \"Erreur. Veuillez réessayer ou contacter l'administrateur.\",\n \"email: valid email must be provided\": \"Email : une adresse email valide doit être fournie.\",\n \"error on getting configuration\": \"Erreur lors de la récupération de la configuration.\",\n \"error when updating configuration\": \"Erreur lors de la mise à jour de la configuration\",\n \"error, please try again or contact the administrator\": \"Erreur, veuillez réessayer ou contacter l'administrateur.\",\n \"error, registration is disabled\": \"Erreur, les inscriptions sont désactivées.\",\n \"file extension not allowed\": \"Extension de fichier non autorisée.\",\n \"file size is greater than the allowed size\": \"La taille du fichier est supérieure à la limite autorisée.\",\n \"invalid credentials\": \"Identifiants invalides.\",\n \"invalid payload\": \"Données fournies incorrectes.\",\n \"invalid token, please log in again\": \"Jeton de connexion invalide, merci de vous reconnecter.\",\n \"invalid token, please request a new token\": \"Jeton de connexion, merci de vous reconnecter.\",\n \"no file part\": \"Pas de fichier fourni.\",\n \"no selected file\": \"Pas de fichier sélectionné.\",\n \"Network Error\": \"Erreur Réseau.\",\n \"password: password and password confirmation do not match\": \"Mot de passe : les mots de passe saisis sont différents.\",\n \"provide a valid auth token\": \"Merci de fournir un jeton de connexion valide.\",\n \"password: 8 characters required\": \"Mot de passe : 8 caractères minimum.\",\n \"sport does not exist\": \"Ce sport n'existe pas.\",\n \"signature expired, please log in again\": \"Signature expirée. Merci de vous reconnecter.\",\n \"sorry, that user already exists\": \"Désolé, cet utilisateur existe déjà.\",\n \"successfully registered\": \"Inscription validée.\",\n \"user does not exist\": \"L'utilisateur n'existe pas\",\n \"username: 3 to 12 characters required\": \"Nom d'utilisateur : 3 à 12 caractères requis.\",\n \"you do not have permissions\": \"Vous n'avez pas les permissions nécessaires.\"\n },\n \"PAGINATION\": {\n \"PREVIOUS\": \"précédent\",\n \"NEXT\": \"suivant\"\n }\n}","{\n \"BACK\": \"Précédent\",\n \"CANCEL\": \"Annuler\",\n \"DELETE_MY_ACCOUNT\": \"Supprimer mon compte\",\n \"DISABLE\": \"Désactiver\",\n \"EDIT\": \"Modifier\",\n \"ENABLE\": \"Activer\",\n \"FILTER\": \"Filtrer\",\n \"LOGIN\": \"Se connecter\",\n \"NO\": \"Non\",\n \"REGISTER\": \"S'inscrire\",\n \"SUBMIT\": \"Valider\",\n \"YES\": \"Oui\"\n}","{\n \"CONFIRMATION\": \"Confirmation\",\n \"DAY\": \"jour | jours\",\n \"HOME\": \"Accueil\",\n \"HERE\": \"ici\"\n}","{\n \"DASHBOARD\": \"Tableau de Bord\",\n \"THIS_MONTH\": \"Ce mois\"\n}\n","{\n \"UNKNOWN\": \"Erreur. Veuillez réessayer ou contacter l'administrateur.\",\n \"APP_ERROR\": \"L'application semble rencontrer quelques problèmes.
Veuillez réessayer plus tard ou contacter l'administrateur.\",\n \"NOT_FOUND\": {\n \"PAGE\": \"Page introuvable\",\n \"WORKOUT\": \"Séance introuvable\"\n }\n}","{\n \"Cycling (Sport)\": {\n \"LABEL\": \"Vélo (Sport)\"\n },\n \"Cycling (Transport)\": {\n \"LABEL\": \"Vélo (Transport)\"\n },\n \"Hiking\": {\n \"LABEL\": \"Randonnée\"\n },\n \"Mountain Biking\": {\n \"LABEL\": \"VTT\"\n },\n \"Running\": {\n \"LABEL\": \"Course\"\n },\n \"Walking\": {\n \"LABEL\": \"Marche\"\n }\n}","{\n \"STATISTICS\": \"Statistiques\",\n \"TOTAL\": \"Total\",\n \"TIME_FRAMES\": {\n \"week\": \"semaine\",\n \"month\": \"mois\",\n \"year\": \"année\"\n }\n}\n","{\n \"ADMIN\": \"Admin\",\n \"CONFIRM_ACCOUNT_DELETION\": \"Etes-vous sûr de vouloir supprimer votre compte ? Toutes les données seront définitivement effacés.\",\n \"EMAIL\": \"Email\",\n \"ENTER_EMAIL\": \"Saisir une adresse email\",\n \"ENTER_PASSWORD\": \"Saisir un mot de passe\",\n \"ENTER_PASSWORD_CONFIRMATION\": \"Confirmer le mot de passe\",\n \"INVALID_TOKEN\": \"Jeton invalide, veullez demander une nouvelle réinitialisation de mot de passe.\",\n \"LANGUAGE\": \"Langue\",\n \"LOGIN\": \"Se connecter\",\n \"LOGOUT\": \"Se déconnecter\",\n \"PASSWORD\": \"Mot de passe\",\n \"PASSWORD_CONFIRM\": \"Confirmation du mot de passe\",\n \"PASSWORD_CONFIRMATION\": \"Confirmation du mot de passe\",\n \"PASSWORD_FORGOTTEN\": \"Mot de passe oublié ?\",\n \"PASSWORD_RESET\": \"Réinitialisation du mot de passe\",\n \"PASSWORD_SENT_EMAIL_TEXT\": \"Vérifiez vore boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe.\",\n \"PASSWORD_UPDATED\": \"Votre mot de passe a été mis à jour. Cliquez {0} pour vous connecter.\",\n \"PROFILE\": {\n \"BACK_TO_PROFILE\": \"Revenir au profil\",\n \"BIO\": \"Bio\",\n \"BIRTH_DATE\": \"Date de naissance\",\n \"EDIT\": \"Modifier le profil\",\n \"EDIT_PREFERENCES\": \"Modifier les préférences\",\n \"FIRST_DAY_OF_WEEK\": \"Premier jour de la semaine\",\n \"FIRST_NAME\": \"Prénom\",\n \"LANGUAGE\": \"Langue\",\n \"LAST_NAME\": \"Nom\",\n \"LOCATION\": \"Lieu\",\n \"MONDAY\": \"Lundi\",\n \"PICTURE\": \"Image de profil\",\n \"PICTURE_EDITION\": \"Mise à jour de l'image de profil\",\n \"PICTURE_UPDATE\": \"Mettre à jour l'image\",\n \"PICTURE_REMOVE\": \"Supprimer\",\n \"PREFERENCES_EDITION\": \"Mise à jour des préférences\",\n \"PROFILE_EDITION\": \"Mise à jour du profil\",\n \"REGISTRATION_DATE\": \"Date d'inscription\",\n \"SUNDAY\": \"Dimanche\",\n \"TABS\": {\n \"PICTURE\": \"image\",\n \"PREFERENCES\": \"préférences\",\n \"PROFILE\": \"profil\"\n },\n \"TIMEZONE\": \"Fuseau horaire\"\n },\n \"REGISTER\": \"S'inscrire\",\n \"REGISTER_DISABLED\": \"Désolé, les inscriptions sont désactivées.\",\n \"RESET_PASSWORD\": \"Réinitialiser votre mot de passe\",\n \"USER_PICTURE\": \"photo de l'utilisateur\",\n \"USERNAME\": \"Nom d'utilisateur\"\n}","{\n \"ADD_WORKOUT\": \"Ajouter une séance\",\n \"ANALYSIS\": \"analyse\",\n \"ASCENT\": \"dénivelé positif\",\n \"AVERAGE_SPEED\": \"vitesse moyenne\",\n \"AVE_SPEED\": \"vitesse moy.\",\n \"BACK_TO_WORKOUT\": \"revenir à la séance\",\n \"DATE\": \"date\",\n \"DESCENT\": \"dénivelé négatif\",\n \"DISPLAY_FILTERS\": \"afficher les filtres\",\n \"DISTANCE\": \"distance\",\n \"DURATION\": \"durée\",\n \"EDIT_WORKOUT\": \"Modifier la séance\",\n \"ELEVATION\": \"altitude\",\n \"END\": \"fin\",\n \"FROM\": \"à partir de\",\n \"GPX_FILE\": \"fichier .gpx\",\n \"HIDE_FILTERS\": \"masquer les filtres\",\n \"KM\": \"km\",\n \"LATEST_WORKOUTS\": \"Séances récentes\",\n \"LOAD_MORE_WORKOUT\": \"Charger les séances suivantes\",\n \"MAX_ALTITUDE\": \"altitude max\",\n \"MAX_FILES\": \"fichiers max. \",\n \"MAX_SIZE\": \"taille max. \",\n \"MAX_SPEED\": \"vitesse max\",\n \"MIN_ALTITUDE\": \"altitude min\",\n \"NEXT_SEGMENT\": \"Segment suivant\",\n \"NEXT_WORKOUT\": \"Séance suivante\",\n \"NO_DATA_CLEANING\": \"données issues du fichier gpx, sans correction\",\n \"NO_FILE_PROVIDED\": \"Pas de fichier fourni\",\n \"NO_FOLDER\": \"pas de répertoire\",\n \"NO_MAP\": \"Pas de carte\",\n \"NO_NEXT_SEGMENT\": \"Pas de segment suivant\",\n \"NO_NEXT_WORKOUT\": \"Pas de séance suivante\",\n \"NO_NOTES\": \"Pas de notes\",\n \"NO_PREVIOUS_SEGMENT\": \"Pas de segment précédent\",\n \"NO_PREVIOUS_WORKOUT\": \"Pas de séance précédente\",\n \"NO_RECORDS\": \"Pas de records.\",\n \"NO_WORKOUTS\": \"Pas de séances.\",\n \"NOTES\": \"notes\",\n \"PAUSES\": \"pauses\",\n \"PREVIOUS_SEGMENT\": \"Segment précédent\",\n \"PREVIOUS_WORKOUT\": \"Séance précédente\",\n \"RECORD\": \"record | records\",\n \"RECORD_AS\": \"Vitesse moy.\",\n \"RECORD_FD\": \"Distance la + longue\",\n \"RECORD_LD\": \"Durée la + longue\",\n \"RECORD_MS\": \"Vitesse max.\",\n \"REMAINING_CHARS\": \"nombre de caractères restants \",\n \"SEGMENT\": \"segment | segments\",\n \"SPEED\": \"vitesse\",\n \"SPORT\": \"sport | sports\",\n \"START\": \"début\",\n \"TITLE\": \"titre\",\n \"TO\": \"jusqu'au\",\n \"TOTAL_DURATION\": \"durée totale\",\n \"UPLOAD_FIRST_WORKOUT\": \"Ajoutez votre première séance !\",\n \"WEATHER\": {\n \"HUMIDITY\": \"humidité\",\n \"TEMPERATURE\": \"température\",\n \"WIND\": \"vent\",\n \"DARK_SKY\": {\n \"clear-day\": \"ensoleillé\",\n \"clear-night\": \"nuit claire\",\n \"cloudy\": \"nuageux\",\n \"fog\": \"brouillard\",\n \"partly-cloudy-day\": \"partiellement nuageux\",\n \"partly-cloudy-night\": \"nuit partiellement nuageuse\",\n \"rain\": \"pluie\",\n \"sleet\": \"neige fondue\",\n \"snow\": \"neige\",\n \"wind\": \"venteux\"\n }\n },\n \"WITH_GPX\": \"avec un fichier .gpx\",\n \"WITHOUT_GPX\": \"sans fichier .gpx\",\n \"WORKOUT\": \"séance | séances\",\n \"WORKOUT_DATE\": \"date de la séance\",\n \"WORKOUT_DELETION_CONFIRMATION\": \"Etes-vous sûr de vouloir supprimer cette séance ?\",\n \"ZIP_ARCHIVE\": \"archive .zip\",\n \"ZIP_ARCHIVE_DESCRIPTION\": \"ou une archive .zip contenant des fichiers .gpx\"\n}\n","import AdministrationTranslations from './administration.json'\nimport ApiTranslations from './api.json'\nimport ButtonsTranslations from './buttons.json'\nimport CommonTranslations from './common.json'\nimport DashboardTranslations from './dashboard.json'\nimport ErrorTranslations from './error.json'\nimport SportsTranslations from './sports.json'\nimport StatisticsTranslations from './statistics.json'\nimport UserTranslations from './user.json'\nimport WorkoutsTranslations from './workouts.json'\n\nexport default {\n admin: AdministrationTranslations,\n api: ApiTranslations,\n buttons: ButtonsTranslations,\n common: CommonTranslations,\n dashboard: DashboardTranslations,\n error: ErrorTranslations,\n sports: SportsTranslations,\n statistics: StatisticsTranslations,\n user: UserTranslations,\n workouts: WorkoutsTranslations,\n}\n","\n\n\n\n\n","\n import { format } from 'date-fns'\n import {\n ComputedRef,\n PropType,\n Ref,\n computed,\n defineComponent,\n ref,\n } from 'vue'\n\n import { USER_STORE } from '@/store/constants'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'UserInfos',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n fromAdmin: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const store = useStore()\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const registrationDate = computed(() =>\n props.user.created_at\n ? format(new Date(props.user.created_at), 'dd/MM/yyyy HH:mm')\n : ''\n )\n const birthDate = computed(() =>\n props.user.birth_date\n ? format(new Date(props.user.birth_date), 'dd/MM/yyyy')\n : ''\n )\n let displayModal: Ref = ref(false)\n\n function updateDisplayModal(value: boolean) {\n displayModal.value = value\n }\n function deleteUserAccount(username: string) {\n store.dispatch(USER_STORE.ACTIONS.DELETE_ACCOUNT, { username })\n }\n\n return {\n authUser,\n birthDate,\n displayModal,\n registrationDate,\n deleteUserAccount,\n updateDisplayModal,\n }\n },\n })\n","import { render } from \"./UserInfos.vue?vue&type=template&id=1267fe4f&scoped=true\"\nimport script from \"./UserInfos.vue?vue&type=script&lang=ts\"\nexport * from \"./UserInfos.vue?vue&type=script&lang=ts\"\n\nimport \"./UserInfos.vue?vue&type=style&index=0&id=1267fe4f&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-1267fe4f\"\n\nexport default script","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Footer.vue?vue&type=style&index=0&id=e1641806&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=c81580c0&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./StatCard.vue?vue&type=style&index=0&id=32e77e48&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Modal.vue?vue&type=style&index=0&id=21b6cb61&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserPicture.vue?vue&type=style&index=0&id=bc591ae4&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Dropdown.vue?vue&type=style&index=0&id=5ef2ddef&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserInfos.vue?vue&type=style&index=0&id=1267fe4f&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AppStatsCards.vue?vue&type=style&index=0&id=cd52bcc2&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CustomTextArea.vue?vue&type=style&index=0&id=ad3739fc&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Loader.vue?vue&type=style&index=0&id=8bf75da8&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminUsersSelects.vue?vue&type=style&index=0&id=4a4a3d67&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserPictureEdition.vue?vue&type=style&index=0&id=500d4a7a&lang=scss&scoped=true\"","{\n \"ACTION\": \"Action\",\n \"ADMIN_RIGHTS_DELETE_USER_ACCOUNT\": \"Add/remove admin rights, delete user account.\",\n \"ADMIN\": \"Admin\",\n \"ADMINISTRATION\": \"Administration\",\n \"APPLICATION\": \"Application\",\n \"APP_CONFIG\": {\n \"MAX_USERS_LABEL\": \"Max. number of active users\",\n \"MAX_USERS_HELP\": \"If 0, no limitation on registration.\",\n \"MAX_FILES_IN_ZIP_LABEL\": \"Max. files of zip archive\",\n \"SINGLE_UPLOAD_MAX_SIZE_LABEL\": \"Max. size of uploaded files (in Mb)\",\n \"TITLE\": \"Application configuration\",\n \"ZIP_UPLOAD_MAX_SIZE_LABEL\": \"Max. size of zip archive (in Mb)\"\n },\n \"BACK_TO_ADMIN\": \"Back to admin\",\n \"CONFIRM_USER_ACCOUNT_DELETION\": \"Are you sure you want to delete {0} account? All data will be deleted, this cannot be undone.\",\n \"DELETE_USER\": \"Delete user\",\n \"ENABLE_DISABLE_SPORTS\": \"Enable/disable sports.\",\n \"REGISTRATION_DISABLED\": \"Registration is currently disabled.\",\n \"REGISTRATION_ENABLED\": \"Registration is currently enabled.\",\n \"SPORTS\": {\n \"TABLE\": {\n \"ACTIVE\": \"Active\",\n \"HAS_WORKOUTS\": \"workouts exist\",\n \"IMAGE\": \"Image\",\n \"LABEL\": \"Label\"\n },\n \"TITLE\": \"Sports administration\"\n },\n \"UPDATE_APPLICATION_DESCRIPTION\": \"Update application configuration (maximum number of registered users, maximum files size).\",\n \"USER\": \"user | users\",\n \"USERS\": {\n \"TABLE\": {\n \"ADD_ADMIN_RIGHTS\": \"Add admin rights\",\n \"REMOVE_ADMIN_RIGHTS\": \"Remove admin rights\"\n },\n \"SELECTS\": {\n \"ORDER_BY\": {\n \"LABEL\": \"order by\",\n \"admin\": \"admin status\",\n \"created_at\": \"registration date\",\n \"username\": \"username\",\n \"workouts_count\": \"workout count\"\n },\n \"ORDER\": {\n \"LABEL\": \"sort\",\n \"ASC\": \"ascending\",\n \"DESC\": \"descending\"\n },\n \"PER_PAGE\": {\n \"LABEL\": \"par page\"\n }\n }\n }\n}\n","{\n \"ERROR\": {\n \"UNKNOWN\": \"Error. Please try again or contact the administrator.\",\n \"email: valid email must be provided\": \"Email: valid email must be provided.\",\n \"error on getting configuration\": \"Error on getting configuration.\",\n \"error when updating configuration\": \"Error when updating configuration\",\n \"error, please try again or contact the administrator\": \"Error, please try again or contact the administrator.\",\n \"error, registration is disabled\": \"Error, registration is disabled.\",\n \"file extension not allowed\": \"File extension not allowed.\",\n \"file size is greater than the allowed size\": \"File size is greater than the allowed size.\",\n \"invalid credentials\": \"Invalid credentials.\",\n \"invalid payload\": \"Provided data are invalid.\",\n \"invalid token, please log in again\": \"Invalid token, please log in again.\",\n \"invalid token, please request a new token\": \"Invalid token, please log in again.\",\n \"Network Error\": \"Network Error.\",\n \"no file part\": \"No file provided.\",\n \"no selected file\": \"No selected file.\",\n \"password: password and password confirmation do not match\": \"Password: password and password confirmation don't match.\",\n \"provide a valid auth token\": \"Provide a valid auth token.\",\n \"password: 8 characters required\": \"Password: 8 characters required.\",\n \"sorry, that user already exists\": \"Sorry, that user already exists.\",\n \"sport does not exist\": \"Sport does not exist.\",\n \"signature expired, please log in again\": \"Signature expired. Please log in again.\",\n \"successfully registered\": \"Successfully registered.\",\n \"user does not exist\": \"User does not exist.\",\n \"username: 3 to 12 characters required\": \"Username: 3 to 12 characters required.\",\n \"you do not have permissions\": \"You do not have permissions.\"\n },\n \"PAGINATION\": {\n \"PREVIOUS\": \"previous\",\n \"NEXT\": \"next\"\n }\n}","{\n \"BACK\": \"Back\",\n \"CANCEL\": \"Cancel\",\n \"DELETE_MY_ACCOUNT\": \"Delete my account\",\n \"DISABLE\": \"Disable\",\n \"EDIT\": \"Edit\",\n \"ENABLE\": \"Enable\",\n \"FILTER\": \"Filter\",\n \"LOGIN\": \"Log in\",\n \"NO\": \"No\",\n \"REGISTER\": \"Register\",\n \"SUBMIT\": \"Submit\",\n \"YES\": \"Yes\"\n}","{\n \"CONFIRMATION\": \"Confirmation\",\n \"DAY\": \"day | days\",\n \"HOME\": \"Home\",\n \"HERE\": \"here\"\n}","{\n \"DASHBOARD\": \"Dashboard\",\n \"THIS_MONTH\": \"This month\"\n}\n","{\n \"UNKNOWN\": \"Error. Please try again or contact the administrator.\",\n \"APP_ERROR\": \"The application seems encounter some issues.
Please try later or contact the administrator.\",\n \"NOT_FOUND\": {\n \"PAGE\": \"Page not found\",\n \"WORKOUT\": \"Workout not found\"\n }\n}","{\n \"Cycling (Sport)\": {\n \"LABEL\": \"Cycling (Sport)\"\n },\n \"Cycling (Transport)\": {\n \"LABEL\": \"Cycling (Transport)\"\n },\n \"Hiking\": {\n \"LABEL\": \"Hiking\"\n },\n \"Mountain Biking\": {\n \"LABEL\": \"Mountain Biking\"\n },\n \"Running\": {\n \"LABEL\": \"Running\"\n },\n \"Walking\": {\n \"LABEL\": \"Walking\"\n }\n}","{\n \"STATISTICS\": \"Statistics\",\n \"TOTAL\": \"Total\",\n \"TIME_FRAMES\": {\n \"week\": \"week\",\n \"month\": \"month\",\n \"year\": \"year\"\n }\n}\n","{\n \"ADMIN\": \"Admin\",\n \"CONFIRM_ACCOUNT_DELETION\": \"Are you sure you want to delete your account? All data will be deleted, this cannot be undone\",\n \"EMAIL\": \"Email\",\n \"ENTER_EMAIL\": \"Enter an email address\",\n \"ENTER_PASSWORD\": \"Enter a password\",\n \"ENTER_PASSWORD_CONFIRMATION\": \"Confirm the password\",\n \"INVALID_TOKEN\": \"Invalid token, please request a new password reset.\",\n \"LANGUAGE\": \"Language\",\n \"LOGIN\": \"Login\",\n \"LOGOUT\": \"Logout\",\n \"PASSWORD\": \"Password\",\n \"PASSWORD_CONFIRM\": \"Confirm Password\",\n \"PASSWORD_CONFIRMATION\": \"Password confirmation\",\n \"PASSWORD_FORGOTTEN\": \"Forgot password?\",\n \"PASSWORD_RESET\": \"Password reset\",\n \"PASSWORD_SENT_EMAIL_TEXT\": \"Check your email. If your address is in our database, you'll received an email with a link to reset your password.\",\n \"PASSWORD_UPDATED\": \"Your password have been updated. Click {0} to log in.\",\n \"PROFILE\": {\n \"BACK_TO_PROFILE\": \"Back to profile\",\n \"BIO\": \"Bio\",\n \"BIRTH_DATE\": \"Birth date\",\n \"EDIT\": \"Edit profile\",\n \"EDIT_PREFERENCES\": \"Edit preferences\",\n \"FIRST_NAME\": \"First name\",\n \"FIRST_DAY_OF_WEEK\": \"First day of week\",\n \"LANGUAGE\": \"Language\",\n \"LAST_NAME\": \"Last name\",\n \"LOCATION\": \"Location\",\n \"MONDAY\": \"Monday\",\n \"PICTURE\": \"Picture\",\n \"PICTURE_EDITION\": \"Picture edition\",\n \"PICTURE_UPDATE\": \"Update picture\",\n \"PICTURE_REMOVE\": \"Remove picture\",\n \"PREFERENCES_EDITION\": \"Preferences edition\",\n \"PROFILE_EDITION\": \"Profile edition\",\n \"REGISTRATION_DATE\": \"Registration date\",\n \"SUNDAY\": \"Sunday\",\n \"TABS\": {\n \"PICTURE\": \"picture\",\n \"PREFERENCES\": \"preferences\",\n \"PROFILE\": \"profile\"\n },\n \"TIMEZONE\": \"Timezone\"\n },\n \"REGISTER\": \"Register\",\n \"REGISTER_DISABLED\": \"Sorry, registration is disabled.\",\n \"RESET_PASSWORD\": \"Reset your password\",\n \"USER_PICTURE\": \"user picture\",\n \"USERNAME\": \"Username\"\n}\n","{\n \"ADD_WORKOUT\": \"Add a workout\",\n \"ANALYSIS\": \"analysis\",\n \"ASCENT\": \"ascent\",\n \"AVE_SPEED\": \"ave. speed\",\n \"AVERAGE_SPEED\": \"average speed\",\n \"BACK_TO_WORKOUT\": \"back to workout\",\n \"DATE\": \"date\",\n \"DESCENT\": \"descent\",\n \"DISPLAY_FILTERS\": \"display filters\",\n \"DISTANCE\": \"distance\",\n \"DURATION\": \"duration\",\n \"EDIT_WORKOUT\": \"Edit the workout\",\n \"ELEVATION\": \"elevation\",\n \"END\": \"end\",\n \"FROM\": \"from\",\n \"GPX_FILE\": \".gpx file\",\n \"HIDE_FILTERS\": \"hide filters\",\n \"KM\": \"km\",\n \"LATEST_WORKOUTS\": \"Latest workouts\",\n \"LOAD_MORE_WORKOUT\": \"Load more workouts\",\n \"MAX_ALTITUDE\": \"max. altitude\",\n \"MAX_FILES\": \"max files\",\n \"MAX_SIZE\": \"max size\",\n \"MAX_SPEED\": \"max. speed\",\n \"MIN_ALTITUDE\": \"min. altitude\",\n \"NEXT_SEGMENT\": \"No next segment\",\n \"NEXT_WORKOUT\": \"Next workout\",\n \"NO_DATA_CLEANING\": \"data from gpx, without any cleaning\",\n \"NO_FILE_PROVIDED\": \"No file provided\",\n \"NO_FOLDER\": \"no folder inside\",\n \"NO_MAP\": \"No map\",\n \"NO_NEXT_SEGMENT\": \"No next segment\",\n \"NO_NEXT_WORKOUT\": \"No next workout\",\n \"NO_NOTES\": \"No notes\",\n \"NO_PREVIOUS_SEGMENT\": \"No previous segment\",\n \"NO_PREVIOUS_WORKOUT\": \"No previous workout\",\n \"NO_RECORDS\": \"No records.\",\n \"NO_WORKOUTS\": \"No workouts.\",\n \"NOTES\": \"notes\",\n \"PAUSES\": \"pauses\",\n \"PREVIOUS_SEGMENT\": \"Previous segment\",\n \"PREVIOUS_WORKOUT\": \"Previous workout\",\n \"RECORD\": \"record | records\",\n \"RECORD_AS\": \"Ave. speed\",\n \"RECORD_FD\": \"Farest distance\",\n \"RECORD_LD\": \"Longest duration\",\n \"RECORD_MS\": \"Max. speed\",\n \"REMAINING_CHARS\": \"remaining characters\",\n \"SEGMENT\": \"segment | segments\",\n \"SPEED\": \"speed\",\n \"SPORT\": \"sport | sports\",\n \"START\": \"start\",\n \"TITLE\": \"title\",\n \"TO\": \"to\",\n \"TOTAL_DURATION\": \"total duration\",\n \"UPLOAD_FIRST_WORKOUT\": \"Upload one!\",\n \"WEATHER\": {\n \"HUMIDITY\": \"humidity\",\n \"TEMPERATURE\": \"temperature\",\n \"WIND\": \"wind\",\n \"DARK_SKY\": {\n \"clear-day\": \"clear day\",\n \"clear-night\": \"clear night\",\n \"cloudy\": \"cloudy\",\n \"fog\": \"fog\",\n \"partly-cloudy-day\": \"partly cloudy day\",\n \"partly-cloudy-night\": \"partly cloudy night\",\n \"rain\": \"rain\",\n \"sleet\": \"sleet\",\n \"snow\": \"snow\",\n \"wind\": \"wind\"\n }\n },\n \"WITH_GPX\": \"with .gpx file\",\n \"WITHOUT_GPX\": \"without .gpx file\",\n \"WORKOUT\": \"workout | workouts\",\n \"WORKOUT_DATE\": \"workout date\",\n \"WORKOUT_DELETION_CONFIRMATION\": \"Are you sure you want to delete this workout?\",\n \"ZIP_ARCHIVE\": \".zip file\",\n \"ZIP_ARCHIVE_DESCRIPTION\": \"or .zip file containing .gpx files\"\n}\n","import AdministrationTranslations from './administration.json'\nimport ApiTranslations from './api.json'\nimport ButtonsTranslations from './buttons.json'\nimport CommonTranslations from './common.json'\nimport DashboardTranslations from './dashboard.json'\nimport ErrorTranslations from './error.json'\nimport SportsTranslations from './sports.json'\nimport StatisticsTranslations from './statistics.json'\nimport UserTranslations from './user.json'\nimport WorkoutsTranslations from './workouts.json'\n\nexport default {\n admin: AdministrationTranslations,\n api: ApiTranslations,\n buttons: ButtonsTranslations,\n common: CommonTranslations,\n dashboard: DashboardTranslations,\n error: ErrorTranslations,\n sports: SportsTranslations,\n statistics: StatisticsTranslations,\n user: UserTranslations,\n workouts: WorkoutsTranslations,\n}\n","const suffixes = ['bytes', 'KB', 'MB', 'GB', 'TB']\n\nexport const getReadableFileSize = (\n fileSize: number,\n asText = true\n): string | Record => {\n const i = Math.floor(Math.log(fileSize) / Math.log(1024))\n if (!fileSize) {\n return asText ? '0 bytes' : { size: '0', suffix: 'bytes' }\n }\n const size = (fileSize / Math.pow(1024, i)).toFixed(1)\n const suffix = suffixes[i]\n return asText ? `${size}${suffix}` : { size, suffix }\n}\n\nexport const getFileSizeInMB = (fileSize: number): number => {\n const value = fileSize / 1048576\n return (!fileSize && 0) || +value.toFixed(2)\n}\n","\n\n\n\n\n","\n import { PropType, computed, defineComponent } from 'vue'\n\n import { IUserProfile } from '@/types/user'\n import { getApiUrl } from '@/utils'\n\n export default defineComponent({\n name: 'UserPicture',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n return {\n authUserPictureUrl: computed(() =>\n props.user.picture\n ? `${getApiUrl()}users/${props.user.username}/picture?${Date.now()}`\n : ''\n ),\n }\n },\n })\n","import { render } from \"./UserPicture.vue?vue&type=template&id=bc591ae4\"\nimport script from \"./UserPicture.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPicture.vue?vue&type=script&lang=ts\"\n\nimport \"./UserPicture.vue?vue&type=style&index=0&id=bc591ae4&lang=scss\"\nscript.render = render\n\nexport default script","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserPreferences.vue?vue&type=style&index=0&id=39667dbe&lang=scss&scoped=true\"","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready() {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n registered() {\n console.log('Service worker has been registered.')\n },\n cached() {\n console.log('Content has been cached for offline use.')\n },\n updatefound() {\n console.log('New content is downloading.')\n },\n updated() {\n console.log('New content is available; please refresh.')\n },\n offline() {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n )\n },\n error(error) {\n console.error('Error during service worker registration:', error)\n },\n })\n}\n","\n\n\n\n\n","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'Footer',\n props: {\n version: {\n type: String,\n required: true,\n },\n },\n })\n","import { render } from \"./Footer.vue?vue&type=template&id=e1641806&scoped=true\"\nimport script from \"./Footer.vue?vue&type=script&lang=ts\"\nexport * from \"./Footer.vue?vue&type=script&lang=ts\"\n\nimport \"./Footer.vue?vue&type=style&index=0&id=e1641806&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-e1641806\"\n\nexport default script","\n\n\n\n\n","import { createI18n, LocaleMessages, VueMessageType } from 'vue-i18n'\n\n/**\n * Load locale messages\n *\n * The loaded `JSON` locale messages is pre-compiled by `@intlify/vue-i18n-loader`, which is integrated into `vue-cli-plugin-i18n`.\n * See: https://github.com/intlify/vue-i18n-loader#rocket-i18n-resource-pre-compilation\n */\nfunction loadLocaleMessages(): LocaleMessages {\n const locales = require.context('./locales', true, /[A-Za-z0-9-_,\\s]+\\.ts$/i)\n const messages: LocaleMessages = {}\n locales.keys().forEach((key) => {\n const matched = key.match(/([A-Za-z0-9-_]+)\\./i)\n if (matched && matched.length > 1) {\n const locale = matched[1]\n messages[locale] = locales(key).default\n }\n })\n return messages\n}\n\nexport default createI18n({\n legacy: false,\n locale: 'en',\n fallbackLocale: 'en',\n globalInjection: true,\n messages: loadLocaleMessages(),\n})\n","/* eslint-disable import/no-duplicates */\nimport { Locale } from 'date-fns'\nimport { enUS, fr } from 'date-fns/locale'\n\nimport createI18n from '@/i18n'\n\nexport const localeFromLanguage: Record = {\n en: enUS,\n fr: fr,\n}\n\nexport const languageLabels: Record = {\n en: 'English',\n fr: 'Français',\n}\n\nconst { availableLocales } = createI18n.global\nexport const availableLanguages = availableLocales.map((l) => {\n return { label: languageLabels[l], value: l }\n})\n","\n import { ComputedRef, computed, defineComponent, ref, capitalize } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import UserPicture from '@/components/User/UserPicture.vue'\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { IDropdownOption } from '@/types/forms'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { getApiUrl } from '@/utils'\n import { availableLanguages } from '@/utils/locales'\n\n export default defineComponent({\n name: 'NavBar',\n components: {\n UserPicture,\n },\n emits: ['menuInteraction'],\n setup(props, { emit }) {\n const { locale } = useI18n()\n const store = useStore()\n\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const isAuthenticated: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.IS_AUTHENTICATED]\n )\n const authUserPictureUrl: ComputedRef = computed(() =>\n isAuthenticated.value && authUser.value.picture\n ? `${getApiUrl()}/users/${\n authUser.value.username\n }/picture?${Date.now()}`\n : ''\n )\n const language: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.LANGUAGE]\n )\n let isMenuOpen = ref(false)\n\n function openMenu() {\n isMenuOpen.value = true\n emit('menuInteraction', true)\n }\n function closeMenu() {\n isMenuOpen.value = false\n emit('menuInteraction', false)\n }\n function updateLanguage(option: IDropdownOption) {\n locale.value = option.value.toString()\n store.commit(ROOT_STORE.MUTATIONS.UPDATE_LANG, option.value)\n }\n function logout() {\n store.dispatch(USER_STORE.ACTIONS.LOGOUT)\n }\n\n return {\n availableLanguages,\n authUser,\n authUserPictureUrl,\n isAuthenticated,\n isMenuOpen,\n language,\n capitalize,\n openMenu,\n closeMenu,\n updateLanguage,\n logout,\n }\n },\n })\n","import { render } from \"./NavBar.vue?vue&type=template&id=03a78350&scoped=true\"\nimport script from \"./NavBar.vue?vue&type=script&lang=ts\"\nexport * from \"./NavBar.vue?vue&type=script&lang=ts\"\n\nimport \"./NavBar.vue?vue&type=style&index=0&id=03a78350&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-03a78350\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n export default defineComponent({\n name: 'NoConfig',\n setup() {\n const { t } = useI18n()\n return { t }\n },\n })\n","import { render } from \"./NoConfig.vue?vue&type=template&id=01d4a985&scoped=true\"\nimport script from \"./NoConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./NoConfig.vue?vue&type=script&lang=ts\"\n\nimport \"./NoConfig.vue?vue&type=style&index=0&id=01d4a985&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-01d4a985\"\n\nexport default script","\n import {\n ComputedRef,\n computed,\n defineComponent,\n ref,\n onBeforeMount,\n onMounted,\n } from 'vue'\n\n import Footer from '@/components/Footer.vue'\n import NavBar from '@/components/NavBar.vue'\n import NoConfig from '@/components/NoConfig.vue'\n import { ROOT_STORE } from '@/store/constants'\n import { TAppConfig } from '@/types/application'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'App',\n components: {\n Footer,\n NavBar,\n NoConfig,\n },\n setup() {\n const store = useStore()\n\n const appConfig: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n )\n const appLoading: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_LOADING]\n )\n const hideScrollBar = ref(false)\n const displayScrollButton = ref(false)\n\n onBeforeMount(() =>\n store.dispatch(ROOT_STORE.ACTIONS.GET_APPLICATION_CONFIG)\n )\n onMounted(() => scroll())\n\n function updateHideScrollBar(isMenuOpen: boolean) {\n hideScrollBar.value = isMenuOpen\n }\n\n function isScrolledToBottom(element: Element): boolean {\n return (\n element.getBoundingClientRect().top < window.innerHeight &&\n element.getBoundingClientRect().bottom >= 0\n )\n }\n function scroll() {\n window.onscroll = () => {\n let bottom = document.querySelector('#bottom')\n displayScrollButton.value =\n bottom !== null && isScrolledToBottom(bottom)\n }\n }\n function scrollToTop() {\n window.scrollTo({\n top: 0,\n behavior: 'smooth',\n })\n setTimeout(() => {\n displayScrollButton.value = false\n }, 300)\n }\n\n return {\n appConfig,\n appLoading,\n hideScrollBar,\n displayScrollButton,\n scrollToTop,\n updateHideScrollBar,\n }\n },\n })\n","import { render } from \"./App.vue?vue&type=template&id=317a6409&scoped=true\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=317a6409&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-317a6409\"\n\nexport default script","\n\n\n\n\n","\n import {\n ComputedRef,\n PropType,\n computed,\n defineComponent,\n reactive,\n onBeforeMount,\n } from 'vue'\n import { useRouter } from 'vue-router'\n\n import { ROOT_STORE } from '@/store/constants'\n import { TAppConfig, TAppConfigForm } from '@/types/application'\n import { useStore } from '@/use/useStore'\n import { getFileSizeInMB } from '@/utils/files'\n\n export default defineComponent({\n name: 'AdminApplication',\n props: {\n appConfig: {\n type: Object as PropType,\n required: true,\n },\n edition: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const store = useStore()\n const router = useRouter()\n const appData: TAppConfigForm = reactive({\n max_users: 0,\n max_single_file_size: 0,\n max_zip_file_size: 0,\n gpx_limit_import: 0,\n })\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n onBeforeMount(() => {\n if (props.appConfig) {\n updateForm(props.appConfig)\n }\n })\n\n function updateForm(appConfig: TAppConfig) {\n Object.keys(appData).map((key) => {\n ;['max_single_file_size', 'max_zip_file_size'].includes(key)\n ? // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n (appData[key] = getFileSizeInMB(appConfig[key]))\n : // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n (appData[key] = appConfig[key])\n })\n }\n\n function onCancel() {\n updateForm(props.appConfig)\n store.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n router.push('/admin/application')\n }\n function onSubmit() {\n const formData: TAppConfigForm = Object.assign({}, appData)\n formData.max_single_file_size *= 1048576\n formData.max_zip_file_size *= 1048576\n store.dispatch(ROOT_STORE.ACTIONS.UPDATE_APPLICATION_CONFIG, formData)\n }\n\n return { appData, errorMessages, onCancel, onSubmit }\n },\n })\n","import { render } from \"./AdminApplication.vue?vue&type=template&id=26175b66&scoped=true\"\nimport script from \"./AdminApplication.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminApplication.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminApplication.vue?vue&type=style&index=0&id=26175b66&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-26175b66\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent, computed } from 'vue'\n\n import StatCard from '@/components/Common/StatCard.vue'\n import { IAppStatistics } from '@/types/application'\n import { getReadableFileSize } from '@/utils/files'\n\n export default defineComponent({\n name: 'UserStatsCards',\n components: {\n StatCard,\n },\n props: {\n appStatistics: {\n type: Object as PropType,\n default: () => {\n return {}\n },\n },\n },\n setup(props) {\n return {\n uploadDirSize: computed(() =>\n props.appStatistics.uploads_dir_size\n ? getReadableFileSize(props.appStatistics.uploads_dir_size, false)\n : { size: 0, suffix: 'bytes' }\n ),\n usersCount: computed(() =>\n props.appStatistics.users ? props.appStatistics.users : 0\n ),\n sportsCount: computed(() =>\n props.appStatistics.sports ? props.appStatistics.sports : 0\n ),\n workoutCount: computed(() =>\n props.appStatistics.workouts ? props.appStatistics.workouts : 0\n ),\n }\n },\n })\n","import { render } from \"./AppStatsCards.vue?vue&type=template&id=cd52bcc2\"\nimport script from \"./AppStatsCards.vue?vue&type=script&lang=ts\"\nexport * from \"./AppStatsCards.vue?vue&type=script&lang=ts\"\n\nimport \"./AppStatsCards.vue?vue&type=style&index=0&id=cd52bcc2&lang=scss\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n export default defineComponent({\n name: 'Card',\n })\n","import { render } from \"./Card.vue?vue&type=template&id=c5956538\"\nimport script from \"./Card.vue?vue&type=script&lang=ts\"\nexport * from \"./Card.vue?vue&type=script&lang=ts\"\n\nimport \"./Card.vue?vue&type=style&index=0&id=c5956538&lang=scss\"\nscript.render = render\n\nexport default script","\n import { PropType, capitalize, defineComponent } from 'vue'\n\n import AppStatsCards from '@/components/Administration/AppStatsCards.vue'\n import Card from '@/components/Common/Card.vue'\n import { IAppStatistics, TAppConfig } from '@/types/application'\n\n export default defineComponent({\n name: 'AdminMenu',\n components: {\n AppStatsCards,\n Card,\n },\n props: {\n appConfig: {\n type: Object as PropType,\n required: true,\n },\n appStatistics: {\n type: Object as PropType,\n },\n },\n setup() {\n return { capitalize }\n },\n })\n","import { render } from \"./AdminMenu.vue?vue&type=template&id=4f30aa64&scoped=true\"\nimport script from \"./AdminMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminMenu.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminMenu.vue?vue&type=style&index=0&id=4f30aa64&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4f30aa64\"\n\nexport default script","\n\n\n\n\n","\n import { ComputedRef, computed, defineComponent } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import { ROOT_STORE, SPORTS_STORE } from '@/store/constants'\n import { ITranslatedSport } from '@/types/sports'\n import { useStore } from '@/use/useStore'\n import { translateSports } from '@/utils/sports'\n\n export default defineComponent({\n name: 'AdminSports',\n setup() {\n const { t } = useI18n()\n const store = useStore()\n const translatedSports: ComputedRef = computed(() =>\n translateSports(store.getters[SPORTS_STORE.GETTERS.SPORTS], t)\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n function updateSportStatus(id: number, isActive: boolean) {\n store.dispatch(SPORTS_STORE.ACTIONS.UPDATE_SPORTS, {\n id,\n isActive,\n })\n }\n\n return { errorMessages, translatedSports, updateSportStatus }\n },\n })\n","import { render } from \"./AdminSports.vue?vue&type=template&id=6d930723&scoped=true\"\nimport script from \"./AdminSports.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminSports.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminSports.vue?vue&type=style&index=0&id=6d930723&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6d930723\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import { TPaginationPayload } from '@/types/api'\n\n export default defineComponent({\n name: 'AdminUsersSelects',\n props: {\n order_by: {\n type: Object as PropType,\n required: true,\n },\n query: {\n type: Object as PropType,\n required: true,\n },\n sort: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['updateSelect'],\n setup(props, { emit }) {\n function onSelectUpdate(event: Event & { target: HTMLInputElement }) {\n emit('updateSelect', event.target.id, event.target.value)\n }\n\n return {\n per_page: [10, 50, 100],\n onSelectUpdate,\n }\n },\n })\n","import { render } from \"./AdminUsersSelects.vue?vue&type=template&id=4a4a3d67&scoped=true\"\nimport script from \"./AdminUsersSelects.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminUsersSelects.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminUsersSelects.vue?vue&type=style&index=0&id=4a4a3d67&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4a4a3d67\"\n\nexport default script","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import { IPagination, TPaginationPayload } from '@/types/api'\n\n export default defineComponent({\n name: 'Pagination',\n props: {\n pagination: {\n type: Object as PropType,\n required: true,\n },\n path: {\n type: String,\n required: true,\n },\n query: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n function rangePagination(pages: number): number[] {\n return Array.from({ length: pages }, (_, i) => i + 1)\n }\n function getQuery(page: number, cursor?: number): TPaginationPayload {\n const newQuery = Object.assign({}, props.query)\n newQuery.page = cursor ? page + cursor : page\n return newQuery\n }\n return { rangePagination, getQuery }\n },\n })\n","import { render } from \"./Pagination.vue?vue&type=template&id=7694e784&scoped=true\"\nimport script from \"./Pagination.vue?vue&type=script&lang=ts\"\nexport * from \"./Pagination.vue?vue&type=script&lang=ts\"\n\nimport \"./Pagination.vue?vue&type=style&index=0&id=7694e784&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-7694e784\"\n\nexport default script","\n import {\n ComputedRef,\n computed,\n defineComponent,\n reactive,\n watch,\n capitalize,\n onBeforeMount,\n onUnmounted,\n } from 'vue'\n import { LocationQuery, useRoute, useRouter } from 'vue-router'\n\n import AdminUsersSelects from '@/components/Administration/AdminUsersSelects.vue'\n import Pagination from '@/components/Common/Pagination.vue'\n import UserPicture from '@/components/User/UserPicture.vue'\n import { ROOT_STORE, USER_STORE, USERS_STORE } from '@/store/constants'\n import { IPagination, TPaginationPayload } from '@/types/api'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'AdminUsers',\n components: {\n AdminUsersSelects,\n Pagination,\n UserPicture,\n },\n setup() {\n const store = useStore()\n const route = useRoute()\n const router = useRouter()\n\n const sort: string[] = ['asc', 'desc']\n const order_by: string[] = [\n 'admin',\n 'created_at',\n 'username',\n 'workouts_count',\n ]\n let query: TPaginationPayload = reactive(getQuery(route.query))\n\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const users: ComputedRef = computed(\n () => store.getters[USERS_STORE.GETTERS.USERS]\n )\n const pagination: ComputedRef = computed(\n () => store.getters[USERS_STORE.GETTERS.USERS_PAGINATION]\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n function loadUsers(queryParams: TPaginationPayload) {\n store.dispatch(USERS_STORE.ACTIONS.GET_USERS, queryParams)\n }\n function getPage(page: string | (string | null)[] | null): number {\n return page && typeof page === 'string' && +page > 0 ? +page : 1\n }\n function getPerPage(perPage: string | (string | null)[] | null): number {\n return perPage && typeof perPage === 'string' && +perPage > 0\n ? +perPage\n : 10\n }\n function getOrder(order: string | (string | null)[] | null): string {\n return order && typeof order === 'string' && sort.includes(order)\n ? order\n : 'asc'\n }\n function getOrderBy(order: string | (string | null)[] | null): string {\n return order && typeof order === 'string' && order_by.includes(order)\n ? order\n : 'created_at'\n }\n function getQuery(query: LocationQuery): TPaginationPayload {\n return {\n page: getPage(query.page),\n per_page: getPerPage(query.per_page),\n order: getOrder(query.order),\n order_by: getOrderBy(query.order_by),\n }\n }\n function updateUser(username: string, admin: boolean) {\n store.dispatch(USERS_STORE.ACTIONS.UPDATE_USER, {\n username,\n admin,\n })\n }\n function reloadUsers(queryParam: string, queryValue: string) {\n query[queryParam] = queryValue\n if (queryParam === 'per_page') {\n query.page = 1\n }\n router.push({ path: '/admin/users', query })\n }\n\n onBeforeMount(() => loadUsers(query))\n\n watch(\n () => route.query,\n (newQuery: LocationQuery) => {\n query.page = getPage(newQuery.page)\n query.per_page = getPerPage(newQuery.per_page)\n query.order = getOrder(newQuery.order)\n query.order_by = getOrderBy(newQuery.order_by)\n loadUsers(query)\n }\n )\n\n onUnmounted(() => {\n store.dispatch(USERS_STORE.ACTIONS.EMPTY_USERS)\n })\n\n return {\n authUser,\n errorMessages,\n pagination,\n order_by,\n query,\n sort,\n users,\n capitalize,\n reloadUsers,\n updateUser,\n }\n },\n })\n","import { render } from \"./AdminUsers.vue?vue&type=template&id=2f9e0e4c&scoped=true\"\nimport script from \"./AdminUsers.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminUsers.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminUsers.vue?vue&type=style&index=0&id=2f9e0e4c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-2f9e0e4c\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'UserProfileTabs',\n props: {\n tabs: {\n type: Object as PropType,\n required: true,\n },\n selectedTab: {\n type: String,\n required: true,\n },\n edition: {\n type: Boolean,\n required: true,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n function getPath(tab: string) {\n switch (tab) {\n case 'PICTURE':\n return '/profile/edit/picture'\n case 'PREFERENCES':\n return `/profile${props.edition ? '/edit' : ''}/preferences`\n default:\n case 'PROFILE':\n return `/profile${props.edition ? '/edit' : ''}`\n }\n }\n return { getPath }\n },\n })\n","import { render } from \"./UserProfileTabs.vue?vue&type=template&id=c7276c08\"\nimport script from \"./UserProfileTabs.vue?vue&type=script&lang=ts\"\nexport * from \"./UserProfileTabs.vue?vue&type=script&lang=ts\"\n\nimport \"./UserProfileTabs.vue?vue&type=style&index=0&id=c7276c08&lang=scss\"\nscript.render = render\n\nexport default script","\n import { PropType, defineComponent } from 'vue'\n\n import UserHeader from '@/components/User/ProfileDisplay/UserHeader.vue'\n import UserProfileTabs from '@/components/User/UserProfileTabs.vue'\n import { IUserProfile } from '@/types/user'\n\n export default defineComponent({\n name: 'ProfileDisplay',\n components: {\n UserHeader,\n UserProfileTabs,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n tab: {\n type: String,\n required: true,\n },\n },\n setup() {\n return {\n tabs: ['PROFILE', 'PREFERENCES'],\n }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=c81580c0&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=c81580c0&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-c81580c0\"\n\nexport default script","\n\n\n\n\n","\n import { PropType, computed, defineComponent } from 'vue'\n\n import { IUserProfile } from '@/types/user'\n import { languageLabels } from '@/utils/locales'\n\n export default defineComponent({\n name: 'UserPreferences',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const language = computed(() =>\n props.user.language\n ? languageLabels[props.user.language]\n : languageLabels['en']\n )\n const fistDayOfWeek = computed(() =>\n props.user.weekm ? 'MONDAY' : 'SUNDAY'\n )\n const timezone = computed(() =>\n props.user.timezone ? props.user.timezone : 'Europe/Paris'\n )\n return { fistDayOfWeek, language, timezone }\n },\n })\n","import { render } from \"./UserPreferences.vue?vue&type=template&id=39667dbe&scoped=true\"\nimport script from \"./UserPreferences.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPreferences.vue?vue&type=script&lang=ts\"\n\nimport \"./UserPreferences.vue?vue&type=style&index=0&id=39667dbe&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-39667dbe\"\n\nexport default script","\n\n\n","\n import { computed, defineComponent, PropType } from 'vue'\n\n import UserProfileTabs from '@/components/User/UserProfileTabs.vue'\n import { USER_STORE } from '@/store/constants'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'ProfileEdition',\n components: {\n UserProfileTabs,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n tab: {\n type: String,\n required: true,\n },\n },\n setup() {\n const store = useStore()\n return {\n loading: computed(() => store.getters[USER_STORE.GETTERS.USER_LOADING]),\n tabs: ['PROFILE', 'PICTURE', 'PREFERENCES'],\n }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=035b0eba\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import { format } from 'date-fns'\n import {\n ComputedRef,\n PropType,\n Ref,\n computed,\n defineComponent,\n reactive,\n ref,\n onMounted,\n } from 'vue'\n\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { IUserProfile, IUserPayload } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'UserInfosEdition',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const store = useStore()\n const userForm: IUserPayload = reactive({\n password: '',\n password_conf: '',\n first_name: '',\n last_name: '',\n birth_date: '',\n location: '',\n bio: '',\n })\n const registrationDate = computed(() =>\n props.user.created_at\n ? format(new Date(props.user.created_at), 'dd/MM/yyyy HH:mm')\n : ''\n )\n const loading = computed(\n () => store.getters[USER_STORE.GETTERS.USER_LOADING]\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n let displayModal: Ref = ref(false)\n\n onMounted(() => {\n if (props.user) {\n updateUserForm(props.user)\n }\n })\n\n function updateUserForm(user: IUserProfile) {\n userForm.first_name = user.first_name ? user.first_name : ''\n userForm.last_name = user.last_name ? user.last_name : ''\n userForm.birth_date = user.birth_date\n ? format(new Date(user.birth_date), 'yyyy-MM-dd')\n : ''\n userForm.location = user.location ? user.location : ''\n userForm.bio = user.bio ? user.bio : ''\n }\n function updateBio(value: string) {\n userForm.bio = value\n }\n function updateProfile() {\n store.dispatch(USER_STORE.ACTIONS.UPDATE_USER_PROFILE, userForm)\n }\n function updateDisplayModal(value: boolean) {\n displayModal.value = value\n }\n function deleteAccount(username: string) {\n store.dispatch(USER_STORE.ACTIONS.DELETE_ACCOUNT, { username })\n }\n\n return {\n displayModal,\n errorMessages,\n loading,\n registrationDate,\n userForm,\n deleteAccount,\n updateBio,\n updateDisplayModal,\n updateProfile,\n }\n },\n })\n","import { render } from \"./UserInfosEdition.vue?vue&type=template&id=a2dfdb58\"\nimport script from \"./UserInfosEdition.vue?vue&type=script&lang=ts\"\nexport * from \"./UserInfosEdition.vue?vue&type=script&lang=ts\"\n\nimport \"./UserInfosEdition.vue?vue&type=style&index=0&id=a2dfdb58&lang=scss\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import {\n ComputedRef,\n PropType,\n Ref,\n defineComponent,\n computed,\n ref,\n } from 'vue'\n\n import UserPicture from '@/components/User/UserPicture.vue'\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { TAppConfig } from '@/types/application'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { getReadableFileSize } from '@/utils/files'\n\n export default defineComponent({\n name: 'UserPictureEdition',\n components: {\n UserPicture,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup() {\n const store = useStore()\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n const appConfig: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n )\n const fileSizeLimit = appConfig.value.max_single_file_size\n ? getReadableFileSize(appConfig.value.max_single_file_size)\n : ''\n let pictureFile: Ref = ref(null)\n\n function deleteUserPicture() {\n store.dispatch(USER_STORE.ACTIONS.DELETE_PICTURE)\n }\n function updatePictureFile(event: Event & { target: HTMLInputElement }) {\n if (event.target.files) {\n pictureFile.value = event.target.files[0]\n }\n }\n function updateUserPicture() {\n if (pictureFile.value) {\n store.dispatch(USER_STORE.ACTIONS.UPDATE_USER_PICTURE, {\n picture: pictureFile.value,\n })\n }\n }\n\n return {\n errorMessages,\n fileSizeLimit,\n pictureFile,\n deleteUserPicture,\n updateUserPicture,\n updatePictureFile,\n }\n },\n })\n","import { render } from \"./UserPictureEdition.vue?vue&type=template&id=500d4a7a&scoped=true\"\nimport script from \"./UserPictureEdition.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPictureEdition.vue?vue&type=script&lang=ts\"\n\nimport \"./UserPictureEdition.vue?vue&type=style&index=0&id=500d4a7a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-500d4a7a\"\n\nexport default script","\n\n\n","\n import {\n ComputedRef,\n PropType,\n computed,\n defineComponent,\n reactive,\n onMounted,\n } from 'vue'\n\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { IUserProfile, IUserPreferencesPayload } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { availableLanguages } from '@/utils/locales'\n\n export default defineComponent({\n name: 'UserPreferencesEdition',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const store = useStore()\n const userForm: IUserPreferencesPayload = reactive({\n language: '',\n timezone: 'Europe/Paris',\n weekm: false,\n })\n const weekStart = [\n {\n label: 'MONDAY',\n value: true,\n },\n {\n label: 'SUNDAY',\n value: false,\n },\n ]\n const loading = computed(\n () => store.getters[USER_STORE.GETTERS.USER_LOADING]\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n onMounted(() => {\n if (props.user) {\n updateUserForm(props.user)\n }\n })\n\n function updateUserForm(user: IUserProfile) {\n userForm.language = user.language ? user.language : 'en'\n userForm.timezone = user.timezone ? user.timezone : 'Europe/Paris'\n userForm.weekm = user.weekm ? user.weekm : false\n }\n function updateProfile() {\n store.dispatch(USER_STORE.ACTIONS.UPDATE_USER_PREFERENCES, userForm)\n }\n\n return {\n availableLanguages,\n errorMessages,\n loading,\n userForm,\n weekStart,\n updateProfile,\n }\n },\n })\n","import { render } from \"./UserPreferencesEdition.vue?vue&type=template&id=18513603\"\nimport script from \"./UserPreferencesEdition.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPreferencesEdition.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","import axios from 'axios'\n\nimport store from '@/store'\nimport { USER_STORE } from '@/store/constants'\nimport { getApiUrl } from '@/utils'\n\nconst authApi = axios.create({\n baseURL: getApiUrl(),\n})\n\nauthApi.interceptors.request.use(\n (config) => {\n const authToken = store.getters[USER_STORE.GETTERS.AUTH_TOKEN]\n if (authToken) {\n const auth = `Bearer ${authToken}`\n if (config.headers.Authorization !== auth) {\n config.headers.Authorization = `Bearer ${authToken}`\n }\n }\n return config\n },\n (error) => Promise.reject(error)\n)\n\nexport default authApi\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport router from '@/router'\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootActions, IRootState } from '@/store/modules/root/types'\nimport { TAppConfigForm } from '@/types/application'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree & IRootActions = {\n [ROOT_STORE.ACTIONS.GET_APPLICATION_CONFIG](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_LOADING, true)\n authApi\n .get('config')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_CONFIG,\n res.data.data\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_LOADING, false)\n )\n },\n [ROOT_STORE.ACTIONS.GET_APPLICATION_STATS](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('stats/all')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_STATS,\n res.data.data\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [ROOT_STORE.ACTIONS.UPDATE_APPLICATION_CONFIG](\n context: ActionContext,\n payload: TAppConfigForm\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .patch('config', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_CONFIG,\n res.data.data\n )\n router.push('/admin/application')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootGetters, IRootState } from '@/store/modules/root/types'\n\nexport const getters: GetterTree & IRootGetters = {\n [ROOT_STORE.GETTERS.APP_CONFIG]: (state: IRootState) => {\n return state.application.config\n },\n [ROOT_STORE.GETTERS.APP_LOADING]: (state: IRootState) => {\n return state.appLoading\n },\n [ROOT_STORE.GETTERS.APP_STATS]: (state: IRootState) => {\n return state.application.statistics\n },\n [ROOT_STORE.GETTERS.ERROR_MESSAGES]: (state: IRootState) => {\n return state.errorMessages\n },\n [ROOT_STORE.GETTERS.LANGUAGE]: (state: IRootState) => {\n return state.language\n },\n [ROOT_STORE.GETTERS.LOCALE]: (state: IRootState) => {\n return state.locale\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootState, TRootMutations } from '@/store/modules/root/types'\nimport { TAppConfig, IAppStatistics } from '@/types/application'\nimport { localeFromLanguage } from '@/utils/locales'\n\nexport const mutations: MutationTree & TRootMutations = {\n [ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES](state: IRootState) {\n state.errorMessages = null\n },\n [ROOT_STORE.MUTATIONS.SET_ERROR_MESSAGES](\n state: IRootState,\n errorMessages: string\n ) {\n state.errorMessages = errorMessages\n },\n [ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_CONFIG](\n state: IRootState,\n config: TAppConfig\n ) {\n state.application.config = config\n },\n [ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_LOADING](\n state: IRootState,\n loading: boolean\n ) {\n state.appLoading = loading\n },\n [ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_STATS](\n state: IRootState,\n statistics: IAppStatistics\n ) {\n state.application.statistics = statistics\n },\n [ROOT_STORE.MUTATIONS.UPDATE_LANG](state: IRootState, language: string) {\n state.language = language\n state.locale = localeFromLanguage[language]\n },\n}\n","import { enUS } from 'date-fns/locale'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { IApplication } from '@/types/application'\n\nexport const state: IRootState = {\n root: true,\n language: 'en',\n locale: enUS,\n errorMessages: null,\n application: {},\n appLoading: false,\n}\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport { ROOT_STORE, SPORTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { ISportsActions, ISportsState } from '@/store/modules/sports/types'\nimport { ISportPayload } from '@/types/sports'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree & ISportsActions = {\n [SPORTS_STORE.ACTIONS.GET_SPORTS](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('sports')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n SPORTS_STORE.MUTATIONS.SET_SPORTS,\n res.data.data.sports\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [SPORTS_STORE.ACTIONS.UPDATE_SPORTS](\n context: ActionContext,\n payload: ISportPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .patch(`sports/${payload.id}`, { is_active: payload.isActive })\n .then((res) => {\n if (res.data.status === 'success') {\n context.dispatch(SPORTS_STORE.ACTIONS.GET_SPORTS)\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { SPORTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { ISportsGetters, ISportsState } from '@/store/modules/sports/types'\n\nexport const getters: GetterTree & ISportsGetters = {\n [SPORTS_STORE.GETTERS.SPORTS]: (state: ISportsState) => state.sports,\n}\n","import { MutationTree } from 'vuex'\n\nimport { SPORTS_STORE } from '@/store/constants'\nimport { ISportsState, TSportsMutations } from '@/store/modules/sports/types'\nimport { ISport } from '@/types/sports'\n\nexport const mutations: MutationTree & TSportsMutations = {\n [SPORTS_STORE.MUTATIONS.SET_SPORTS](state: ISportsState, sports: ISport[]) {\n state.sports = sports\n },\n}\n","import { ISportsState } from '@/store/modules/sports/types'\n\nexport const sportsState: ISportsState = {\n sports: [],\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/sports/actions'\nimport { getters } from '@/store/modules/sports/getters'\nimport { mutations } from '@/store/modules/sports/mutations'\nimport { sportsState } from '@/store/modules/sports/state'\nimport { ISportsState } from '@/store/modules/sports/types'\n\nconst sports: Module = {\n state: sportsState,\n actions,\n getters,\n mutations,\n}\n\nexport default sports\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport { STATS_STORE, ROOT_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IStatisticsActions,\n IStatisticsState,\n} from '@/store/modules/statistics/types'\nimport { IUserStatisticsPayload } from '@/types/statistics'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree &\n IStatisticsActions = {\n [STATS_STORE.ACTIONS.GET_USER_STATS](\n context: ActionContext,\n payload: IUserStatisticsPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get(`stats/${payload.username}/${payload.filterType}`, {\n params: payload.params,\n })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n STATS_STORE.MUTATIONS.UPDATE_USER_STATS,\n res.data.data.statistics\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { STATS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IStatisticsGetters,\n IStatisticsState,\n} from '@/store/modules/statistics/types'\n\nexport const getters: GetterTree &\n IStatisticsGetters = {\n [STATS_STORE.GETTERS.USER_STATS]: (state: IStatisticsState) => {\n return state.statistics\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { STATS_STORE } from '@/store/constants'\nimport {\n IStatisticsState,\n TStatisticsMutations,\n} from '@/store/modules/statistics/types'\nimport { TStatisticsFromApi } from '@/types/statistics'\n\nexport const mutations: MutationTree & TStatisticsMutations =\n {\n [STATS_STORE.MUTATIONS.UPDATE_USER_STATS](\n state: IStatisticsState,\n statistics: TStatisticsFromApi\n ) {\n state.statistics = statistics\n },\n [STATS_STORE.MUTATIONS.EMPTY_USER_STATS](state: IStatisticsState) {\n state.statistics = {}\n },\n }\n","import { IStatisticsState } from '@/store/modules/statistics/types'\nimport { TStatisticsFromApi } from '@/types/statistics'\n\nexport const statisticsState: IStatisticsState = {\n statistics: {},\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/statistics/actions'\nimport { getters } from '@/store/modules/statistics/getters'\nimport { mutations } from '@/store/modules/statistics/mutations'\nimport { statisticsState } from '@/store/modules/statistics/state'\nimport { IStatisticsState } from '@/store/modules/statistics/types'\n\nconst statistics: Module = {\n state: statisticsState,\n actions,\n getters,\n mutations,\n}\n\nexport default statistics\n","import axios from 'axios'\n\nimport { getApiUrl } from '@/utils'\n\nconst api = axios.create({\n baseURL: getApiUrl(),\n})\n\nexport default api\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport api from '@/api/defaultApi'\nimport createI18n from '@/i18n'\nimport router from '@/router'\nimport {\n ROOT_STORE,\n SPORTS_STORE,\n STATS_STORE,\n USER_STORE,\n WORKOUTS_STORE,\n} from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUserActions, IUserState } from '@/store/modules/user/types'\nimport {\n ILoginOrRegisterData,\n IUserDeletionPayload,\n IUserPasswordPayload,\n IUserPasswordResetPayload,\n IUserPayload,\n IUserPicturePayload,\n IUserPreferencesPayload,\n} from '@/types/user'\nimport { handleError } from '@/utils'\n\nconst { locale } = createI18n.global\n\nexport const actions: ActionTree & IUserActions = {\n [USER_STORE.ACTIONS.CHECK_AUTH_USER](\n context: ActionContext\n ): void {\n if (\n window.localStorage.authToken &&\n !context.getters[USER_STORE.GETTERS.IS_AUTHENTICATED]\n ) {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_TOKEN,\n window.localStorage.authToken\n )\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n }\n },\n [USER_STORE.ACTIONS.GET_USER_PROFILE](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('auth/profile')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE,\n res.data.data\n )\n if (res.data.data.language) {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_LANG,\n res.data.data.language\n )\n locale.value = res.data.data.language\n }\n context.dispatch(SPORTS_STORE.ACTIONS.GET_SPORTS)\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.LOGIN_OR_REGISTER](\n context: ActionContext,\n data: ILoginOrRegisterData\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n api\n .post(`/auth/${data.actionType}`, data.formData)\n .then((res) => {\n if (res.data.status === 'success') {\n const token = res.data.auth_token\n window.localStorage.setItem('authToken', token)\n context.commit(USER_STORE.MUTATIONS.UPDATE_AUTH_TOKEN, token)\n context\n .dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n .then(() => router.push('/'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.LOGOUT](\n context: ActionContext\n ): void {\n localStorage.removeItem('authToken')\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(STATS_STORE.MUTATIONS.EMPTY_USER_STATS)\n context.commit(USER_STORE.MUTATIONS.CLEAR_AUTH_USER_TOKEN)\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUTS)\n router.push('/login')\n },\n [USER_STORE.ACTIONS.UPDATE_USER_PROFILE](\n context: ActionContext,\n payload: IUserPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n authApi\n .post('auth/profile/edit', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE,\n res.data.data\n )\n router.push('/profile')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.UPDATE_USER_PREFERENCES](\n context: ActionContext,\n payload: IUserPreferencesPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n authApi\n .post('auth/profile/edit/preferences', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE,\n res.data.data\n )\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_LANG,\n res.data.data.language\n )\n locale.value = res.data.data.language\n router.push('/profile/preferences')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.UPDATE_USER_PICTURE](\n context: ActionContext,\n payload: IUserPicturePayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n if (!payload.picture) {\n throw new Error('No file part')\n }\n const form = new FormData()\n form.append('file', payload.picture)\n authApi\n .post('auth/picture', form, {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n })\n .then((res) => {\n if (res.data.status === 'success') {\n context\n .dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n .then(() => router.push('/profile'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.DELETE_ACCOUNT](\n context: ActionContext,\n payload: IUserDeletionPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .delete(`users/${payload.username}`)\n .then((res) => {\n if (res.status === 204) {\n context\n .dispatch(USER_STORE.ACTIONS.LOGOUT)\n .then(() => router.push('/'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.DELETE_PICTURE](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n authApi\n .delete(`auth/picture`)\n .then((res) => {\n if (res.status === 204) {\n context\n .dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n .then(() => router.push('/profile'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.SEND_PASSWORD_RESET_REQUEST](\n context: ActionContext,\n payload: IUserPasswordPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n api\n .post('auth/password/reset-request', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n router.push('/password-reset/sent')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.RESET_USER_PASSWORD](\n context: ActionContext,\n payload: IUserPasswordResetPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n api\n .post('auth/password/update', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n router.push('/password-reset/password-updated')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { USER_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUserGetters, IUserState } from '@/store/modules/user/types'\n\nexport const getters: GetterTree & IUserGetters = {\n [USER_STORE.GETTERS.AUTH_TOKEN]: (state: IUserState) => {\n return state.authToken\n },\n [USER_STORE.GETTERS.AUTH_USER_PROFILE]: (state: IUserState) => {\n return state.authUserProfile\n },\n [USER_STORE.GETTERS.IS_AUTHENTICATED]: (state: IUserState) => {\n return state.authToken !== null\n },\n [USER_STORE.GETTERS.IS_ADMIN]: (state: IUserState) => {\n return state.authUserProfile && state.authUserProfile.admin\n },\n [USER_STORE.GETTERS.USER_LOADING]: (state: IUserState) => {\n return state.loading\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { USER_STORE } from '@/store/constants'\nimport { IUserState, TUserMutations } from '@/store/modules/user/types'\nimport { IUserProfile } from '@/types/user'\n\nexport const mutations: MutationTree & TUserMutations = {\n [USER_STORE.MUTATIONS.CLEAR_AUTH_USER_TOKEN](state: IUserState) {\n state.authToken = null\n state.authUserProfile = {}\n },\n [USER_STORE.MUTATIONS.UPDATE_AUTH_TOKEN](\n state: IUserState,\n authToken: string\n ) {\n state.authToken = authToken\n },\n [USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE](\n state: IUserState,\n authUserProfile: IUserProfile\n ) {\n state.authUserProfile = authUserProfile\n },\n [USER_STORE.MUTATIONS.UPDATE_USER_LOADING](\n state: IUserState,\n loading: boolean\n ) {\n state.loading = loading\n },\n}\n","import { IUserState } from '@/store/modules/user/types'\nimport { IUserProfile } from '@/types/user'\n\nexport const userState: IUserState = {\n authToken: null,\n authUserProfile: {},\n loading: false,\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/user/actions'\nimport { getters } from '@/store/modules/user/getters'\nimport { mutations } from '@/store/modules/user/mutations'\nimport { userState } from '@/store/modules/user/state.ts'\nimport { IUserState } from '@/store/modules/user/types'\n\nconst user: Module = {\n state: userState,\n actions,\n getters,\n mutations,\n}\n\nexport default user\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport { ROOT_STORE, USERS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUsersActions, IUsersState } from '@/store/modules/users/types'\nimport { TPaginationPayload } from '@/types/api'\nimport { IAdminUserPayload } from '@/types/user'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree & IUsersActions = {\n [USERS_STORE.ACTIONS.EMPTY_USER](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USER, {})\n },\n [USERS_STORE.ACTIONS.EMPTY_USERS](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS, [])\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_PAGINATION, {})\n },\n [USERS_STORE.ACTIONS.GET_USER](\n context: ActionContext,\n username: string\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, true)\n authApi\n .get(`users/${username}`)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USER,\n res.data.data.users[0]\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, false)\n )\n },\n [USERS_STORE.ACTIONS.GET_USERS](\n context: ActionContext,\n payload: TPaginationPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, true)\n authApi\n .get('users', { params: payload })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USERS,\n res.data.data.users\n )\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USERS_PAGINATION,\n res.data.pagination\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, false)\n )\n },\n [USERS_STORE.ACTIONS.UPDATE_USER](\n context: ActionContext,\n payload: IAdminUserPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .patch(`users/${payload.username}`, { admin: payload.admin })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USER_IN_USERS,\n res.data.data.users[0]\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, false)\n )\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { USERS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUsersGetters, IUsersState } from '@/store/modules/users/types'\n\nexport const getters: GetterTree & IUsersGetters = {\n [USERS_STORE.GETTERS.USER]: (state: IUsersState) => {\n return state.user\n },\n [USERS_STORE.GETTERS.USERS]: (state: IUsersState) => {\n return state.users\n },\n [USERS_STORE.GETTERS.USERS_LOADING]: (state: IUsersState) => {\n return state.loading\n },\n [USERS_STORE.GETTERS.USERS_PAGINATION]: (state: IUsersState) => {\n return state.pagination\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { USERS_STORE } from '@/store/constants'\nimport { IUsersState, TUsersMutations } from '@/store/modules/users/types'\nimport { IPagination } from '@/types/api'\nimport { IUserProfile } from '@/types/user'\n\nexport const mutations: MutationTree & TUsersMutations = {\n [USERS_STORE.MUTATIONS.UPDATE_USER](state: IUsersState, user: IUserProfile) {\n state.user = user\n },\n [USERS_STORE.MUTATIONS.UPDATE_USER_IN_USERS](\n state: IUsersState,\n updatedUser: IUserProfile\n ) {\n state.users = state.users.map((user) => {\n if (user.username === updatedUser.username) {\n return updatedUser\n }\n return user\n })\n },\n [USERS_STORE.MUTATIONS.UPDATE_USERS](\n state: IUsersState,\n users: IUserProfile[]\n ) {\n state.users = users\n },\n [USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING](\n state: IUsersState,\n loading: boolean\n ) {\n state.loading = loading\n },\n [USERS_STORE.MUTATIONS.UPDATE_USERS_PAGINATION](\n state: IUsersState,\n pagination: IPagination\n ) {\n state.pagination = pagination\n },\n}\n","import { IUsersState } from '@/store/modules/users/types'\nimport { IPagination } from '@/types/api'\nimport { IUserProfile } from '@/types/user'\n\nexport const usersState: IUsersState = {\n user: {},\n users: [],\n loading: false,\n pagination: {},\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/users/actions'\nimport { getters } from '@/store/modules/users/getters'\nimport { mutations } from '@/store/modules/users/mutations'\nimport { usersState } from '@/store/modules/users/state'\nimport { IUsersState } from '@/store/modules/users/types'\n\nconst users: Module = {\n state: usersState,\n actions,\n getters,\n mutations,\n}\n\nexport default users\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport router from '@/router'\nimport { ROOT_STORE, USER_STORE, WORKOUTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IWorkoutsActions,\n IWorkoutsState,\n} from '@/store/modules/workouts/types'\nimport {\n IWorkout,\n IWorkoutForm,\n IWorkoutPayload,\n IWorkoutsPayload,\n} from '@/types/workouts'\nimport { handleError } from '@/utils'\n\nconst getWorkouts = (\n context: ActionContext,\n payload: IWorkoutsPayload,\n target: string,\n append = false\n): void => {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('workouts', {\n params: payload,\n })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n target === 'CALENDAR_WORKOUTS'\n ? WORKOUTS_STORE.MUTATIONS.SET_CALENDAR_WORKOUTS\n : append\n ? WORKOUTS_STORE.MUTATIONS.ADD_USER_WORKOUTS\n : WORKOUTS_STORE.MUTATIONS.SET_USER_WORKOUTS,\n res.data.data.workouts\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n}\n\nexport const actions: ActionTree &\n IWorkoutsActions = {\n [WORKOUTS_STORE.ACTIONS.GET_CALENDAR_WORKOUTS](\n context: ActionContext,\n payload: IWorkoutsPayload\n ): void {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_CALENDAR_WORKOUTS)\n getWorkouts(context, payload, 'CALENDAR_WORKOUTS')\n },\n [WORKOUTS_STORE.ACTIONS.GET_USER_WORKOUTS](\n context: ActionContext,\n payload: IWorkoutsPayload\n ): void {\n getWorkouts(context, payload, 'USER_WORKOUTS')\n },\n [WORKOUTS_STORE.ACTIONS.GET_MORE_USER_WORKOUTS](\n context: ActionContext,\n payload: IWorkoutsPayload\n ): void {\n getWorkouts(context, payload, 'USER_WORKOUTS', true)\n },\n [WORKOUTS_STORE.ACTIONS.GET_WORKOUT_DATA](\n context: ActionContext,\n payload: IWorkoutPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n const segmentUrl = payload.segmentId ? `/segment/${payload.segmentId}` : ''\n authApi\n .get(`workouts/${payload.workoutId}`)\n .then((res) => {\n const workout: IWorkout = res.data.data.workouts[0]\n if (res.data.status === 'success') {\n if (\n payload.segmentId &&\n (workout.segments.length === 0 ||\n !workout.segments[+payload.segmentId - 1])\n ) {\n throw new Error('WORKOUT_NOT_FOUND')\n }\n context.commit(\n WORKOUTS_STORE.MUTATIONS.SET_WORKOUT,\n res.data.data.workouts[0]\n )\n if (res.data.data.workouts[0].with_gpx) {\n authApi\n .get(`workouts/${payload.workoutId}/chart_data${segmentUrl}`)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_CHART_DATA,\n res.data.data.chart_data\n )\n }\n })\n authApi\n .get(`workouts/${payload.workoutId}/gpx${segmentUrl}`)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_GPX,\n res.data.data.gpx\n )\n }\n })\n }\n } else {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT)\n handleError(context, null)\n }\n })\n .catch((error) => {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT)\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.DELETE_WORKOUT](\n context: ActionContext,\n payload: IWorkoutPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n authApi\n .delete(`workouts/${payload.workoutId}`)\n .then(() => {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT)\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n router.push('/')\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.EDIT_WORKOUT](\n context: ActionContext,\n payload: IWorkoutPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n authApi\n .patch(`workouts/${payload.workoutId}`, payload.data)\n .then(() => {\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n context\n .dispatch(WORKOUTS_STORE.ACTIONS.GET_WORKOUT_DATA, {\n workoutId: payload.workoutId,\n })\n .then(() => {\n router.push({\n name: 'Workout',\n params: { workoutId: payload.workoutId },\n })\n })\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.ADD_WORKOUT](\n context: ActionContext,\n payload: IWorkoutForm\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n if (!payload.file) {\n throw new Error('No file part')\n }\n const form = new FormData()\n form.append('file', payload.file)\n form.append(\n 'data',\n `{\"sport_id\": ${payload.sport_id}, \"notes\": \"${payload.notes}\"}`\n )\n authApi\n .post('workouts', form, {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n })\n .then((res) => {\n if (res.data.status === 'created') {\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n const workout: IWorkout = res.data.data.workouts[0]\n router.push(\n res.data.data.workouts.length === 1\n ? `/workouts/${workout.id}`\n : '/'\n )\n }\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.ADD_WORKOUT_WITHOUT_GPX](\n context: ActionContext,\n payload: IWorkoutForm\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n authApi\n .post('workouts/no_gpx', payload)\n .then((res) => {\n if (res.data.status === 'created') {\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n const workout: IWorkout = res.data.data.workouts[0]\n router.push(`/workouts/${workout.id}`)\n }\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { WORKOUTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IWorkoutsGetters,\n IWorkoutsState,\n} from '@/store/modules/workouts/types'\n\nexport const getters: GetterTree &\n IWorkoutsGetters = {\n [WORKOUTS_STORE.GETTERS.CALENDAR_WORKOUTS]: (state: IWorkoutsState) => {\n return state.calendar_workouts\n },\n [WORKOUTS_STORE.GETTERS.USER_WORKOUTS]: (state: IWorkoutsState) => {\n return state.user_workouts\n },\n [WORKOUTS_STORE.GETTERS.WORKOUT_DATA]: (state: IWorkoutsState) => {\n return state.workoutData\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { WORKOUTS_STORE } from '@/store/constants'\nimport {\n IWorkoutsState,\n TWorkoutsMutations,\n} from '@/store/modules/workouts/types'\nimport { IWorkout, IWorkoutApiChartData } from '@/types/workouts'\n\nexport const mutations: MutationTree & TWorkoutsMutations = {\n [WORKOUTS_STORE.MUTATIONS.ADD_USER_WORKOUTS](\n state: IWorkoutsState,\n workouts: IWorkout[]\n ) {\n state.user_workouts = state.user_workouts.concat(workouts)\n },\n [WORKOUTS_STORE.MUTATIONS.SET_CALENDAR_WORKOUTS](\n state: IWorkoutsState,\n workouts: IWorkout[]\n ) {\n state.calendar_workouts = workouts\n },\n [WORKOUTS_STORE.MUTATIONS.SET_USER_WORKOUTS](\n state: IWorkoutsState,\n workouts: IWorkout[]\n ) {\n state.user_workouts = workouts\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT](\n state: IWorkoutsState,\n workout: IWorkout\n ) {\n state.workoutData.workout = workout\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_CHART_DATA](\n state: IWorkoutsState,\n chartData: IWorkoutApiChartData[]\n ) {\n state.workoutData.chartData = chartData\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_GPX](\n state: IWorkoutsState,\n gpx: string\n ) {\n state.workoutData.gpx = gpx\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING](\n state: IWorkoutsState,\n loading: boolean\n ) {\n state.workoutData.loading = loading\n },\n [WORKOUTS_STORE.MUTATIONS.EMPTY_CALENDAR_WORKOUTS](state: IWorkoutsState) {\n state.calendar_workouts = []\n },\n [WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUTS](state: IWorkoutsState) {\n state.calendar_workouts = []\n state.user_workouts = []\n },\n [WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT](state: IWorkoutsState) {\n state.workoutData = {\n gpx: '',\n loading: false,\n workout: {},\n chartData: [],\n }\n },\n}\n","import { IWorkoutsState } from '@/store/modules/workouts/types'\nimport { IWorkout } from '@/types/workouts'\n\nexport const workoutsState: IWorkoutsState = {\n calendar_workouts: [],\n user_workouts: [],\n workoutData: {\n gpx: '',\n loading: false,\n workout: {},\n chartData: [],\n },\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/workouts/actions'\nimport { getters } from '@/store/modules/workouts/getters'\nimport { mutations } from '@/store/modules/workouts/mutations'\nimport { workoutsState } from '@/store/modules/workouts/state'\nimport { IWorkoutsState } from '@/store/modules/workouts/types'\n\nconst workouts: Module = {\n state: workoutsState,\n actions,\n getters,\n mutations,\n}\n\nexport default workouts\n","import { Module, ModuleTree } from 'vuex'\n\nimport { actions } from '@/store/modules/root/actions'\nimport { getters } from '@/store/modules/root/getters'\nimport { mutations } from '@/store/modules/root/mutations'\nimport { state } from '@/store/modules/root/state.ts'\nimport { IRootState } from '@/store/modules/root/types'\nimport sportsModule from '@/store/modules/sports'\nimport statsModule from '@/store/modules/statistics'\nimport userModule from '@/store/modules/user'\nimport usersModule from '@/store/modules/users'\nimport workoutsModule from '@/store/modules/workouts'\n\nconst modules: ModuleTree = {\n sportsModule,\n statsModule,\n userModule,\n usersModule,\n workoutsModule,\n}\n\nconst root: Module = {\n state,\n actions,\n getters,\n mutations,\n modules,\n}\n\nexport default root\n","import { createStore } from 'vuex'\n\nimport root from '@/store/modules/root'\nimport { IRootState } from '@/store/modules/root/types'\n\nconst store = createStore(root)\n\nexport default store\n","import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'\n\nimport AdminApplication from '@/components/Administration/AdminApplication.vue'\nimport AdminMenu from '@/components/Administration/AdminMenu.vue'\nimport AdminSports from '@/components/Administration/AdminSports.vue'\nimport AdminUsers from '@/components/Administration/AdminUsers.vue'\nimport Profile from '@/components/User/ProfileDisplay/index.vue'\nimport UserInfos from '@/components/User/ProfileDisplay/UserInfos.vue'\nimport UserPreferences from '@/components/User/ProfileDisplay/UserPreferences.vue'\nimport ProfileEdition from '@/components/User/ProfileEdition/index.vue'\nimport UserInfosEdition from '@/components/User/ProfileEdition/UserInfosEdition.vue'\nimport UserPictureEdition from '@/components/User/ProfileEdition/UserPictureEdition.vue'\nimport UserPreferencesEdition from '@/components/User/ProfileEdition/UserPreferencesEdition.vue'\nimport store from '@/store'\nimport { USER_STORE } from '@/store/constants'\n\nconst getTabFromPath = (path: string): string => {\n const regex = /(\\/profile)(\\/edit)*(\\/*)/\n const tag = path.replace(regex, '').toUpperCase()\n return tag === '' ? 'PROFILE' : tag.toUpperCase()\n}\n\nconst routes: Array = [\n {\n path: '/',\n name: 'Dashboard',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/DashBoard.vue'),\n },\n {\n path: '/login',\n name: 'Login',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/LoginOrRegister.vue'),\n props: { action: 'login' },\n },\n {\n path: '/register',\n name: 'Register',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/LoginOrRegister.vue'),\n props: { action: 'register' },\n },\n {\n path: '/password-reset/sent',\n name: 'PasswordEmailSent',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'request-sent' },\n },\n {\n path: '/password-reset/request',\n name: 'PasswordResetRequest',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'reset-request' },\n },\n {\n path: '/password-reset/password-updated',\n name: 'PasswordUpdated',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'password-updated' },\n },\n {\n path: '/password-reset',\n name: 'PasswordReset',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'reset' },\n },\n {\n path: '/profile',\n name: 'Profile',\n component: () =>\n import(/* webpackChunkName: 'profile' */ '@/views/ProfileView.vue'),\n children: [\n {\n path: '',\n name: 'UserProfile',\n component: Profile,\n props: (route) => ({\n tab: getTabFromPath(route.path),\n }),\n children: [\n {\n path: '',\n name: 'UserInfos',\n component: UserInfos,\n },\n {\n path: 'preferences',\n name: 'UserPreferences',\n component: UserPreferences,\n },\n ],\n },\n {\n path: 'edit',\n name: 'UserProfileEdition',\n component: ProfileEdition,\n props: (route) => ({\n tab: getTabFromPath(route.path),\n }),\n children: [\n {\n path: '',\n name: 'UserInfosEdition',\n component: UserInfosEdition,\n },\n {\n path: 'picture',\n name: 'UserPictureEdition',\n component: UserPictureEdition,\n },\n {\n path: 'preferences',\n name: 'UserPreferencesEdition',\n component: UserPreferencesEdition,\n },\n ],\n },\n ],\n },\n {\n path: '/statistics',\n name: 'Statistics',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/StatisticsView.vue'),\n },\n {\n path: '/users/:username',\n name: 'User',\n component: () =>\n import(/* webpackChunkName: 'profile' */ '@/views/UserView.vue'),\n },\n {\n path: '/workouts',\n name: 'Workouts',\n component: () =>\n import(\n /* webpackChunkName: 'workouts' */ '@/views/workouts/WorkoutsView.vue'\n ),\n },\n {\n path: '/workouts/:workoutId',\n name: 'Workout',\n component: () =>\n import(/* webpackChunkName: 'workouts' */ '@/views/workouts/Workout.vue'),\n props: { displaySegment: false },\n },\n {\n path: '/workouts/:workoutId/edit',\n name: 'EditWorkout',\n component: () =>\n import(\n /* webpackChunkName: 'workouts' */ '@/views/workouts/EditWorkout.vue'\n ),\n },\n {\n path: '/workouts/:workoutId/segment/:segmentId',\n name: 'WorkoutSegment',\n component: () =>\n import(/* webpackChunkName: 'workouts' */ '@/views/workouts/Workout.vue'),\n props: { displaySegment: true },\n },\n {\n path: '/workouts/add',\n name: 'AddWorkout',\n component: () =>\n import(\n /* webpackChunkName: 'workouts' */ '@/views/workouts/AddWorkout.vue'\n ),\n },\n {\n path: '/admin',\n name: 'Administration',\n component: () =>\n import(/* webpackChunkName: 'admin' */ '@/views/AdminView.vue'),\n children: [\n {\n path: '',\n name: 'AdministrationMenu',\n component: AdminMenu,\n },\n {\n path: 'application',\n name: 'ApplicationAdministration',\n component: AdminApplication,\n },\n {\n path: 'application/edit',\n name: 'ApplicationAdministrationEdition',\n component: AdminApplication,\n props: { edition: true },\n },\n {\n path: 'sports',\n name: 'SportsAdministration',\n component: AdminSports,\n },\n {\n path: 'users',\n name: 'UsersAdministration',\n component: AdminUsers,\n },\n ],\n },\n {\n path: '/:pathMatch(.*)*',\n name: 'not-found',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/NotFoundView.vue'),\n },\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes,\n})\n\nconst pathsWithoutAuthentication = [\n '/login',\n '/password-reset',\n '/password-reset/password-updated',\n '/password-reset/request',\n '/password-reset/sent',\n '/register',\n]\n\nrouter.beforeEach((to, from, next) => {\n store\n .dispatch(USER_STORE.ACTIONS.CHECK_AUTH_USER)\n .then(() => {\n if (\n store.getters[USER_STORE.GETTERS.IS_AUTHENTICATED] &&\n pathsWithoutAuthentication.includes(to.path)\n ) {\n return next('/')\n } else if (\n !store.getters[USER_STORE.GETTERS.IS_AUTHENTICATED] &&\n !pathsWithoutAuthentication.includes(to.path)\n ) {\n const path =\n to.path === '/'\n ? { path: '/login' }\n : { path: '/login', query: { from: to.fullPath } }\n next(path)\n } else {\n next()\n }\n })\n .catch((error) => {\n console.error(error)\n next()\n })\n})\n\nexport default router\n","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'AlertMessage',\n props: {\n message: String,\n },\n })\n","import { render } from \"./AlertMessage.vue?vue&type=template&id=f5e8066a&scoped=true\"\nimport script from \"./AlertMessage.vue?vue&type=script&lang=ts\"\nexport * from \"./AlertMessage.vue?vue&type=script&lang=ts\"\n\nimport \"./AlertMessage.vue?vue&type=style&index=0&id=f5e8066a&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-f5e8066a\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent, ref, watch } from 'vue'\n\n export default defineComponent({\n name: 'CustomTextArea',\n props: {\n charLimit: {\n type: Number,\n default: 500,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n input: {\n type: String,\n default: '',\n },\n name: {\n type: String,\n required: true,\n },\n },\n emits: ['updateValue'],\n setup(props, { emit }) {\n let text = ref('')\n\n function updateText(event: Event & { target: HTMLInputElement }) {\n emit('updateValue', event.target.value)\n }\n\n watch(\n () => props.input,\n (value) => {\n text.value = value\n }\n )\n\n return { text, updateText }\n },\n })\n","import { render } from \"./CustomTextArea.vue?vue&type=template&id=ad3739fc&scoped=true\"\nimport script from \"./CustomTextArea.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomTextArea.vue?vue&type=script&lang=ts\"\n\nimport \"./CustomTextArea.vue?vue&type=style&index=0&id=ad3739fc&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-ad3739fc\"\n\nexport default script","\n\n\n\n\n","\n import { PropType, defineComponent, ref, watch } from 'vue'\n import { useRoute } from 'vue-router'\n\n import { IDropdownOption, TDropdownOptions } from '@/types/forms'\n\n export default defineComponent({\n name: 'Dropdown',\n props: {\n options: {\n type: Object as PropType,\n required: true,\n },\n selected: {\n type: String,\n required: true,\n },\n },\n emits: {\n selected: (option: IDropdownOption) => option,\n },\n setup(props, { emit }) {\n const route = useRoute()\n let isOpen = ref(false)\n let dropdownOptions = props.options.map((option) => option)\n\n function toggleDropdown() {\n isOpen.value = !isOpen.value\n }\n function updateSelected(option: IDropdownOption) {\n emit('selected', option)\n isOpen.value = false\n }\n\n watch(\n () => route.path,\n () => (isOpen.value = false)\n )\n\n return {\n dropdownOptions,\n isOpen,\n toggleDropdown,\n updateSelected,\n }\n },\n })\n","import { render } from \"./Dropdown.vue?vue&type=template&id=5ef2ddef&scoped=true\"\nimport script from \"./Dropdown.vue?vue&type=script&lang=ts\"\nexport * from \"./Dropdown.vue?vue&type=script&lang=ts\"\n\nimport \"./Dropdown.vue?vue&type=style&index=0&id=5ef2ddef&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-5ef2ddef\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'ErrorMessage',\n props: {\n message: [String, Array],\n },\n })\n","import { render } from \"./ErrorMessage.vue?vue&type=template&id=5c177a93&scoped=true\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts\"\n\nimport \"./ErrorMessage.vue?vue&type=style&index=0&id=5c177a93&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-5c177a93\"\n\nexport default script","\n\n\n","\n\n\n","import { render } from \"./CyclingSport.vue?vue&type=template&id=be8023a2\"\nimport script from \"./CyclingSport.vue?vue&type=script&lang=js\"\nexport * from \"./CyclingSport.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./CyclingTransport.vue?vue&type=template&id=97af5148\"\nimport script from \"./CyclingTransport.vue?vue&type=script&lang=js\"\nexport * from \"./CyclingTransport.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./Hiking.vue?vue&type=template&id=40903dc4\"\nimport script from \"./Hiking.vue?vue&type=script&lang=js\"\nexport * from \"./Hiking.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./MountainBiking.vue?vue&type=template&id=5bdbc6e8\"\nimport script from \"./MountainBiking.vue?vue&type=script&lang=js\"\nexport * from \"./MountainBiking.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./Running.vue?vue&type=template&id=4d47a4fe\"\nimport script from \"./Running.vue?vue&type=script&lang=js\"\nexport * from \"./Running.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./Walking.vue?vue&type=template&id=2ed4f5f4\"\nimport script from \"./Walking.vue?vue&type=script&lang=js\"\nexport * from \"./Walking.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n import { defineComponent, inject } from 'vue'\n\n import CyclingSport from '@/components/Common/Images/SportImage/CyclingSport.vue'\n import CyclingTransport from '@/components/Common/Images/SportImage/CyclingTransport.vue'\n import Hiking from '@/components/Common/Images/SportImage/Hiking.vue'\n import MountainBiking from '@/components/Common/Images/SportImage/MountainBiking.vue'\n import Running from '@/components/Common/Images/SportImage/Running.vue'\n import Walking from '@/components/Common/Images/SportImage/Walking.vue'\n\n export default defineComponent({\n name: 'SportImage',\n components: {\n CyclingSport,\n CyclingTransport,\n Hiking,\n MountainBiking,\n Running,\n Walking,\n },\n props: {\n sportLabel: {\n type: String,\n required: true,\n },\n title: {\n type: String,\n required: false,\n },\n },\n setup() {\n return { sportColors: inject('sportColors') }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=834c586a\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n export default defineComponent({\n name: 'Loader',\n })\n","import { render } from \"./Loader.vue?vue&type=template&id=8bf75da8&scoped=true\"\nimport script from \"./Loader.vue?vue&type=script&lang=ts\"\nexport * from \"./Loader.vue?vue&type=script&lang=ts\"\n\nimport \"./Loader.vue?vue&type=style&index=0&id=8bf75da8&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-8bf75da8\"\n\nexport default script","\n\n\n\n\n","\n import { ComputedRef, computed, defineComponent, onUnmounted } from 'vue'\n\n import { ROOT_STORE } from '@/store/constants'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'Modal',\n props: {\n title: {\n type: String,\n required: true,\n },\n message: {\n type: String,\n required: true,\n },\n strongMessage: {\n type: String || null,\n default: null,\n },\n },\n emits: ['cancelAction', 'confirmAction'],\n setup(props, { emit }) {\n const store = useStore()\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n onUnmounted(() => store.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES))\n return { errorMessages, emit }\n },\n })\n","import { render } from \"./Modal.vue?vue&type=template&id=21b6cb61&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=21b6cb61&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-21b6cb61\"\n\nexport default script","import AlertMessage from '@/components/Common/AlertMessage.vue'\nimport Card from '@/components/Common/Card.vue'\nimport CustomTextArea from '@/components/Common/CustomTextArea.vue'\nimport Dropdown from '@/components/Common/Dropdown.vue'\nimport ErrorMessage from '@/components/Common/ErrorMessage.vue'\nimport SportImage from '@/components/Common/Images/SportImage/index.vue'\nimport Loader from '@/components/Common/Loader.vue'\nimport Modal from '@/components/Common/Modal.vue'\n\nexport const customComponents = [\n AlertMessage,\n Card,\n CustomTextArea,\n Dropdown,\n ErrorMessage,\n Loader,\n Modal,\n SportImage,\n]\n","import { Directive, DirectiveBinding } from 'vue'\n\ninterface ClickOutsideHTMLElement extends HTMLElement {\n clickOutsideEvent?: (event: MouseEvent | TouchEvent) => void\n}\n\nexport const clickOutsideDirective: Directive = {\n mounted: (\n element: ClickOutsideHTMLElement,\n binding: DirectiveBinding\n ): void => {\n element.clickOutsideEvent = function (event) {\n if (!(element === event.target || element.contains(event.target))) {\n binding.value(event)\n }\n }\n document.body.addEventListener('click', element.clickOutsideEvent)\n document.body.addEventListener('touchstart', element.clickOutsideEvent)\n },\n unmounted: function (element: ClickOutsideHTMLElement): void {\n if (element.clickOutsideEvent) {\n document.body.removeEventListener('click', element.clickOutsideEvent)\n document.body.removeEventListener('touchstart', element.clickOutsideEvent)\n element.clickOutsideEvent = undefined\n }\n },\n}\n","import {\n Chart,\n BarElement,\n LineElement,\n PointElement,\n Legend,\n Title,\n Tooltip,\n Filler,\n BarController,\n CategoryScale,\n LineController,\n LinearScale,\n} from 'chart.js'\nimport ChartDataLabels from 'chartjs-plugin-datalabels'\nimport { createApp } from 'vue'\n\nimport './registerServiceWorker'\nimport App from './App.vue'\nimport i18n from './i18n'\nimport router from './router'\nimport store from './store'\n\nimport { customComponents } from '@/custom-components'\nimport { clickOutsideDirective } from '@/directives'\nimport { sportColors } from '@/utils/sports'\n\nChart.register(\n BarElement,\n LineElement,\n PointElement,\n Legend,\n Title,\n Tooltip,\n Filler,\n BarController,\n CategoryScale,\n LineController,\n LinearScale,\n ChartDataLabels\n)\n\nconst app = createApp(App)\n .provide('sportColors', sportColors)\n .use(i18n)\n .use(store)\n .use(router)\n .directive('click-outside', clickOutsideDirective)\n\ncustomComponents.forEach((component) => {\n app.component(component.name, component)\n})\n\napp.mount('#app')\n","import { AxiosError } from 'axios'\nimport { ActionContext } from 'vuex'\n\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { ISportsState } from '@/store/modules/sports/types'\nimport { IStatisticsState } from '@/store/modules/statistics/types'\nimport { IUserState } from '@/store/modules/user/types'\nimport { IUsersState } from '@/store/modules/users/types'\nimport { IWorkoutsState } from '@/store/modules/workouts/types'\n\nexport const getApiUrl = (): string => {\n return process.env.NODE_ENV === 'production'\n ? '/api/'\n : `${process.env.VUE_APP_API_URL}/api/`\n}\n\nexport const handleError = (\n context:\n | ActionContext\n | ActionContext\n | ActionContext\n | ActionContext\n | ActionContext\n | ActionContext,\n error: AxiosError | null,\n msg = 'UNKNOWN'\n): void => {\n const errorMessages = !error\n ? msg\n : error.response\n ? error.response.status === 413\n ? 'file size is greater than the allowed size'\n : error.response.data.message\n ? error.response.data.message\n : msg\n : error.message\n ? error.message\n : msg\n context.commit(\n ROOT_STORE.MUTATIONS.SET_ERROR_MESSAGES,\n errorMessages.includes('\\n')\n ? errorMessages\n .split('\\n')\n .filter((m: string) => m !== '')\n .map((m: string) => `api.ERROR.${m}`)\n : `api.ERROR.${errorMessages}`\n )\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserProfileTabs.vue?vue&type=style&index=0&id=c7276c08&lang=scss\"","export enum RootActions {\n GET_APPLICATION_CONFIG = 'GET_APPLICATION_CONFIG',\n GET_APPLICATION_STATS = 'GET_APPLICATION_STATS',\n UPDATE_APPLICATION_CONFIG = 'UPDATE_APPLICATION_CONFIG',\n}\n\nexport enum RootGetters {\n APP_CONFIG = 'APP_CONFIG',\n APP_LOADING = 'APP_LOADING',\n APP_STATS = 'APP_STATS',\n ERROR_MESSAGES = 'ERROR_MESSAGES',\n LANGUAGE = 'LANGUAGE',\n LOCALE = 'LOCALE', // date-fns\n}\n\nexport enum RootMutations {\n EMPTY_ERROR_MESSAGES = 'EMPTY_ERROR_MESSAGES',\n SET_ERROR_MESSAGES = 'SET_ERROR_MESSAGES',\n UPDATE_APPLICATION_CONFIG = 'UPDATE_APPLICATION_CONFIG',\n UPDATE_APPLICATION_LOADING = 'UPDATE_APPLICATION_LOADING',\n UPDATE_APPLICATION_STATS = 'UPDATE_APPLICATION_STATS',\n UPDATE_LANG = 'UPDATE_LANG',\n}\n","export enum SportsActions {\n GET_SPORTS = 'GET_SPORTS',\n UPDATE_SPORTS = 'UPDATE_SPORTS',\n}\n\nexport enum SportsGetters {\n SPORTS = 'SPORTS',\n}\n\nexport enum SportsMutation {\n SET_SPORTS = 'SET_SPORTS',\n}\n","export enum StatisticsActions {\n GET_USER_STATS = 'GET_USER_STATS',\n}\n\nexport enum StatisticsGetters {\n USER_STATS = 'USER_STATS',\n}\n\nexport enum StatisticsMutations {\n EMPTY_USER_STATS = 'EMPTY_USER_STATS',\n UPDATE_USER_STATS = 'UPDATE_USER_STATS',\n}\n","export enum UserActions {\n CHECK_AUTH_USER = 'CHECK_AUTH_USER',\n DELETE_ACCOUNT = 'DELETE_ACCOUNT',\n DELETE_PICTURE = 'DELETE_PICTURE',\n GET_USER_PROFILE = 'GET_USER_PROFILE',\n LOGIN_OR_REGISTER = 'LOGIN_OR_REGISTER',\n LOGOUT = 'LOGOUT',\n SEND_PASSWORD_RESET_REQUEST = 'SEND_PASSWORD_RESET_REQUEST',\n RESET_USER_PASSWORD = 'RESET_USER_PASSWORD',\n UPDATE_USER_PICTURE = 'UPDATE_USER_PICTURE',\n UPDATE_USER_PROFILE = 'UPDATE_USER_PROFILE',\n UPDATE_USER_PREFERENCES = 'UPDATE_USER_PREFERENCES',\n}\n\nexport enum UserGetters {\n AUTH_TOKEN = 'AUTH_TOKEN',\n AUTH_USER_PROFILE = 'AUTH_USER_PROFILE',\n IS_ADMIN = 'IS_ADMIN',\n IS_AUTHENTICATED = 'IS_AUTHENTICATED',\n USER_LOADING = 'USER_LOADING',\n}\n\nexport enum UserMutations {\n CLEAR_AUTH_USER_TOKEN = 'CLEAR_AUTH_USER_TOKEN',\n UPDATE_AUTH_TOKEN = 'UPDATE_AUTH_TOKEN',\n UPDATE_AUTH_USER_PROFILE = 'UPDATE_AUTH_USER_PROFILE',\n UPDATE_USER_LOADING = 'UPDATE_USER_LOADING',\n}\n","export enum UsersActions {\n EMPTY_USER = 'EMPTY_USER',\n EMPTY_USERS = 'EMPTY_USERS',\n GET_USER = 'GET_USER',\n GET_USERS = 'GET_USERS',\n UPDATE_USER = 'UPDATE_USER',\n}\n\nexport enum UsersGetters {\n USER = 'USER',\n USERS = 'USERS',\n USERS_LOADING = 'USERS_LOADING',\n USERS_PAGINATION = 'USERS_PAGINATION',\n}\n\nexport enum UsersMutations {\n UPDATE_USER = 'UPDATE_USER',\n UPDATE_USER_IN_USERS = 'UPDATE_USER_IN_USERS',\n UPDATE_USERS = 'UPDATE_USERS',\n UPDATE_USERS_LOADING = 'UPDATE_USERS_LOADING',\n UPDATE_USERS_PAGINATION = 'UPDATE_USERS_PAGINATION',\n}\n","export enum WorkoutsActions {\n ADD_WORKOUT = 'ADD_WORKOUT',\n ADD_WORKOUT_WITHOUT_GPX = 'ADD_WORKOUT_WITHOUT_GPX',\n DELETE_WORKOUT = 'DELETE_WORKOUT',\n EDIT_WORKOUT = 'EDIT_WORKOUT',\n GET_CALENDAR_WORKOUTS = 'GET_CALENDAR_WORKOUTS',\n GET_USER_WORKOUTS = 'GET_USER_WORKOUTS',\n GET_MORE_USER_WORKOUTS = 'GET_MORE_USER_WORKOUTS',\n GET_WORKOUT_DATA = 'GET_WORKOUT_DATA',\n}\n\nexport enum WorkoutsGetters {\n CALENDAR_WORKOUTS = 'CALENDAR_WORKOUTS',\n USER_WORKOUTS = 'USER_WORKOUTS',\n WORKOUT_DATA = 'WORKOUT_DATA',\n}\n\nexport enum WorkoutsMutations {\n ADD_USER_WORKOUTS = 'ADD_USER_WORKOUTS',\n EMPTY_WORKOUTS = 'EMPTY_WORKOUTS',\n EMPTY_CALENDAR_WORKOUTS = 'EMPTY_CALENDAR_WORKOUTS',\n EMPTY_WORKOUT = 'EMPTY_WORKOUT',\n SET_CALENDAR_WORKOUTS = 'SET_CALENDAR_WORKOUTS',\n SET_USER_WORKOUTS = 'SET_USER_WORKOUTS',\n SET_WORKOUT = 'SET_WORKOUT',\n SET_WORKOUT_GPX = 'SET_WORKOUT_GPX',\n SET_WORKOUT_CHART_DATA = 'SET_WORKOUT_CHART_DATA',\n SET_WORKOUT_LOADING = 'SET_WORKOUT_LOADING',\n}\n","import {\n RootActions,\n RootGetters,\n RootMutations,\n} from '@/store/modules/root/enums'\nimport {\n SportsActions,\n SportsGetters,\n SportsMutation,\n} from '@/store/modules/sports/enums'\nimport {\n StatisticsActions,\n StatisticsGetters,\n StatisticsMutations,\n} from '@/store/modules/statistics/enums'\nimport {\n UserActions,\n UserGetters,\n UserMutations,\n} from '@/store/modules/user/enums'\nimport {\n UsersActions,\n UsersGetters,\n UsersMutations,\n} from '@/store/modules/users/enums'\nimport {\n WorkoutsActions,\n WorkoutsGetters,\n WorkoutsMutations,\n} from '@/store/modules/workouts/enums'\n\nexport const ROOT_STORE = {\n ACTIONS: RootActions,\n GETTERS: RootGetters,\n MUTATIONS: RootMutations,\n}\n\nexport const SPORTS_STORE = {\n ACTIONS: SportsActions,\n GETTERS: SportsGetters,\n MUTATIONS: SportsMutation,\n}\n\nexport const STATS_STORE = {\n ACTIONS: StatisticsActions,\n GETTERS: StatisticsGetters,\n MUTATIONS: StatisticsMutations,\n}\n\nexport const USER_STORE = {\n ACTIONS: UserActions,\n GETTERS: UserGetters,\n MUTATIONS: UserMutations,\n}\n\nexport const USERS_STORE = {\n ACTIONS: UsersActions,\n GETTERS: UsersGetters,\n MUTATIONS: UsersMutations,\n}\n\nexport const WORKOUTS_STORE = {\n ACTIONS: WorkoutsActions,\n GETTERS: WorkoutsGetters,\n MUTATIONS: WorkoutsMutations,\n}\n","var map = {\n\t\"./en/en.ts\": \"c142\",\n\t\"./fr/fr.ts\": \"663e\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"e7b6\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Pagination.vue?vue&type=style&index=0&id=7694e784&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./NoConfig.vue?vue&type=style&index=0&id=01d4a985&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AlertMessage.vue?vue&type=style&index=0&id=f5e8066a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminUsers.vue?vue&type=style&index=0&id=2f9e0e4c&lang=scss&scoped=true\""],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Common/StatCard.vue","webpack:///./src/components/Common/StatCard.vue?50f0","webpack:///./src/components/Common/StatCard.vue?8fe7","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue?67ed","webpack:///./src/utils/sports.ts","webpack:///./src/components/Common/Card.vue?8159","webpack:///./src/use/useStore.ts","webpack:///./src/components/Administration/AdminSports.vue?6443","webpack:///./src/components/Administration/AdminApplication.vue?7cc7","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue?73f1","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue?4ce6","webpack:///./src/components/Administration/AdminMenu.vue?4bef","webpack:///./src/components/Common/ErrorMessage.vue?f921","webpack:///./src/components/User/ProfileDisplay/UserHeader.vue?a4e5","webpack:///./src/components/NavBar.vue?410d","webpack:///./src/App.vue?4cf5","webpack:///./src/locales/fr/administration.json","webpack:///./src/locales/fr/api.json","webpack:///./src/locales/fr/buttons.json","webpack:///./src/locales/fr/common.json","webpack:///./src/locales/fr/dashboard.json","webpack:///./src/locales/fr/error.json","webpack:///./src/locales/fr/sports.json","webpack:///./src/locales/fr/statistics.json","webpack:///./src/locales/fr/user.json","webpack:///./src/locales/fr/workouts.json","webpack:///./src/locales/fr/fr.ts","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue?7c95","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue?820e","webpack:///./src/components/Footer.vue?d019","webpack:///./src/components/User/ProfileDisplay/index.vue?1702","webpack:///./src/components/Common/StatCard.vue?c013","webpack:///./src/components/Common/Modal.vue?4e3e","webpack:///./src/components/User/UserPicture.vue?cd03","webpack:///./src/components/Common/Dropdown.vue?2734","webpack:///./src/components/User/ProfileDisplay/UserInfos.vue?db14","webpack:///./src/components/Administration/AppStatsCards.vue?d919","webpack:///./src/components/Common/CustomTextArea.vue?6de7","webpack:///./src/components/Common/Loader.vue?9489","webpack:///./src/components/Administration/AdminUsersSelects.vue?0cd5","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue?a666","webpack:///./src/locales/en/administration.json","webpack:///./src/locales/en/api.json","webpack:///./src/locales/en/buttons.json","webpack:///./src/locales/en/common.json","webpack:///./src/locales/en/dashboard.json","webpack:///./src/locales/en/error.json","webpack:///./src/locales/en/sports.json","webpack:///./src/locales/en/statistics.json","webpack:///./src/locales/en/user.json","webpack:///./src/locales/en/workouts.json","webpack:///./src/locales/en/en.ts","webpack:///./src/utils/files.ts","webpack:///./src/components/User/UserPicture.vue","webpack:///./src/components/User/UserPicture.vue?2f01","webpack:///./src/components/User/UserPicture.vue?22b2","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue?2098","webpack:///./src/registerServiceWorker.ts","webpack:///./src/App.vue","webpack:///./src/components/Footer.vue","webpack:///./src/components/Footer.vue?87b7","webpack:///./src/components/Footer.vue?c832","webpack:///./src/components/NavBar.vue","webpack:///./src/i18n.ts","webpack:///./src/utils/locales.ts","webpack:///./src/components/NavBar.vue?a890","webpack:///./src/components/NavBar.vue?ab0f","webpack:///./src/components/NoConfig.vue","webpack:///./src/components/NoConfig.vue?37a4","webpack:///./src/components/NoConfig.vue?ad85","webpack:///./src/App.vue?3acc","webpack:///./src/App.vue?dfb6","webpack:///./src/components/Administration/AdminApplication.vue","webpack:///./src/components/Administration/AdminApplication.vue?8e5b","webpack:///./src/components/Administration/AdminApplication.vue?80c4","webpack:///./src/components/Administration/AdminMenu.vue","webpack:///./src/components/Administration/AppStatsCards.vue","webpack:///./src/components/Administration/AppStatsCards.vue?d6b2","webpack:///./src/components/Administration/AppStatsCards.vue?7576","webpack:///./src/components/Common/Card.vue","webpack:///./src/components/Common/Card.vue?f962","webpack:///./src/components/Common/Card.vue?a585","webpack:///./src/components/Administration/AdminMenu.vue?9783","webpack:///./src/components/Administration/AdminMenu.vue?4828","webpack:///./src/components/Administration/AdminSports.vue","webpack:///./src/components/Administration/AdminSports.vue?9572","webpack:///./src/components/Administration/AdminSports.vue?271c","webpack:///./src/components/Administration/AdminUsers.vue","webpack:///./src/components/Administration/AdminUsersSelects.vue","webpack:///./src/components/Administration/AdminUsersSelects.vue?95d5","webpack:///./src/components/Administration/AdminUsersSelects.vue?79d3","webpack:///./src/components/Common/Pagination.vue","webpack:///./src/components/Common/Pagination.vue?93e2","webpack:///./src/components/Common/Pagination.vue?73f7","webpack:///./src/components/Administration/AdminUsers.vue?e346","webpack:///./src/components/Administration/AdminUsers.vue?d3af","webpack:///./src/components/User/ProfileDisplay/index.vue","webpack:///./src/components/User/UserProfileTabs.vue","webpack:///./src/components/User/UserProfileTabs.vue?9e70","webpack:///./src/components/User/UserProfileTabs.vue?3fc9","webpack:///./src/components/User/ProfileDisplay/index.vue?f20a","webpack:///./src/components/User/ProfileDisplay/index.vue?b24c","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue?2ffa","webpack:///./src/components/User/ProfileDisplay/UserPreferences.vue?a232","webpack:///./src/components/User/ProfileEdition/index.vue","webpack:///./src/components/User/ProfileEdition/index.vue?4849","webpack:///./src/components/User/ProfileEdition/index.vue?f268","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue?b205","webpack:///./src/components/User/ProfileEdition/UserInfosEdition.vue?92df","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue?203b","webpack:///./src/components/User/ProfileEdition/UserPictureEdition.vue?311f","webpack:///./src/components/User/ProfileEdition/UserPreferencesEdition.vue","webpack:///./src/components/User/ProfileEdition/UserPreferencesEdition.vue?13dd","webpack:///./src/components/User/ProfileEdition/UserPreferencesEdition.vue?d2de","webpack:///./src/api/authApi.ts","webpack:///./src/store/modules/root/actions.ts","webpack:///./src/store/modules/root/getters.ts","webpack:///./src/store/modules/root/mutations.ts","webpack:///./src/store/modules/root/state.ts","webpack:///./src/store/modules/sports/actions.ts","webpack:///./src/store/modules/sports/getters.ts","webpack:///./src/store/modules/sports/mutations.ts","webpack:///./src/store/modules/sports/state.ts","webpack:///./src/store/modules/sports/index.ts","webpack:///./src/store/modules/statistics/actions.ts","webpack:///./src/store/modules/statistics/getters.ts","webpack:///./src/store/modules/statistics/mutations.ts","webpack:///./src/store/modules/statistics/state.ts","webpack:///./src/store/modules/statistics/index.ts","webpack:///./src/api/defaultApi.ts","webpack:///./src/store/modules/user/actions.ts","webpack:///./src/store/modules/user/getters.ts","webpack:///./src/store/modules/user/mutations.ts","webpack:///./src/store/modules/user/state.ts","webpack:///./src/store/modules/user/index.ts","webpack:///./src/store/modules/users/actions.ts","webpack:///./src/store/modules/users/getters.ts","webpack:///./src/store/modules/users/mutations.ts","webpack:///./src/store/modules/users/state.ts","webpack:///./src/store/modules/users/index.ts","webpack:///./src/store/modules/workouts/actions.ts","webpack:///./src/store/modules/workouts/getters.ts","webpack:///./src/store/modules/workouts/mutations.ts","webpack:///./src/store/modules/workouts/state.ts","webpack:///./src/store/modules/workouts/index.ts","webpack:///./src/store/modules/root/index.ts","webpack:///./src/store/index.ts","webpack:///./src/router/index.ts","webpack:///./src/components/Common/AlertMessage.vue","webpack:///./src/components/Common/AlertMessage.vue?af1b","webpack:///./src/components/Common/AlertMessage.vue?2e10","webpack:///./src/components/Common/CustomTextArea.vue","webpack:///./src/components/Common/CustomTextArea.vue?8616","webpack:///./src/components/Common/CustomTextArea.vue?3b63","webpack:///./src/components/Common/Dropdown.vue","webpack:///./src/components/Common/Dropdown.vue?3644","webpack:///./src/components/Common/Dropdown.vue?9a46","webpack:///./src/components/Common/ErrorMessage.vue","webpack:///./src/components/Common/ErrorMessage.vue?ab8e","webpack:///./src/components/Common/ErrorMessage.vue?7b9e","webpack:///./src/components/Common/Images/SportImage/index.vue","webpack:///./src/components/Common/Images/SportImage/CyclingSport.vue","webpack:///./src/components/Common/Images/SportImage/CyclingSport.vue?7ed2","webpack:///./src/components/Common/Images/SportImage/CyclingTransport.vue","webpack:///./src/components/Common/Images/SportImage/CyclingTransport.vue?dba6","webpack:///./src/components/Common/Images/SportImage/Hiking.vue","webpack:///./src/components/Common/Images/SportImage/Hiking.vue?3937","webpack:///./src/components/Common/Images/SportImage/MountainBiking.vue","webpack:///./src/components/Common/Images/SportImage/MountainBiking.vue?9b70","webpack:///./src/components/Common/Images/SportImage/Running.vue","webpack:///./src/components/Common/Images/SportImage/Running.vue?2248","webpack:///./src/components/Common/Images/SportImage/Walking.vue","webpack:///./src/components/Common/Images/SportImage/Walking.vue?d660","webpack:///./src/components/Common/Images/SportImage/index.vue?2baa","webpack:///./src/components/Common/Images/SportImage/index.vue?5245","webpack:///./src/components/Common/Loader.vue","webpack:///./src/components/Common/Loader.vue?2b84","webpack:///./src/components/Common/Loader.vue?4fd1","webpack:///./src/components/Common/Modal.vue","webpack:///./src/components/Common/Modal.vue?1385","webpack:///./src/components/Common/Modal.vue?e362","webpack:///./src/custom-components.ts","webpack:///./src/directives.ts","webpack:///./src/main.ts","webpack:///./src/utils/index.ts","webpack:///./src/components/User/UserProfileTabs.vue?722a","webpack:///./src/store/modules/root/enums.ts","webpack:///./src/store/modules/sports/enums.ts","webpack:///./src/store/modules/statistics/enums.ts","webpack:///./src/store/modules/user/enums.ts","webpack:///./src/store/modules/users/enums.ts","webpack:///./src/store/modules/workouts/enums.ts","webpack:///./src/store/constants.ts","webpack:///./src/locales sync [A-Za-z0-9-_,\\s]+\\.ts$/","webpack:///./src/components/Common/Pagination.vue?671e","webpack:///./src/components/NoConfig.vue?56f6","webpack:///./src/components/Common/AlertMessage.vue?e180","webpack:///./src/components/Administration/AdminUsers.vue?1bef"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","class","icon","text","props","String","required","Number","render","sportColors","Hiking","Running","Walking","sportIdColors","sports","colors","map","sport","id","label","sortSports","a","b","sportATranslatedLabel","translatedLabel","toLowerCase","sportBTranslatedLabel","translateSports","onlyActive","filter","is_active","sort","getSportLabel","workout","sport_id","useStore","user","username","nb_workouts","$t","total_distance","toFixed","nb_sports","components","UserPicture","__scopeId","Action","Ajouter/retirer des droits d'administration, supprimer des comptes utilisateurs.","Admin","Administration","Application","Nombre maximum d'utilisateurs actifs ","Si égal à 0, pas limite d'inscription","Taille max. des archives zip (en Mo) ","Taille max. des fichiers (en Mo) ","Configuration de l'application","Nombre max. de fichiers dans une archive zip ","Revenir à l'admin","Etes-vous sûr de vouloir supprimer le compte de ","0"," ? Toutes les données seront définitivement.","Supprimer l'utilisateur","Activer/désactiver des sports.","Les inscriptions sont actuellement désactivées.","Les inscriptions sont actuellement activées.","Actif","des séances existent","Image","Label","Administration - Sports","Configurer l'application (nombre maximum d'utilisateurs inscrits, taille maximale des fichers).","utilisateur","utilisateurs","Ajouter les drois d'admin","Retirer les drois d'admin","trier par ","status administrateur","date d'inscription","nom d'utilisateur","nombre de séances","tri","ascendant","descendant","par page","Erreur. Veuillez réessayer ou contacter l'administrateur.","Email : une adresse email valide doit être fournie.","Erreur lors de la récupération de la configuration.","Erreur lors de la mise à jour de la configuration","Erreur, veuillez réessayer ou contacter l'administrateur.","Erreur, les inscriptions sont désactivées.","Extension de fichier non autorisée.","La taille du fichier est supérieure à la limite autorisée.","Identifiants invalides.","Données fournies incorrectes.","Jeton de connexion invalide, merci de vous reconnecter.","Jeton de connexion, merci de vous reconnecter.","Pas de fichier fourni.","Pas de fichier sélectionné.","Erreur Réseau.","Mot de passe : les mots de passe saisis sont différents.","Merci de fournir un jeton de connexion valide.","Mot de passe : 8 caractères minimum.","Ce sport n'existe pas.","Signature expirée. Merci de vous reconnecter.","Désolé, cet utilisateur existe déjà.","Inscription validée.","L'utilisateur n'existe pas","Nom d'utilisateur : 3 à 12 caractères requis.","Vous n'avez pas les permissions nécessaires.","précédent","suivant","Précédent","Annuler","Supprimer mon compte","Désactiver","Modifier","Activer","Filtrer","Se connecter","Non","S'inscrire","Valider","Oui","Confirmation","jour","jours","Accueil","ici","Tableau de Bord","Ce mois","L'application semble rencontrer quelques problèmes.
Veuillez réessayer plus tard ou contacter l'administrateur.","Page introuvable","Séance introuvable","Vélo (Sport)","Vélo (Transport)","Randonnée","VTT","Course","Marche","Statistiques","Total","semaine","mois","année","Etes-vous sûr de vouloir supprimer votre compte ? Toutes les données seront définitivement effacés.","Email","Saisir une adresse email","Saisir un mot de passe","Confirmer le mot de passe","Jeton invalide, veullez demander une nouvelle réinitialisation de mot de passe.","Langue","Se déconnecter","Mot de passe","Confirmation du mot de passe","Mot de passe oublié ?","Réinitialisation du mot de passe","Vérifiez vore boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe.","Votre mot de passe a été mis à jour. Cliquez "," pour vous connecter.","Revenir au profil","Bio","Date de naissance","Modifier le profil","Modifier les préférences","Premier jour de la semaine","Prénom","Nom","Lieu","Lundi","Image de profil","Mise à jour de l'image de profil","Mettre à jour l'image","Supprimer","Mise à jour des préférences","Mise à jour du profil","Date d'inscription","Dimanche","image","préférences","profil","Fuseau horaire","Désolé, les inscriptions sont désactivées.","Réinitialiser votre mot de passe","photo de l'utilisateur","Nom d'utilisateur","Ajouter une séance","analyse","dénivelé positif","vitesse moyenne","vitesse moy.","revenir à la séance","date","dénivelé négatif","afficher les filtres","distance","durée","Modifier la séance","altitude","fin","à partir de","fichier .gpx","masquer les filtres","km","Séances récentes","Charger les séances suivantes","altitude max","fichiers max. ","taille max. ","vitesse max","altitude min","Segment suivant","Séance suivante","données issues du fichier gpx, sans correction","Pas de fichier fourni","pas de répertoire","Pas de carte","Pas de segment suivant","Pas de séance suivante","Pas de notes","Pas de segment précédent","Pas de séance précédente","Pas de records.","Pas de séances.","notes","pauses","Segment précédent","Séance précédente","record","records","Vitesse moy.","Distance la + longue","Durée la + longue","Vitesse max.","nombre de caractères restants ","segment","segments","vitesse","début","titre","jusqu'au","durée totale","Ajoutez votre première séance !","humidité","température","vent","ensoleillé","nuit claire","nuageux","brouillard","partiellement nuageux","nuit partiellement nuageuse","pluie","neige fondue","neige","venteux","avec un fichier .gpx","sans fichier .gpx","séance","séances","date de la séance","Etes-vous sûr de vouloir supprimer cette séance ?","archive .zip","ou une archive .zip contenant des fichiers .gpx","admin","api","buttons","common","dashboard","statistics","workouts","displayModal","title","strongMessage","deleteUserAccount","updateDisplayModal","registrationDate","first_name","last_name","birthDate","location","bio","fromAdmin","authUser","$router","go","Boolean","default","setup","store","getters","GETTERS","AUTH_USER_PROFILE","created_at","format","Date","birth_date","dispatch","ACTIONS","DELETE_ACCOUNT","Add/remove admin rights, delete user account.","Max. number of active users","If 0, no limitation on registration.","Max. files of zip archive","Max. size of uploaded files (in Mb)","Application configuration","Max. size of zip archive (in Mb)","Back to admin","Are you sure you want to delete "," account? All data will be deleted, this cannot be undone.","Delete user","Enable/disable sports.","Registration is currently disabled.","Registration is currently enabled.","Active","workouts exist","Sports administration","Update application configuration (maximum number of registered users, maximum files size).","users","Add admin rights","Remove admin rights","order by","admin status","registration date","workout count","ascending","descending","Error. Please try again or contact the administrator.","Email: valid email must be provided.","Error on getting configuration.","Error when updating configuration","Error, please try again or contact the administrator.","Error, registration is disabled.","File extension not allowed.","File size is greater than the allowed size.","Invalid credentials.","Provided data are invalid.","Invalid token, please log in again.","Network Error.","No file provided.","No selected file.","Password: password and password confirmation don't match.","Provide a valid auth token.","Password: 8 characters required.","Sorry, that user already exists.","Sport does not exist.","Signature expired. Please log in again.","Successfully registered.","User does not exist.","Username: 3 to 12 characters required.","You do not have permissions.","previous","next","Back","Cancel","Delete my account","Disable","Edit","Enable","Filter","Log in","No","Register","Submit","Yes","day","days","Home","here","Dashboard","This month","The application seems encounter some issues.
Please try later or contact the administrator.","Page not found","Workout not found","Cycling (Sport)","Cycling (Transport)","Mountain Biking","Statistics","week","month","year","Are you sure you want to delete your account? All data will be deleted, this cannot be undone","Enter an email address","Enter a password","Confirm the password","Invalid token, please request a new password reset.","Language","Login","Logout","Password","Confirm Password","Password confirmation","Forgot password?","Password reset","Check your email. If your address is in our database, you'll received an email with a link to reset your password.","Your password have been updated. Click "," to log in.","Back to profile","Birth date","Edit profile","Edit preferences","First name","First day of week","Last name","Location","Monday","Picture","Picture edition","Update picture","Remove picture","Preferences edition","Profile edition","Registration date","Sunday","picture","preferences","profile","Timezone","Sorry, registration is disabled.","Reset your password","user picture","Username","Add a workout","analysis","ascent","ave. speed","average speed","back to workout","descent","display filters","duration","Edit the workout","elevation","end","from",".gpx file","hide filters","Latest workouts","Load more workouts","max. altitude","max files","max size","max. speed","min. altitude","No next segment","Next workout","data from gpx, without any cleaning","No file provided","no folder inside","No map","No next workout","No notes","No previous segment","No previous workout","No records.","No workouts.","Previous segment","Previous workout","Ave. speed","Farest distance","Longest duration","Max. speed","remaining characters","speed","start","to","total duration","Upload one!","humidity","temperature","wind","clear day","clear night","cloudy","fog","partly cloudy day","partly cloudy night","rain","sleet","snow","with .gpx file","without .gpx file","workout date","Are you sure you want to delete this workout?",".zip file","or .zip file containing .gpx files","suffixes","getReadableFileSize","fileSize","asText","Math","floor","log","size","suffix","pow","getFileSizeInMB","aria-hidden","authUserPictureUrl","alt","now","ready","registered","cached","updatefound","updated","offline","updateHideScrollBar","appLoading","hideScrollBar","appConfig","displayScrollButton","scrollToTop","version","isMenuOpen","openMenu","closeMenu","isAuthenticated","capitalize","logout","availableLanguages","language","options","selected","updateLanguage","loadLocaleMessages","locales","messages","keys","forEach","matched","match","locale","legacy","fallbackLocale","globalInjection","localeFromLanguage","en","fr","languageLabels","availableLocales","global","emits","emit","IS_AUTHENTICATED","LANGUAGE","option","toString","commit","MUTATIONS","UPDATE_LANG","LOGOUT","xmlns","viewBox","Footer","NavBar","NoConfig","APP_CONFIG","APP_LOADING","isScrolledToBottom","element","getBoundingClientRect","top","innerHeight","bottom","scroll","onscroll","querySelector","scrollTo","behavior","GET_APPLICATION_CONFIG","for","content","onSubmit","min","appData","max_users","disabled","edition","step","max_single_file_size","max_zip_file_size","gpx_limit_import","errorMessages","onCancel","router","ERROR_MESSAGES","updateForm","includes","EMPTY_ERROR_MESSAGES","formData","assign","UPDATE_APPLICATION_CONFIG","app-statistics","appStatistics","usersCount","sportsCount","workoutCount","uploadDirSize","StatCard","uploads_dir_size","AppStatsCards","Card","translatedSports","sport-label","updateSportStatus","has_workouts","SPORTS","isActive","UPDATE_SPORTS","order_by","query","reloadUsers","email","updateUser","pagination","page","path","onSelectUpdate","order","toUpperCase","per_page","nb","aria-label","has_prev","getQuery","rangePagination","pages","has_next","Array","_","cursor","newQuery","AdminUsersSelects","Pagination","route","USERS","USERS_PAGINATION","loadUsers","queryParams","GET_USERS","getPage","getPerPage","perPage","getOrder","getOrderBy","UPDATE_USER","queryParam","queryValue","EMPTY_USERS","tabs","selectedTab","tab","checked","getPath","UserHeader","UserProfileTabs","timezone","fistDayOfWeek","weekm","loading","USER_LOADING","deleteAccount","updateProfile","userForm","password","password_conf","charLimit","input","updateBio","updateUserForm","UPDATE_USER_PROFILE","updateUserPicture","accept","updatePictureFile","pictureFile","deleteUserPicture","fileSizeLimit","DELETE_PICTURE","files","UPDATE_USER_PICTURE","lang","weekStart","UPDATE_USER_PREFERENCES","authApi","baseURL","interceptors","use","config","authToken","AUTH_TOKEN","auth","headers","Authorization","actions","context","UPDATE_APPLICATION_LOADING","res","status","catch","finally","GET_APPLICATION_STATS","UPDATE_APPLICATION_STATS","payload","patch","state","application","APP_STATS","LOCALE","mutations","SET_ERROR_MESSAGES","root","GET_SPORTS","SET_SPORTS","sportsState","GET_USER_STATS","filterType","params","UPDATE_USER_STATS","USER_STATS","EMPTY_USER_STATS","statisticsState","CHECK_AUTH_USER","localStorage","UPDATE_AUTH_TOKEN","GET_USER_PROFILE","UPDATE_AUTH_USER_PROFILE","LOGIN_OR_REGISTER","post","actionType","token","auth_token","setItem","removeItem","CLEAR_AUTH_USER_TOKEN","EMPTY_WORKOUTS","UPDATE_USER_LOADING","form","FormData","append","delete","SEND_PASSWORD_RESET_REQUEST","RESET_USER_PASSWORD","authUserProfile","IS_ADMIN","userState","EMPTY_USER","UPDATE_USERS","UPDATE_USERS_PAGINATION","GET_USER","UPDATE_USERS_LOADING","UPDATE_USER_IN_USERS","USER","USERS_LOADING","updatedUser","usersState","SET_CALENDAR_WORKOUTS","ADD_USER_WORKOUTS","SET_USER_WORKOUTS","GET_CALENDAR_WORKOUTS","EMPTY_CALENDAR_WORKOUTS","GET_USER_WORKOUTS","GET_MORE_USER_WORKOUTS","GET_WORKOUT_DATA","SET_WORKOUT_LOADING","segmentUrl","segmentId","workoutId","SET_WORKOUT","with_gpx","SET_WORKOUT_CHART_DATA","chart_data","SET_WORKOUT_GPX","gpx","EMPTY_WORKOUT","DELETE_WORKOUT","EDIT_WORKOUT","ADD_WORKOUT","file","ADD_WORKOUT_WITHOUT_GPX","CALENDAR_WORKOUTS","calendar_workouts","USER_WORKOUTS","user_workouts","WORKOUT_DATA","workoutData","concat","chartData","workoutsState","sportsModule","statsModule","userModule","usersModule","workoutsModule","getTabFromPath","regex","replace","routes","component","action","children","UserInfos","UserPreferences","ProfileEdition","UserInfosEdition","UserPictureEdition","UserPreferencesEdition","displaySegment","AdminMenu","AdminApplication","AdminSports","AdminUsers","history","pathsWithoutAuthentication","beforeEach","fullPath","maxLenght","updateText","toggleDropdown","isOpen","dropdownOptions","index","updateSelected","isArray","subMessage","style","sportLabel","xmlns:xlink","x","y","xml:space","xmlns:svg","CyclingSport","CyclingTransport","MountainBiking","keypath","customComponents","AlertMessage","CustomTextArea","Dropdown","ErrorMessage","Loader","Modal","SportImage","clickOutsideDirective","mounted","binding","clickOutsideEvent","contains","body","addEventListener","unmounted","removeEventListener","register","app","App","provide","i18n","directive","mount","getApiUrl","handleError","msg","response","split","RootActions","RootGetters","RootMutations","SportsActions","SportsGetters","SportsMutation","StatisticsActions","StatisticsGetters","StatisticsMutations","UserActions","UserGetters","UserMutations","UsersActions","UsersGetters","UsersMutations","WorkoutsActions","WorkoutsGetters","WorkoutsMutations","ROOT_STORE","SPORTS_STORE","STATS_STORE","USER_STORE","USERS_STORE","WORKOUTS_STORE","webpackContext","req","webpackContextResolve"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,E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A,mCACA,mDACA,2CACA,+BACA,uCACA,qDACA,+CAVF,CAAYA,MAAiB,KCctB,IAAMC,EAAa,CACxBzkB,QAASujB,EACT9jB,QAAS+jB,EACT7T,UAAW8T,GAGAiB,EAAe,CAC1B1kB,QAAS0jB,EACTjkB,QAASkkB,EACThU,UAAWiU,GAGAe,EAAc,CACzB3kB,QAAS6jB,EACTpkB,QAASqkB,EACTnU,UAAWoU,GAGAa,EAAa,CACxB5kB,QAASgkB,EACTvkB,QAASwkB,EACTtU,UAAWuU,GAGAW,EAAc,CACzB7kB,QAASmkB,EACT1kB,QAAS2kB,EACTzU,UAAW0U,GAGAS,EAAiB,CAC5B9kB,QAASskB,EACT7kB,QAAS8kB,EACT5U,UAAW6U,I,mEChEb,IAAIj2B,EAAM,CACT,aAAc,OACd,aAAc,QAIf,SAASw2B,EAAeC,GACvB,IAAIv2B,EAAKw2B,EAAsBD,GAC/B,OAAOh9B,EAAoByG,GAE5B,SAASw2B,EAAsBD,GAC9B,IAAIh9B,EAAoBgE,EAAEuC,EAAKy2B,GAAM,CACpC,IAAIv8B,EAAI,IAAI0B,MAAM,uBAAyB66B,EAAM,KAEjD,MADAv8B,EAAE2B,KAAO,mBACH3B,EAEP,OAAO8F,EAAIy2B,GAEZD,EAAezW,KAAO,WACrB,OAAOxnB,OAAOwnB,KAAK/f,IAEpBw2B,EAAel8B,QAAUo8B,EACzB18B,EAAOD,QAAUy8B,EACjBA,EAAet2B,GAAK,Q,yDCvBpB,W,kCCAA,W,mCCAA,W,kCCAA,W","file":"static/js/app.e122d304.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({\"admin\":\"admin\",\"main~workouts\":\"main~workouts\",\"main\":\"main\",\"workouts\":\"workouts\",\"profile\":\"profile\",\"reset\":\"reset\"}[chunkId]||chunkId) + \".\" + {\"admin\":\"b2c267a7\",\"main~workouts\":\"052defa0\",\"main\":\"597d0b47\",\"workouts\":\"4a8b05f4\",\"profile\":\"a7cb3b48\",\"reset\":\"607f183f\",\"chunk-2d0c9189\":\"c81458cc\",\"chunk-2d0cf391\":\"020c75ea\",\"chunk-2d0da8f3\":\"c8c3e7e8\",\"chunk-2d2248b6\":\"d84473c1\",\"chunk-2d22523a\":\"4b710d99\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"admin\":1,\"main~workouts\":1,\"main\":1,\"workouts\":1,\"profile\":1,\"reset\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"static/css/\" + ({\"admin\":\"admin\",\"main~workouts\":\"main~workouts\",\"main\":\"main\",\"workouts\":\"workouts\",\"profile\":\"profile\",\"reset\":\"reset\"}[chunkId]||chunkId) + \".\" + {\"admin\":\"c784857e\",\"main~workouts\":\"c12079e7\",\"main\":\"5e29054c\",\"workouts\":\"a9a41b99\",\"profile\":\"23881524\",\"reset\":\"528e2916\",\"chunk-2d0c9189\":\"31d6cfe0\",\"chunk-2d0cf391\":\"31d6cfe0\",\"chunk-2d0da8f3\":\"31d6cfe0\",\"chunk-2d2248b6\":\"31d6cfe0\",\"chunk-2d22523a\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'StatCard',\n props: {\n icon: {\n type: String,\n required: true,\n },\n value: {\n type: [String, Number],\n required: true,\n },\n text: {\n type: String,\n required: true,\n },\n },\n })\n","import { render } from \"./StatCard.vue?vue&type=template&id=32e77e48\"\nimport script from \"./StatCard.vue?vue&type=script&lang=ts\"\nexport * from \"./StatCard.vue?vue&type=script&lang=ts\"\n\nimport \"./StatCard.vue?vue&type=style&index=0&id=32e77e48&lang=scss\"\nscript.render = render\n\nexport default script","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserInfosEdition.vue?vue&type=style&index=0&id=a2dfdb58&lang=scss\"","import { ISport, ITranslatedSport } from '@/types/sports'\nimport { IWorkout } from '@/types/workouts'\n\n// TODO: allow user to change colors\nexport const sportColors: Record = {\n 'Cycling (Sport)': '#4c9792',\n 'Cycling (Transport)': '#88af98',\n Hiking: '#bb757c',\n 'Mountain Biking': '#d4b371',\n Running: '#835b83',\n Walking: '#838383',\n}\n\nexport const sportIdColors = (sports: ISport[]): Record => {\n const colors: Record = {}\n sports.map((sport) => (colors[sport.id] = sportColors[sport.label]))\n return colors\n}\n\nconst sortSports = (a: ITranslatedSport, b: ITranslatedSport): number => {\n const sportATranslatedLabel = a.translatedLabel.toLowerCase()\n const sportBTranslatedLabel = b.translatedLabel.toLowerCase()\n return sportATranslatedLabel > sportBTranslatedLabel\n ? 1\n : sportATranslatedLabel < sportBTranslatedLabel\n ? -1\n : 0\n}\n\nexport const translateSports = (\n sports: ISport[],\n t: CallableFunction,\n onlyActive = false\n): ITranslatedSport[] =>\n sports\n .filter((sport) => (onlyActive ? sport.is_active : true))\n .map((sport) => ({\n ...sport,\n translatedLabel: t(`sports.${sport.label}.LABEL`),\n }))\n .sort(sortSports)\n\nexport const getSportLabel = (workout: IWorkout, sports: ISport[]): string => {\n return sports\n .filter((sport) => sport.id === workout.sport_id)\n .map((sport) => sport.label)[0]\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Card.vue?vue&type=style&index=0&id=c5956538&lang=scss\"","import { useStore as VuexStore } from 'vuex'\n\nimport { Store } from '@/store/types'\n\nexport function useStore(): Store {\n return VuexStore() as Store\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminSports.vue?vue&type=style&index=0&id=6d930723&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminApplication.vue?vue&type=style&index=0&id=26175b66&lang=scss&scoped=true\"","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import UserPicture from '@/components/User/UserPicture.vue'\n import { IUserProfile } from '@/types/user'\n\n export default defineComponent({\n name: 'ProfileDisplay',\n components: {\n UserPicture,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n })\n","import { render } from \"./UserHeader.vue?vue&type=template&id=a6fa997c&scoped=true\"\nimport script from \"./UserHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./UserHeader.vue?vue&type=script&lang=ts\"\n\nimport \"./UserHeader.vue?vue&type=style&index=0&id=a6fa997c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-a6fa997c\"\n\nexport default script","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminMenu.vue?vue&type=style&index=0&id=4f30aa64&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./ErrorMessage.vue?vue&type=style&index=0&id=5c177a93&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserHeader.vue?vue&type=style&index=0&id=a6fa997c&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./NavBar.vue?vue&type=style&index=0&id=03a78350&scoped=true&lang=scss\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./App.vue?vue&type=style&index=0&id=317a6409&lang=scss&scoped=true\"","{\n \"ACTION\": \"Action\",\n \"ADMIN_RIGHTS_DELETE_USER_ACCOUNT\": \"Ajouter/retirer des droits d'administration, supprimer des comptes utilisateurs.\",\n \"ADMIN\": \"Admin\",\n \"ADMINISTRATION\": \"Administration\",\n \"APPLICATION\": \"Application\",\n \"APP_CONFIG\": {\n \"MAX_USERS_LABEL\": \"Nombre maximum d'utilisateurs actifs \",\n \"MAX_USERS_HELP\": \"Si égal à 0, pas limite d'inscription\",\n \"MAX_FILES_IN_ZIP_LABEL\": \"Taille max. des archives zip (en Mo) \",\n \"SINGLE_UPLOAD_MAX_SIZE_LABEL\": \"Taille max. des fichiers (en Mo) \",\n \"TITLE\": \"Configuration de l'application\",\n \"ZIP_UPLOAD_MAX_SIZE_LABEL\": \"Nombre max. de fichiers dans une archive zip \"\n },\n \"BACK_TO_ADMIN\": \"Revenir à l'admin\",\n \"CONFIRM_USER_ACCOUNT_DELETION\": \"Etes-vous sûr de vouloir supprimer le compte de {0} ? Toutes les données seront définitivement.\",\n \"DELETE_USER\": \"Supprimer l'utilisateur\",\n \"ENABLE_DISABLE_SPORTS\": \"Activer/désactiver des sports.\",\n \"REGISTRATION_DISABLED\": \"Les inscriptions sont actuellement désactivées.\",\n \"REGISTRATION_ENABLED\": \"Les inscriptions sont actuellement activées.\",\n \"SPORTS\": {\n \"TABLE\": {\n \"ACTIVE\": \"Actif\",\n \"HAS_WORKOUTS\": \"des séances existent\",\n \"IMAGE\": \"Image\",\n \"LABEL\": \"Label\"\n },\n \"TITLE\": \"Administration - Sports\"\n },\n \"UPDATE_APPLICATION_DESCRIPTION\": \"Configurer l'application (nombre maximum d'utilisateurs inscrits, taille maximale des fichers).\",\n \"USER\": \"utilisateur | utilisateurs\",\n \"USERS\": {\n \"TABLE\": {\n \"ADD_ADMIN_RIGHTS\": \"Ajouter les drois d'admin\",\n \"REMOVE_ADMIN_RIGHTS\": \"Retirer les drois d'admin\"\n },\n \"SELECTS\": {\n \"ORDER_BY\": {\n \"LABEL\": \"trier par \",\n \"admin\": \"status administrateur\",\n \"created_at\": \"date d'inscription\",\n \"username\": \"nom d'utilisateur\",\n \"workouts_count\": \"nombre de séances\"\n },\n \"ORDER\": {\n \"LABEL\": \"tri\",\n \"ASC\": \"ascendant\",\n \"DESC\": \"descendant\"\n },\n \"PER_PAGE\": {\n \"LABEL\": \"par page\"\n }\n }\n }\n}\n","{\n \"ERROR\": {\n \"UNKNOWN\": \"Erreur. Veuillez réessayer ou contacter l'administrateur.\",\n \"email: valid email must be provided\": \"Email : une adresse email valide doit être fournie.\",\n \"error on getting configuration\": \"Erreur lors de la récupération de la configuration.\",\n \"error when updating configuration\": \"Erreur lors de la mise à jour de la configuration\",\n \"error, please try again or contact the administrator\": \"Erreur, veuillez réessayer ou contacter l'administrateur.\",\n \"error, registration is disabled\": \"Erreur, les inscriptions sont désactivées.\",\n \"file extension not allowed\": \"Extension de fichier non autorisée.\",\n \"file size is greater than the allowed size\": \"La taille du fichier est supérieure à la limite autorisée.\",\n \"invalid credentials\": \"Identifiants invalides.\",\n \"invalid payload\": \"Données fournies incorrectes.\",\n \"invalid token, please log in again\": \"Jeton de connexion invalide, merci de vous reconnecter.\",\n \"invalid token, please request a new token\": \"Jeton de connexion, merci de vous reconnecter.\",\n \"no file part\": \"Pas de fichier fourni.\",\n \"no selected file\": \"Pas de fichier sélectionné.\",\n \"Network Error\": \"Erreur Réseau.\",\n \"password: password and password confirmation do not match\": \"Mot de passe : les mots de passe saisis sont différents.\",\n \"provide a valid auth token\": \"Merci de fournir un jeton de connexion valide.\",\n \"password: 8 characters required\": \"Mot de passe : 8 caractères minimum.\",\n \"sport does not exist\": \"Ce sport n'existe pas.\",\n \"signature expired, please log in again\": \"Signature expirée. Merci de vous reconnecter.\",\n \"sorry, that user already exists\": \"Désolé, cet utilisateur existe déjà.\",\n \"successfully registered\": \"Inscription validée.\",\n \"user does not exist\": \"L'utilisateur n'existe pas\",\n \"username: 3 to 12 characters required\": \"Nom d'utilisateur : 3 à 12 caractères requis.\",\n \"you do not have permissions\": \"Vous n'avez pas les permissions nécessaires.\"\n },\n \"PAGINATION\": {\n \"PREVIOUS\": \"précédent\",\n \"NEXT\": \"suivant\"\n }\n}","{\n \"BACK\": \"Précédent\",\n \"CANCEL\": \"Annuler\",\n \"DELETE_MY_ACCOUNT\": \"Supprimer mon compte\",\n \"DISABLE\": \"Désactiver\",\n \"EDIT\": \"Modifier\",\n \"ENABLE\": \"Activer\",\n \"FILTER\": \"Filtrer\",\n \"LOGIN\": \"Se connecter\",\n \"NO\": \"Non\",\n \"REGISTER\": \"S'inscrire\",\n \"SUBMIT\": \"Valider\",\n \"YES\": \"Oui\"\n}","{\n \"CONFIRMATION\": \"Confirmation\",\n \"DAY\": \"jour | jours\",\n \"HOME\": \"Accueil\",\n \"HERE\": \"ici\"\n}","{\n \"DASHBOARD\": \"Tableau de Bord\",\n \"THIS_MONTH\": \"Ce mois\"\n}\n","{\n \"UNKNOWN\": \"Erreur. Veuillez réessayer ou contacter l'administrateur.\",\n \"APP_ERROR\": \"L'application semble rencontrer quelques problèmes.
Veuillez réessayer plus tard ou contacter l'administrateur.\",\n \"NOT_FOUND\": {\n \"PAGE\": \"Page introuvable\",\n \"WORKOUT\": \"Séance introuvable\"\n }\n}","{\n \"Cycling (Sport)\": {\n \"LABEL\": \"Vélo (Sport)\"\n },\n \"Cycling (Transport)\": {\n \"LABEL\": \"Vélo (Transport)\"\n },\n \"Hiking\": {\n \"LABEL\": \"Randonnée\"\n },\n \"Mountain Biking\": {\n \"LABEL\": \"VTT\"\n },\n \"Running\": {\n \"LABEL\": \"Course\"\n },\n \"Walking\": {\n \"LABEL\": \"Marche\"\n }\n}","{\n \"STATISTICS\": \"Statistiques\",\n \"TOTAL\": \"Total\",\n \"TIME_FRAMES\": {\n \"week\": \"semaine\",\n \"month\": \"mois\",\n \"year\": \"année\"\n }\n}\n","{\n \"ADMIN\": \"Admin\",\n \"CONFIRM_ACCOUNT_DELETION\": \"Etes-vous sûr de vouloir supprimer votre compte ? Toutes les données seront définitivement effacés.\",\n \"EMAIL\": \"Email\",\n \"ENTER_EMAIL\": \"Saisir une adresse email\",\n \"ENTER_PASSWORD\": \"Saisir un mot de passe\",\n \"ENTER_PASSWORD_CONFIRMATION\": \"Confirmer le mot de passe\",\n \"INVALID_TOKEN\": \"Jeton invalide, veullez demander une nouvelle réinitialisation de mot de passe.\",\n \"LANGUAGE\": \"Langue\",\n \"LOGIN\": \"Se connecter\",\n \"LOGOUT\": \"Se déconnecter\",\n \"PASSWORD\": \"Mot de passe\",\n \"PASSWORD_CONFIRM\": \"Confirmation du mot de passe\",\n \"PASSWORD_CONFIRMATION\": \"Confirmation du mot de passe\",\n \"PASSWORD_FORGOTTEN\": \"Mot de passe oublié ?\",\n \"PASSWORD_RESET\": \"Réinitialisation du mot de passe\",\n \"PASSWORD_SENT_EMAIL_TEXT\": \"Vérifiez vore boite mail. Si vote adresse est dans notre base de données, vous recevrez un email avec un lien pour réinitialiser votre mot de passe.\",\n \"PASSWORD_UPDATED\": \"Votre mot de passe a été mis à jour. Cliquez {0} pour vous connecter.\",\n \"PROFILE\": {\n \"BACK_TO_PROFILE\": \"Revenir au profil\",\n \"BIO\": \"Bio\",\n \"BIRTH_DATE\": \"Date de naissance\",\n \"EDIT\": \"Modifier le profil\",\n \"EDIT_PREFERENCES\": \"Modifier les préférences\",\n \"FIRST_DAY_OF_WEEK\": \"Premier jour de la semaine\",\n \"FIRST_NAME\": \"Prénom\",\n \"LANGUAGE\": \"Langue\",\n \"LAST_NAME\": \"Nom\",\n \"LOCATION\": \"Lieu\",\n \"MONDAY\": \"Lundi\",\n \"PICTURE\": \"Image de profil\",\n \"PICTURE_EDITION\": \"Mise à jour de l'image de profil\",\n \"PICTURE_UPDATE\": \"Mettre à jour l'image\",\n \"PICTURE_REMOVE\": \"Supprimer\",\n \"PREFERENCES_EDITION\": \"Mise à jour des préférences\",\n \"PROFILE_EDITION\": \"Mise à jour du profil\",\n \"REGISTRATION_DATE\": \"Date d'inscription\",\n \"SUNDAY\": \"Dimanche\",\n \"TABS\": {\n \"PICTURE\": \"image\",\n \"PREFERENCES\": \"préférences\",\n \"PROFILE\": \"profil\"\n },\n \"TIMEZONE\": \"Fuseau horaire\"\n },\n \"REGISTER\": \"S'inscrire\",\n \"REGISTER_DISABLED\": \"Désolé, les inscriptions sont désactivées.\",\n \"RESET_PASSWORD\": \"Réinitialiser votre mot de passe\",\n \"USER_PICTURE\": \"photo de l'utilisateur\",\n \"USERNAME\": \"Nom d'utilisateur\"\n}","{\n \"ADD_WORKOUT\": \"Ajouter une séance\",\n \"ANALYSIS\": \"analyse\",\n \"ASCENT\": \"dénivelé positif\",\n \"AVERAGE_SPEED\": \"vitesse moyenne\",\n \"AVE_SPEED\": \"vitesse moy.\",\n \"BACK_TO_WORKOUT\": \"revenir à la séance\",\n \"DATE\": \"date\",\n \"DESCENT\": \"dénivelé négatif\",\n \"DISPLAY_FILTERS\": \"afficher les filtres\",\n \"DISTANCE\": \"distance\",\n \"DURATION\": \"durée\",\n \"EDIT_WORKOUT\": \"Modifier la séance\",\n \"ELEVATION\": \"altitude\",\n \"END\": \"fin\",\n \"FROM\": \"à partir de\",\n \"GPX_FILE\": \"fichier .gpx\",\n \"HIDE_FILTERS\": \"masquer les filtres\",\n \"KM\": \"km\",\n \"LATEST_WORKOUTS\": \"Séances récentes\",\n \"LOAD_MORE_WORKOUT\": \"Charger les séances suivantes\",\n \"MAX_ALTITUDE\": \"altitude max\",\n \"MAX_FILES\": \"fichiers max. \",\n \"MAX_SIZE\": \"taille max. \",\n \"MAX_SPEED\": \"vitesse max\",\n \"MIN_ALTITUDE\": \"altitude min\",\n \"NEXT_SEGMENT\": \"Segment suivant\",\n \"NEXT_WORKOUT\": \"Séance suivante\",\n \"NO_DATA_CLEANING\": \"données issues du fichier gpx, sans correction\",\n \"NO_FILE_PROVIDED\": \"Pas de fichier fourni\",\n \"NO_FOLDER\": \"pas de répertoire\",\n \"NO_MAP\": \"Pas de carte\",\n \"NO_NEXT_SEGMENT\": \"Pas de segment suivant\",\n \"NO_NEXT_WORKOUT\": \"Pas de séance suivante\",\n \"NO_NOTES\": \"Pas de notes\",\n \"NO_PREVIOUS_SEGMENT\": \"Pas de segment précédent\",\n \"NO_PREVIOUS_WORKOUT\": \"Pas de séance précédente\",\n \"NO_RECORDS\": \"Pas de records.\",\n \"NO_WORKOUTS\": \"Pas de séances.\",\n \"NOTES\": \"notes\",\n \"PAUSES\": \"pauses\",\n \"PREVIOUS_SEGMENT\": \"Segment précédent\",\n \"PREVIOUS_WORKOUT\": \"Séance précédente\",\n \"RECORD\": \"record | records\",\n \"RECORD_AS\": \"Vitesse moy.\",\n \"RECORD_FD\": \"Distance la + longue\",\n \"RECORD_LD\": \"Durée la + longue\",\n \"RECORD_MS\": \"Vitesse max.\",\n \"REMAINING_CHARS\": \"nombre de caractères restants \",\n \"SEGMENT\": \"segment | segments\",\n \"SPEED\": \"vitesse\",\n \"SPORT\": \"sport | sports\",\n \"START\": \"début\",\n \"TITLE\": \"titre\",\n \"TO\": \"jusqu'au\",\n \"TOTAL_DURATION\": \"durée totale\",\n \"UPLOAD_FIRST_WORKOUT\": \"Ajoutez votre première séance !\",\n \"WEATHER\": {\n \"HUMIDITY\": \"humidité\",\n \"TEMPERATURE\": \"température\",\n \"WIND\": \"vent\",\n \"DARK_SKY\": {\n \"clear-day\": \"ensoleillé\",\n \"clear-night\": \"nuit claire\",\n \"cloudy\": \"nuageux\",\n \"fog\": \"brouillard\",\n \"partly-cloudy-day\": \"partiellement nuageux\",\n \"partly-cloudy-night\": \"nuit partiellement nuageuse\",\n \"rain\": \"pluie\",\n \"sleet\": \"neige fondue\",\n \"snow\": \"neige\",\n \"wind\": \"venteux\"\n }\n },\n \"WITH_GPX\": \"avec un fichier .gpx\",\n \"WITHOUT_GPX\": \"sans fichier .gpx\",\n \"WORKOUT\": \"séance | séances\",\n \"WORKOUT_DATE\": \"date de la séance\",\n \"WORKOUT_DELETION_CONFIRMATION\": \"Etes-vous sûr de vouloir supprimer cette séance ?\",\n \"ZIP_ARCHIVE\": \"archive .zip\",\n \"ZIP_ARCHIVE_DESCRIPTION\": \"ou une archive .zip contenant des fichiers .gpx\"\n}\n","import AdministrationTranslations from './administration.json'\nimport ApiTranslations from './api.json'\nimport ButtonsTranslations from './buttons.json'\nimport CommonTranslations from './common.json'\nimport DashboardTranslations from './dashboard.json'\nimport ErrorTranslations from './error.json'\nimport SportsTranslations from './sports.json'\nimport StatisticsTranslations from './statistics.json'\nimport UserTranslations from './user.json'\nimport WorkoutsTranslations from './workouts.json'\n\nexport default {\n admin: AdministrationTranslations,\n api: ApiTranslations,\n buttons: ButtonsTranslations,\n common: CommonTranslations,\n dashboard: DashboardTranslations,\n error: ErrorTranslations,\n sports: SportsTranslations,\n statistics: StatisticsTranslations,\n user: UserTranslations,\n workouts: WorkoutsTranslations,\n}\n","\n\n\n\n\n","\n import { format } from 'date-fns'\n import {\n ComputedRef,\n PropType,\n Ref,\n computed,\n defineComponent,\n ref,\n } from 'vue'\n\n import { USER_STORE } from '@/store/constants'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'UserInfos',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n fromAdmin: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const store = useStore()\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const registrationDate = computed(() =>\n props.user.created_at\n ? format(new Date(props.user.created_at), 'dd/MM/yyyy HH:mm')\n : ''\n )\n const birthDate = computed(() =>\n props.user.birth_date\n ? format(new Date(props.user.birth_date), 'dd/MM/yyyy')\n : ''\n )\n let displayModal: Ref = ref(false)\n\n function updateDisplayModal(value: boolean) {\n displayModal.value = value\n }\n function deleteUserAccount(username: string) {\n store.dispatch(USER_STORE.ACTIONS.DELETE_ACCOUNT, { username })\n }\n\n return {\n authUser,\n birthDate,\n displayModal,\n registrationDate,\n deleteUserAccount,\n updateDisplayModal,\n }\n },\n })\n","import { render } from \"./UserInfos.vue?vue&type=template&id=1267fe4f&scoped=true\"\nimport script from \"./UserInfos.vue?vue&type=script&lang=ts\"\nexport * from \"./UserInfos.vue?vue&type=script&lang=ts\"\n\nimport \"./UserInfos.vue?vue&type=style&index=0&id=1267fe4f&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-1267fe4f\"\n\nexport default script","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Footer.vue?vue&type=style&index=0&id=e1641806&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./index.vue?vue&type=style&index=0&id=c81580c0&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./StatCard.vue?vue&type=style&index=0&id=32e77e48&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Modal.vue?vue&type=style&index=0&id=21b6cb61&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserPicture.vue?vue&type=style&index=0&id=bc591ae4&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Dropdown.vue?vue&type=style&index=0&id=5ef2ddef&scoped=true&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserInfos.vue?vue&type=style&index=0&id=1267fe4f&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AppStatsCards.vue?vue&type=style&index=0&id=cd52bcc2&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CustomTextArea.vue?vue&type=style&index=0&id=ad3739fc&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Loader.vue?vue&type=style&index=0&id=8bf75da8&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminUsersSelects.vue?vue&type=style&index=0&id=4a4a3d67&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserPictureEdition.vue?vue&type=style&index=0&id=500d4a7a&lang=scss&scoped=true\"","{\n \"ACTION\": \"Action\",\n \"ADMIN_RIGHTS_DELETE_USER_ACCOUNT\": \"Add/remove admin rights, delete user account.\",\n \"ADMIN\": \"Admin\",\n \"ADMINISTRATION\": \"Administration\",\n \"APPLICATION\": \"Application\",\n \"APP_CONFIG\": {\n \"MAX_USERS_LABEL\": \"Max. number of active users\",\n \"MAX_USERS_HELP\": \"If 0, no limitation on registration.\",\n \"MAX_FILES_IN_ZIP_LABEL\": \"Max. files of zip archive\",\n \"SINGLE_UPLOAD_MAX_SIZE_LABEL\": \"Max. size of uploaded files (in Mb)\",\n \"TITLE\": \"Application configuration\",\n \"ZIP_UPLOAD_MAX_SIZE_LABEL\": \"Max. size of zip archive (in Mb)\"\n },\n \"BACK_TO_ADMIN\": \"Back to admin\",\n \"CONFIRM_USER_ACCOUNT_DELETION\": \"Are you sure you want to delete {0} account? All data will be deleted, this cannot be undone.\",\n \"DELETE_USER\": \"Delete user\",\n \"ENABLE_DISABLE_SPORTS\": \"Enable/disable sports.\",\n \"REGISTRATION_DISABLED\": \"Registration is currently disabled.\",\n \"REGISTRATION_ENABLED\": \"Registration is currently enabled.\",\n \"SPORTS\": {\n \"TABLE\": {\n \"ACTIVE\": \"Active\",\n \"HAS_WORKOUTS\": \"workouts exist\",\n \"IMAGE\": \"Image\",\n \"LABEL\": \"Label\"\n },\n \"TITLE\": \"Sports administration\"\n },\n \"UPDATE_APPLICATION_DESCRIPTION\": \"Update application configuration (maximum number of registered users, maximum files size).\",\n \"USER\": \"user | users\",\n \"USERS\": {\n \"TABLE\": {\n \"ADD_ADMIN_RIGHTS\": \"Add admin rights\",\n \"REMOVE_ADMIN_RIGHTS\": \"Remove admin rights\"\n },\n \"SELECTS\": {\n \"ORDER_BY\": {\n \"LABEL\": \"order by\",\n \"admin\": \"admin status\",\n \"created_at\": \"registration date\",\n \"username\": \"username\",\n \"workouts_count\": \"workout count\"\n },\n \"ORDER\": {\n \"LABEL\": \"sort\",\n \"ASC\": \"ascending\",\n \"DESC\": \"descending\"\n },\n \"PER_PAGE\": {\n \"LABEL\": \"par page\"\n }\n }\n }\n}\n","{\n \"ERROR\": {\n \"UNKNOWN\": \"Error. Please try again or contact the administrator.\",\n \"email: valid email must be provided\": \"Email: valid email must be provided.\",\n \"error on getting configuration\": \"Error on getting configuration.\",\n \"error when updating configuration\": \"Error when updating configuration\",\n \"error, please try again or contact the administrator\": \"Error, please try again or contact the administrator.\",\n \"error, registration is disabled\": \"Error, registration is disabled.\",\n \"file extension not allowed\": \"File extension not allowed.\",\n \"file size is greater than the allowed size\": \"File size is greater than the allowed size.\",\n \"invalid credentials\": \"Invalid credentials.\",\n \"invalid payload\": \"Provided data are invalid.\",\n \"invalid token, please log in again\": \"Invalid token, please log in again.\",\n \"invalid token, please request a new token\": \"Invalid token, please log in again.\",\n \"Network Error\": \"Network Error.\",\n \"no file part\": \"No file provided.\",\n \"no selected file\": \"No selected file.\",\n \"password: password and password confirmation do not match\": \"Password: password and password confirmation don't match.\",\n \"provide a valid auth token\": \"Provide a valid auth token.\",\n \"password: 8 characters required\": \"Password: 8 characters required.\",\n \"sorry, that user already exists\": \"Sorry, that user already exists.\",\n \"sport does not exist\": \"Sport does not exist.\",\n \"signature expired, please log in again\": \"Signature expired. Please log in again.\",\n \"successfully registered\": \"Successfully registered.\",\n \"user does not exist\": \"User does not exist.\",\n \"username: 3 to 12 characters required\": \"Username: 3 to 12 characters required.\",\n \"you do not have permissions\": \"You do not have permissions.\"\n },\n \"PAGINATION\": {\n \"PREVIOUS\": \"previous\",\n \"NEXT\": \"next\"\n }\n}","{\n \"BACK\": \"Back\",\n \"CANCEL\": \"Cancel\",\n \"DELETE_MY_ACCOUNT\": \"Delete my account\",\n \"DISABLE\": \"Disable\",\n \"EDIT\": \"Edit\",\n \"ENABLE\": \"Enable\",\n \"FILTER\": \"Filter\",\n \"LOGIN\": \"Log in\",\n \"NO\": \"No\",\n \"REGISTER\": \"Register\",\n \"SUBMIT\": \"Submit\",\n \"YES\": \"Yes\"\n}","{\n \"CONFIRMATION\": \"Confirmation\",\n \"DAY\": \"day | days\",\n \"HOME\": \"Home\",\n \"HERE\": \"here\"\n}","{\n \"DASHBOARD\": \"Dashboard\",\n \"THIS_MONTH\": \"This month\"\n}\n","{\n \"UNKNOWN\": \"Error. Please try again or contact the administrator.\",\n \"APP_ERROR\": \"The application seems encounter some issues.
Please try later or contact the administrator.\",\n \"NOT_FOUND\": {\n \"PAGE\": \"Page not found\",\n \"WORKOUT\": \"Workout not found\"\n }\n}","{\n \"Cycling (Sport)\": {\n \"LABEL\": \"Cycling (Sport)\"\n },\n \"Cycling (Transport)\": {\n \"LABEL\": \"Cycling (Transport)\"\n },\n \"Hiking\": {\n \"LABEL\": \"Hiking\"\n },\n \"Mountain Biking\": {\n \"LABEL\": \"Mountain Biking\"\n },\n \"Running\": {\n \"LABEL\": \"Running\"\n },\n \"Walking\": {\n \"LABEL\": \"Walking\"\n }\n}","{\n \"STATISTICS\": \"Statistics\",\n \"TOTAL\": \"Total\",\n \"TIME_FRAMES\": {\n \"week\": \"week\",\n \"month\": \"month\",\n \"year\": \"year\"\n }\n}\n","{\n \"ADMIN\": \"Admin\",\n \"CONFIRM_ACCOUNT_DELETION\": \"Are you sure you want to delete your account? All data will be deleted, this cannot be undone\",\n \"EMAIL\": \"Email\",\n \"ENTER_EMAIL\": \"Enter an email address\",\n \"ENTER_PASSWORD\": \"Enter a password\",\n \"ENTER_PASSWORD_CONFIRMATION\": \"Confirm the password\",\n \"INVALID_TOKEN\": \"Invalid token, please request a new password reset.\",\n \"LANGUAGE\": \"Language\",\n \"LOGIN\": \"Login\",\n \"LOGOUT\": \"Logout\",\n \"PASSWORD\": \"Password\",\n \"PASSWORD_CONFIRM\": \"Confirm Password\",\n \"PASSWORD_CONFIRMATION\": \"Password confirmation\",\n \"PASSWORD_FORGOTTEN\": \"Forgot password?\",\n \"PASSWORD_RESET\": \"Password reset\",\n \"PASSWORD_SENT_EMAIL_TEXT\": \"Check your email. If your address is in our database, you'll received an email with a link to reset your password.\",\n \"PASSWORD_UPDATED\": \"Your password have been updated. Click {0} to log in.\",\n \"PROFILE\": {\n \"BACK_TO_PROFILE\": \"Back to profile\",\n \"BIO\": \"Bio\",\n \"BIRTH_DATE\": \"Birth date\",\n \"EDIT\": \"Edit profile\",\n \"EDIT_PREFERENCES\": \"Edit preferences\",\n \"FIRST_NAME\": \"First name\",\n \"FIRST_DAY_OF_WEEK\": \"First day of week\",\n \"LANGUAGE\": \"Language\",\n \"LAST_NAME\": \"Last name\",\n \"LOCATION\": \"Location\",\n \"MONDAY\": \"Monday\",\n \"PICTURE\": \"Picture\",\n \"PICTURE_EDITION\": \"Picture edition\",\n \"PICTURE_UPDATE\": \"Update picture\",\n \"PICTURE_REMOVE\": \"Remove picture\",\n \"PREFERENCES_EDITION\": \"Preferences edition\",\n \"PROFILE_EDITION\": \"Profile edition\",\n \"REGISTRATION_DATE\": \"Registration date\",\n \"SUNDAY\": \"Sunday\",\n \"TABS\": {\n \"PICTURE\": \"picture\",\n \"PREFERENCES\": \"preferences\",\n \"PROFILE\": \"profile\"\n },\n \"TIMEZONE\": \"Timezone\"\n },\n \"REGISTER\": \"Register\",\n \"REGISTER_DISABLED\": \"Sorry, registration is disabled.\",\n \"RESET_PASSWORD\": \"Reset your password\",\n \"USER_PICTURE\": \"user picture\",\n \"USERNAME\": \"Username\"\n}\n","{\n \"ADD_WORKOUT\": \"Add a workout\",\n \"ANALYSIS\": \"analysis\",\n \"ASCENT\": \"ascent\",\n \"AVE_SPEED\": \"ave. speed\",\n \"AVERAGE_SPEED\": \"average speed\",\n \"BACK_TO_WORKOUT\": \"back to workout\",\n \"DATE\": \"date\",\n \"DESCENT\": \"descent\",\n \"DISPLAY_FILTERS\": \"display filters\",\n \"DISTANCE\": \"distance\",\n \"DURATION\": \"duration\",\n \"EDIT_WORKOUT\": \"Edit the workout\",\n \"ELEVATION\": \"elevation\",\n \"END\": \"end\",\n \"FROM\": \"from\",\n \"GPX_FILE\": \".gpx file\",\n \"HIDE_FILTERS\": \"hide filters\",\n \"KM\": \"km\",\n \"LATEST_WORKOUTS\": \"Latest workouts\",\n \"LOAD_MORE_WORKOUT\": \"Load more workouts\",\n \"MAX_ALTITUDE\": \"max. altitude\",\n \"MAX_FILES\": \"max files\",\n \"MAX_SIZE\": \"max size\",\n \"MAX_SPEED\": \"max. speed\",\n \"MIN_ALTITUDE\": \"min. altitude\",\n \"NEXT_SEGMENT\": \"No next segment\",\n \"NEXT_WORKOUT\": \"Next workout\",\n \"NO_DATA_CLEANING\": \"data from gpx, without any cleaning\",\n \"NO_FILE_PROVIDED\": \"No file provided\",\n \"NO_FOLDER\": \"no folder inside\",\n \"NO_MAP\": \"No map\",\n \"NO_NEXT_SEGMENT\": \"No next segment\",\n \"NO_NEXT_WORKOUT\": \"No next workout\",\n \"NO_NOTES\": \"No notes\",\n \"NO_PREVIOUS_SEGMENT\": \"No previous segment\",\n \"NO_PREVIOUS_WORKOUT\": \"No previous workout\",\n \"NO_RECORDS\": \"No records.\",\n \"NO_WORKOUTS\": \"No workouts.\",\n \"NOTES\": \"notes\",\n \"PAUSES\": \"pauses\",\n \"PREVIOUS_SEGMENT\": \"Previous segment\",\n \"PREVIOUS_WORKOUT\": \"Previous workout\",\n \"RECORD\": \"record | records\",\n \"RECORD_AS\": \"Ave. speed\",\n \"RECORD_FD\": \"Farest distance\",\n \"RECORD_LD\": \"Longest duration\",\n \"RECORD_MS\": \"Max. speed\",\n \"REMAINING_CHARS\": \"remaining characters\",\n \"SEGMENT\": \"segment | segments\",\n \"SPEED\": \"speed\",\n \"SPORT\": \"sport | sports\",\n \"START\": \"start\",\n \"TITLE\": \"title\",\n \"TO\": \"to\",\n \"TOTAL_DURATION\": \"total duration\",\n \"UPLOAD_FIRST_WORKOUT\": \"Upload one!\",\n \"WEATHER\": {\n \"HUMIDITY\": \"humidity\",\n \"TEMPERATURE\": \"temperature\",\n \"WIND\": \"wind\",\n \"DARK_SKY\": {\n \"clear-day\": \"clear day\",\n \"clear-night\": \"clear night\",\n \"cloudy\": \"cloudy\",\n \"fog\": \"fog\",\n \"partly-cloudy-day\": \"partly cloudy day\",\n \"partly-cloudy-night\": \"partly cloudy night\",\n \"rain\": \"rain\",\n \"sleet\": \"sleet\",\n \"snow\": \"snow\",\n \"wind\": \"wind\"\n }\n },\n \"WITH_GPX\": \"with .gpx file\",\n \"WITHOUT_GPX\": \"without .gpx file\",\n \"WORKOUT\": \"workout | workouts\",\n \"WORKOUT_DATE\": \"workout date\",\n \"WORKOUT_DELETION_CONFIRMATION\": \"Are you sure you want to delete this workout?\",\n \"ZIP_ARCHIVE\": \".zip file\",\n \"ZIP_ARCHIVE_DESCRIPTION\": \"or .zip file containing .gpx files\"\n}\n","import AdministrationTranslations from './administration.json'\nimport ApiTranslations from './api.json'\nimport ButtonsTranslations from './buttons.json'\nimport CommonTranslations from './common.json'\nimport DashboardTranslations from './dashboard.json'\nimport ErrorTranslations from './error.json'\nimport SportsTranslations from './sports.json'\nimport StatisticsTranslations from './statistics.json'\nimport UserTranslations from './user.json'\nimport WorkoutsTranslations from './workouts.json'\n\nexport default {\n admin: AdministrationTranslations,\n api: ApiTranslations,\n buttons: ButtonsTranslations,\n common: CommonTranslations,\n dashboard: DashboardTranslations,\n error: ErrorTranslations,\n sports: SportsTranslations,\n statistics: StatisticsTranslations,\n user: UserTranslations,\n workouts: WorkoutsTranslations,\n}\n","const suffixes = ['bytes', 'KB', 'MB', 'GB', 'TB']\n\nexport const getReadableFileSize = (\n fileSize: number,\n asText = true\n): string | Record => {\n const i = Math.floor(Math.log(fileSize) / Math.log(1024))\n if (!fileSize) {\n return asText ? '0 bytes' : { size: '0', suffix: 'bytes' }\n }\n const size = (fileSize / Math.pow(1024, i)).toFixed(1)\n const suffix = suffixes[i]\n return asText ? `${size}${suffix}` : { size, suffix }\n}\n\nexport const getFileSizeInMB = (fileSize: number): number => {\n const value = fileSize / 1048576\n return (!fileSize && 0) || +value.toFixed(2)\n}\n","\n\n\n\n\n","\n import { PropType, computed, defineComponent } from 'vue'\n\n import { IUserProfile } from '@/types/user'\n import { getApiUrl } from '@/utils'\n\n export default defineComponent({\n name: 'UserPicture',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n return {\n authUserPictureUrl: computed(() =>\n props.user.picture\n ? `${getApiUrl()}users/${props.user.username}/picture?${Date.now()}`\n : ''\n ),\n }\n },\n })\n","import { render } from \"./UserPicture.vue?vue&type=template&id=bc591ae4\"\nimport script from \"./UserPicture.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPicture.vue?vue&type=script&lang=ts\"\n\nimport \"./UserPicture.vue?vue&type=style&index=0&id=bc591ae4&lang=scss\"\nscript.render = render\n\nexport default script","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserPreferences.vue?vue&type=style&index=0&id=39667dbe&lang=scss&scoped=true\"","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready() {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n registered() {\n console.log('Service worker has been registered.')\n },\n cached() {\n console.log('Content has been cached for offline use.')\n },\n updatefound() {\n console.log('New content is downloading.')\n },\n updated() {\n console.log('New content is available; please refresh.')\n },\n offline() {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n )\n },\n error(error) {\n console.error('Error during service worker registration:', error)\n },\n })\n}\n","\n\n\n\n\n","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'Footer',\n props: {\n version: {\n type: String,\n required: true,\n },\n },\n })\n","import { render } from \"./Footer.vue?vue&type=template&id=e1641806&scoped=true\"\nimport script from \"./Footer.vue?vue&type=script&lang=ts\"\nexport * from \"./Footer.vue?vue&type=script&lang=ts\"\n\nimport \"./Footer.vue?vue&type=style&index=0&id=e1641806&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-e1641806\"\n\nexport default script","\n\n\n\n\n","import { createI18n, LocaleMessages, VueMessageType } from 'vue-i18n'\n\n/**\n * Load locale messages\n *\n * The loaded `JSON` locale messages is pre-compiled by `@intlify/vue-i18n-loader`, which is integrated into `vue-cli-plugin-i18n`.\n * See: https://github.com/intlify/vue-i18n-loader#rocket-i18n-resource-pre-compilation\n */\nfunction loadLocaleMessages(): LocaleMessages {\n const locales = require.context('./locales', true, /[A-Za-z0-9-_,\\s]+\\.ts$/i)\n const messages: LocaleMessages = {}\n locales.keys().forEach((key) => {\n const matched = key.match(/([A-Za-z0-9-_]+)\\./i)\n if (matched && matched.length > 1) {\n const locale = matched[1]\n messages[locale] = locales(key).default\n }\n })\n return messages\n}\n\nexport default createI18n({\n legacy: false,\n locale: 'en',\n fallbackLocale: 'en',\n globalInjection: true,\n messages: loadLocaleMessages(),\n})\n","/* eslint-disable import/no-duplicates */\nimport { Locale } from 'date-fns'\nimport { enUS, fr } from 'date-fns/locale'\n\nimport createI18n from '@/i18n'\n\nexport const localeFromLanguage: Record = {\n en: enUS,\n fr: fr,\n}\n\nexport const languageLabels: Record = {\n en: 'English',\n fr: 'Français',\n}\n\nconst { availableLocales } = createI18n.global\nexport const availableLanguages = availableLocales.map((l) => {\n return { label: languageLabels[l], value: l }\n})\n","\n import { ComputedRef, computed, defineComponent, ref, capitalize } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import UserPicture from '@/components/User/UserPicture.vue'\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { IDropdownOption } from '@/types/forms'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { getApiUrl } from '@/utils'\n import { availableLanguages } from '@/utils/locales'\n\n export default defineComponent({\n name: 'NavBar',\n components: {\n UserPicture,\n },\n emits: ['menuInteraction'],\n setup(props, { emit }) {\n const { locale } = useI18n()\n const store = useStore()\n\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const isAuthenticated: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.IS_AUTHENTICATED]\n )\n const authUserPictureUrl: ComputedRef = computed(() =>\n isAuthenticated.value && authUser.value.picture\n ? `${getApiUrl()}/users/${\n authUser.value.username\n }/picture?${Date.now()}`\n : ''\n )\n const language: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.LANGUAGE]\n )\n let isMenuOpen = ref(false)\n\n function openMenu() {\n isMenuOpen.value = true\n emit('menuInteraction', true)\n }\n function closeMenu() {\n isMenuOpen.value = false\n emit('menuInteraction', false)\n }\n function updateLanguage(option: IDropdownOption) {\n locale.value = option.value.toString()\n store.commit(ROOT_STORE.MUTATIONS.UPDATE_LANG, option.value)\n }\n function logout() {\n store.dispatch(USER_STORE.ACTIONS.LOGOUT)\n }\n\n return {\n availableLanguages,\n authUser,\n authUserPictureUrl,\n isAuthenticated,\n isMenuOpen,\n language,\n capitalize,\n openMenu,\n closeMenu,\n updateLanguage,\n logout,\n }\n },\n })\n","import { render } from \"./NavBar.vue?vue&type=template&id=03a78350&scoped=true\"\nimport script from \"./NavBar.vue?vue&type=script&lang=ts\"\nexport * from \"./NavBar.vue?vue&type=script&lang=ts\"\n\nimport \"./NavBar.vue?vue&type=style&index=0&id=03a78350&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-03a78350\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n export default defineComponent({\n name: 'NoConfig',\n setup() {\n const { t } = useI18n()\n return { t }\n },\n })\n","import { render } from \"./NoConfig.vue?vue&type=template&id=01d4a985&scoped=true\"\nimport script from \"./NoConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./NoConfig.vue?vue&type=script&lang=ts\"\n\nimport \"./NoConfig.vue?vue&type=style&index=0&id=01d4a985&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-01d4a985\"\n\nexport default script","\n import {\n ComputedRef,\n computed,\n defineComponent,\n ref,\n onBeforeMount,\n onMounted,\n } from 'vue'\n\n import Footer from '@/components/Footer.vue'\n import NavBar from '@/components/NavBar.vue'\n import NoConfig from '@/components/NoConfig.vue'\n import { ROOT_STORE } from '@/store/constants'\n import { TAppConfig } from '@/types/application'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'App',\n components: {\n Footer,\n NavBar,\n NoConfig,\n },\n setup() {\n const store = useStore()\n\n const appConfig: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n )\n const appLoading: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_LOADING]\n )\n const hideScrollBar = ref(false)\n const displayScrollButton = ref(false)\n\n onBeforeMount(() =>\n store.dispatch(ROOT_STORE.ACTIONS.GET_APPLICATION_CONFIG)\n )\n onMounted(() => scroll())\n\n function updateHideScrollBar(isMenuOpen: boolean) {\n hideScrollBar.value = isMenuOpen\n }\n\n function isScrolledToBottom(element: Element): boolean {\n return (\n element.getBoundingClientRect().top < window.innerHeight &&\n element.getBoundingClientRect().bottom >= 0\n )\n }\n function scroll() {\n window.onscroll = () => {\n let bottom = document.querySelector('#bottom')\n displayScrollButton.value =\n bottom !== null && isScrolledToBottom(bottom)\n }\n }\n function scrollToTop() {\n window.scrollTo({\n top: 0,\n behavior: 'smooth',\n })\n setTimeout(() => {\n displayScrollButton.value = false\n }, 300)\n }\n\n return {\n appConfig,\n appLoading,\n hideScrollBar,\n displayScrollButton,\n scrollToTop,\n updateHideScrollBar,\n }\n },\n })\n","import { render } from \"./App.vue?vue&type=template&id=317a6409&scoped=true\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=317a6409&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-317a6409\"\n\nexport default script","\n\n\n\n\n","\n import {\n ComputedRef,\n PropType,\n computed,\n defineComponent,\n reactive,\n onBeforeMount,\n } from 'vue'\n import { useRouter } from 'vue-router'\n\n import { ROOT_STORE } from '@/store/constants'\n import { TAppConfig, TAppConfigForm } from '@/types/application'\n import { useStore } from '@/use/useStore'\n import { getFileSizeInMB } from '@/utils/files'\n\n export default defineComponent({\n name: 'AdminApplication',\n props: {\n appConfig: {\n type: Object as PropType,\n required: true,\n },\n edition: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const store = useStore()\n const router = useRouter()\n const appData: TAppConfigForm = reactive({\n max_users: 0,\n max_single_file_size: 0,\n max_zip_file_size: 0,\n gpx_limit_import: 0,\n })\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n onBeforeMount(() => {\n if (props.appConfig) {\n updateForm(props.appConfig)\n }\n })\n\n function updateForm(appConfig: TAppConfig) {\n Object.keys(appData).map((key) => {\n ;['max_single_file_size', 'max_zip_file_size'].includes(key)\n ? // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n (appData[key] = getFileSizeInMB(appConfig[key]))\n : // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n (appData[key] = appConfig[key])\n })\n }\n\n function onCancel() {\n updateForm(props.appConfig)\n store.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n router.push('/admin/application')\n }\n function onSubmit() {\n const formData: TAppConfigForm = Object.assign({}, appData)\n formData.max_single_file_size *= 1048576\n formData.max_zip_file_size *= 1048576\n store.dispatch(ROOT_STORE.ACTIONS.UPDATE_APPLICATION_CONFIG, formData)\n }\n\n return { appData, errorMessages, onCancel, onSubmit }\n },\n })\n","import { render } from \"./AdminApplication.vue?vue&type=template&id=26175b66&scoped=true\"\nimport script from \"./AdminApplication.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminApplication.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminApplication.vue?vue&type=style&index=0&id=26175b66&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-26175b66\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent, computed } from 'vue'\n\n import StatCard from '@/components/Common/StatCard.vue'\n import { IAppStatistics } from '@/types/application'\n import { getReadableFileSize } from '@/utils/files'\n\n export default defineComponent({\n name: 'UserStatsCards',\n components: {\n StatCard,\n },\n props: {\n appStatistics: {\n type: Object as PropType,\n default: () => {\n return {}\n },\n },\n },\n setup(props) {\n return {\n uploadDirSize: computed(() =>\n props.appStatistics.uploads_dir_size\n ? getReadableFileSize(props.appStatistics.uploads_dir_size, false)\n : { size: 0, suffix: 'bytes' }\n ),\n usersCount: computed(() =>\n props.appStatistics.users ? props.appStatistics.users : 0\n ),\n sportsCount: computed(() =>\n props.appStatistics.sports ? props.appStatistics.sports : 0\n ),\n workoutCount: computed(() =>\n props.appStatistics.workouts ? props.appStatistics.workouts : 0\n ),\n }\n },\n })\n","import { render } from \"./AppStatsCards.vue?vue&type=template&id=cd52bcc2\"\nimport script from \"./AppStatsCards.vue?vue&type=script&lang=ts\"\nexport * from \"./AppStatsCards.vue?vue&type=script&lang=ts\"\n\nimport \"./AppStatsCards.vue?vue&type=style&index=0&id=cd52bcc2&lang=scss\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n export default defineComponent({\n name: 'Card',\n })\n","import { render } from \"./Card.vue?vue&type=template&id=c5956538\"\nimport script from \"./Card.vue?vue&type=script&lang=ts\"\nexport * from \"./Card.vue?vue&type=script&lang=ts\"\n\nimport \"./Card.vue?vue&type=style&index=0&id=c5956538&lang=scss\"\nscript.render = render\n\nexport default script","\n import { PropType, capitalize, defineComponent } from 'vue'\n\n import AppStatsCards from '@/components/Administration/AppStatsCards.vue'\n import Card from '@/components/Common/Card.vue'\n import { IAppStatistics, TAppConfig } from '@/types/application'\n\n export default defineComponent({\n name: 'AdminMenu',\n components: {\n AppStatsCards,\n Card,\n },\n props: {\n appConfig: {\n type: Object as PropType,\n required: true,\n },\n appStatistics: {\n type: Object as PropType,\n },\n },\n setup() {\n return { capitalize }\n },\n })\n","import { render } from \"./AdminMenu.vue?vue&type=template&id=4f30aa64&scoped=true\"\nimport script from \"./AdminMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminMenu.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminMenu.vue?vue&type=style&index=0&id=4f30aa64&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4f30aa64\"\n\nexport default script","\n\n\n\n\n","\n import { ComputedRef, computed, defineComponent } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import { ROOT_STORE, SPORTS_STORE } from '@/store/constants'\n import { ITranslatedSport } from '@/types/sports'\n import { useStore } from '@/use/useStore'\n import { translateSports } from '@/utils/sports'\n\n export default defineComponent({\n name: 'AdminSports',\n setup() {\n const { t } = useI18n()\n const store = useStore()\n const translatedSports: ComputedRef = computed(() =>\n translateSports(store.getters[SPORTS_STORE.GETTERS.SPORTS], t)\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n function updateSportStatus(id: number, isActive: boolean) {\n store.dispatch(SPORTS_STORE.ACTIONS.UPDATE_SPORTS, {\n id,\n isActive,\n })\n }\n\n return { errorMessages, translatedSports, updateSportStatus }\n },\n })\n","import { render } from \"./AdminSports.vue?vue&type=template&id=6d930723&scoped=true\"\nimport script from \"./AdminSports.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminSports.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminSports.vue?vue&type=style&index=0&id=6d930723&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6d930723\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import { TPaginationPayload } from '@/types/api'\n\n export default defineComponent({\n name: 'AdminUsersSelects',\n props: {\n order_by: {\n type: Object as PropType,\n required: true,\n },\n query: {\n type: Object as PropType,\n required: true,\n },\n sort: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['updateSelect'],\n setup(props, { emit }) {\n function onSelectUpdate(event: Event & { target: HTMLInputElement }) {\n emit('updateSelect', event.target.id, event.target.value)\n }\n\n return {\n per_page: [10, 50, 100],\n onSelectUpdate,\n }\n },\n })\n","import { render } from \"./AdminUsersSelects.vue?vue&type=template&id=4a4a3d67&scoped=true\"\nimport script from \"./AdminUsersSelects.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminUsersSelects.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminUsersSelects.vue?vue&type=style&index=0&id=4a4a3d67&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-4a4a3d67\"\n\nexport default script","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import { IPagination, TPaginationPayload } from '@/types/api'\n\n export default defineComponent({\n name: 'Pagination',\n props: {\n pagination: {\n type: Object as PropType,\n required: true,\n },\n path: {\n type: String,\n required: true,\n },\n query: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n function rangePagination(pages: number): number[] {\n return Array.from({ length: pages }, (_, i) => i + 1)\n }\n function getQuery(page: number, cursor?: number): TPaginationPayload {\n const newQuery = Object.assign({}, props.query)\n newQuery.page = cursor ? page + cursor : page\n return newQuery\n }\n return { rangePagination, getQuery }\n },\n })\n","import { render } from \"./Pagination.vue?vue&type=template&id=7694e784&scoped=true\"\nimport script from \"./Pagination.vue?vue&type=script&lang=ts\"\nexport * from \"./Pagination.vue?vue&type=script&lang=ts\"\n\nimport \"./Pagination.vue?vue&type=style&index=0&id=7694e784&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-7694e784\"\n\nexport default script","\n import {\n ComputedRef,\n computed,\n defineComponent,\n reactive,\n watch,\n capitalize,\n onBeforeMount,\n onUnmounted,\n } from 'vue'\n import { LocationQuery, useRoute, useRouter } from 'vue-router'\n\n import AdminUsersSelects from '@/components/Administration/AdminUsersSelects.vue'\n import Pagination from '@/components/Common/Pagination.vue'\n import UserPicture from '@/components/User/UserPicture.vue'\n import { ROOT_STORE, USER_STORE, USERS_STORE } from '@/store/constants'\n import { IPagination, TPaginationPayload } from '@/types/api'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'AdminUsers',\n components: {\n AdminUsersSelects,\n Pagination,\n UserPicture,\n },\n setup() {\n const store = useStore()\n const route = useRoute()\n const router = useRouter()\n\n const sort: string[] = ['asc', 'desc']\n const order_by: string[] = [\n 'admin',\n 'created_at',\n 'username',\n 'workouts_count',\n ]\n let query: TPaginationPayload = reactive(getQuery(route.query))\n\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const users: ComputedRef = computed(\n () => store.getters[USERS_STORE.GETTERS.USERS]\n )\n const pagination: ComputedRef = computed(\n () => store.getters[USERS_STORE.GETTERS.USERS_PAGINATION]\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n function loadUsers(queryParams: TPaginationPayload) {\n store.dispatch(USERS_STORE.ACTIONS.GET_USERS, queryParams)\n }\n function getPage(page: string | (string | null)[] | null): number {\n return page && typeof page === 'string' && +page > 0 ? +page : 1\n }\n function getPerPage(perPage: string | (string | null)[] | null): number {\n return perPage && typeof perPage === 'string' && +perPage > 0\n ? +perPage\n : 10\n }\n function getOrder(order: string | (string | null)[] | null): string {\n return order && typeof order === 'string' && sort.includes(order)\n ? order\n : 'asc'\n }\n function getOrderBy(order: string | (string | null)[] | null): string {\n return order && typeof order === 'string' && order_by.includes(order)\n ? order\n : 'created_at'\n }\n function getQuery(query: LocationQuery): TPaginationPayload {\n return {\n page: getPage(query.page),\n per_page: getPerPage(query.per_page),\n order: getOrder(query.order),\n order_by: getOrderBy(query.order_by),\n }\n }\n function updateUser(username: string, admin: boolean) {\n store.dispatch(USERS_STORE.ACTIONS.UPDATE_USER, {\n username,\n admin,\n })\n }\n function reloadUsers(queryParam: string, queryValue: string) {\n query[queryParam] = queryValue\n if (queryParam === 'per_page') {\n query.page = 1\n }\n router.push({ path: '/admin/users', query })\n }\n\n onBeforeMount(() => loadUsers(query))\n\n watch(\n () => route.query,\n (newQuery: LocationQuery) => {\n query.page = getPage(newQuery.page)\n query.per_page = getPerPage(newQuery.per_page)\n query.order = getOrder(newQuery.order)\n query.order_by = getOrderBy(newQuery.order_by)\n loadUsers(query)\n }\n )\n\n onUnmounted(() => {\n store.dispatch(USERS_STORE.ACTIONS.EMPTY_USERS)\n })\n\n return {\n authUser,\n errorMessages,\n pagination,\n order_by,\n query,\n sort,\n users,\n capitalize,\n reloadUsers,\n updateUser,\n }\n },\n })\n","import { render } from \"./AdminUsers.vue?vue&type=template&id=2f9e0e4c&scoped=true\"\nimport script from \"./AdminUsers.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminUsers.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminUsers.vue?vue&type=style&index=0&id=2f9e0e4c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-2f9e0e4c\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'UserProfileTabs',\n props: {\n tabs: {\n type: Object as PropType,\n required: true,\n },\n selectedTab: {\n type: String,\n required: true,\n },\n edition: {\n type: Boolean,\n required: true,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n function getPath(tab: string) {\n switch (tab) {\n case 'PICTURE':\n return '/profile/edit/picture'\n case 'PREFERENCES':\n return `/profile${props.edition ? '/edit' : ''}/preferences`\n default:\n case 'PROFILE':\n return `/profile${props.edition ? '/edit' : ''}`\n }\n }\n return { getPath }\n },\n })\n","import { render } from \"./UserProfileTabs.vue?vue&type=template&id=c7276c08\"\nimport script from \"./UserProfileTabs.vue?vue&type=script&lang=ts\"\nexport * from \"./UserProfileTabs.vue?vue&type=script&lang=ts\"\n\nimport \"./UserProfileTabs.vue?vue&type=style&index=0&id=c7276c08&lang=scss\"\nscript.render = render\n\nexport default script","\n import { PropType, defineComponent } from 'vue'\n\n import UserHeader from '@/components/User/ProfileDisplay/UserHeader.vue'\n import UserProfileTabs from '@/components/User/UserProfileTabs.vue'\n import { IUserProfile } from '@/types/user'\n\n export default defineComponent({\n name: 'ProfileDisplay',\n components: {\n UserHeader,\n UserProfileTabs,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n tab: {\n type: String,\n required: true,\n },\n },\n setup() {\n return {\n tabs: ['PROFILE', 'PREFERENCES'],\n }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=c81580c0&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=c81580c0&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-c81580c0\"\n\nexport default script","\n\n\n\n\n","\n import { PropType, computed, defineComponent } from 'vue'\n\n import { IUserProfile } from '@/types/user'\n import { languageLabels } from '@/utils/locales'\n\n export default defineComponent({\n name: 'UserPreferences',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const language = computed(() =>\n props.user.language\n ? languageLabels[props.user.language]\n : languageLabels['en']\n )\n const fistDayOfWeek = computed(() =>\n props.user.weekm ? 'MONDAY' : 'SUNDAY'\n )\n const timezone = computed(() =>\n props.user.timezone ? props.user.timezone : 'Europe/Paris'\n )\n return { fistDayOfWeek, language, timezone }\n },\n })\n","import { render } from \"./UserPreferences.vue?vue&type=template&id=39667dbe&scoped=true\"\nimport script from \"./UserPreferences.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPreferences.vue?vue&type=script&lang=ts\"\n\nimport \"./UserPreferences.vue?vue&type=style&index=0&id=39667dbe&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-39667dbe\"\n\nexport default script","\n\n\n","\n import { computed, defineComponent, PropType } from 'vue'\n\n import UserProfileTabs from '@/components/User/UserProfileTabs.vue'\n import { USER_STORE } from '@/store/constants'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'ProfileEdition',\n components: {\n UserProfileTabs,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n tab: {\n type: String,\n required: true,\n },\n },\n setup() {\n const store = useStore()\n return {\n loading: computed(() => store.getters[USER_STORE.GETTERS.USER_LOADING]),\n tabs: ['PROFILE', 'PICTURE', 'PREFERENCES'],\n }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=035b0eba\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import { format } from 'date-fns'\n import {\n ComputedRef,\n PropType,\n Ref,\n computed,\n defineComponent,\n reactive,\n ref,\n onMounted,\n } from 'vue'\n\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { IUserProfile, IUserPayload } from '@/types/user'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'UserInfosEdition',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const store = useStore()\n const userForm: IUserPayload = reactive({\n password: '',\n password_conf: '',\n first_name: '',\n last_name: '',\n birth_date: '',\n location: '',\n bio: '',\n })\n const registrationDate = computed(() =>\n props.user.created_at\n ? format(new Date(props.user.created_at), 'dd/MM/yyyy HH:mm')\n : ''\n )\n const loading = computed(\n () => store.getters[USER_STORE.GETTERS.USER_LOADING]\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n let displayModal: Ref = ref(false)\n\n onMounted(() => {\n if (props.user) {\n updateUserForm(props.user)\n }\n })\n\n function updateUserForm(user: IUserProfile) {\n userForm.first_name = user.first_name ? user.first_name : ''\n userForm.last_name = user.last_name ? user.last_name : ''\n userForm.birth_date = user.birth_date\n ? format(new Date(user.birth_date), 'yyyy-MM-dd')\n : ''\n userForm.location = user.location ? user.location : ''\n userForm.bio = user.bio ? user.bio : ''\n }\n function updateBio(value: string) {\n userForm.bio = value\n }\n function updateProfile() {\n store.dispatch(USER_STORE.ACTIONS.UPDATE_USER_PROFILE, userForm)\n }\n function updateDisplayModal(value: boolean) {\n displayModal.value = value\n }\n function deleteAccount(username: string) {\n store.dispatch(USER_STORE.ACTIONS.DELETE_ACCOUNT, { username })\n }\n\n return {\n displayModal,\n errorMessages,\n loading,\n registrationDate,\n userForm,\n deleteAccount,\n updateBio,\n updateDisplayModal,\n updateProfile,\n }\n },\n })\n","import { render } from \"./UserInfosEdition.vue?vue&type=template&id=a2dfdb58\"\nimport script from \"./UserInfosEdition.vue?vue&type=script&lang=ts\"\nexport * from \"./UserInfosEdition.vue?vue&type=script&lang=ts\"\n\nimport \"./UserInfosEdition.vue?vue&type=style&index=0&id=a2dfdb58&lang=scss\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import {\n ComputedRef,\n PropType,\n Ref,\n defineComponent,\n computed,\n ref,\n } from 'vue'\n\n import UserPicture from '@/components/User/UserPicture.vue'\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { TAppConfig } from '@/types/application'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { getReadableFileSize } from '@/utils/files'\n\n export default defineComponent({\n name: 'UserPictureEdition',\n components: {\n UserPicture,\n },\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup() {\n const store = useStore()\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n const appConfig: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n )\n const fileSizeLimit = appConfig.value.max_single_file_size\n ? getReadableFileSize(appConfig.value.max_single_file_size)\n : ''\n let pictureFile: Ref = ref(null)\n\n function deleteUserPicture() {\n store.dispatch(USER_STORE.ACTIONS.DELETE_PICTURE)\n }\n function updatePictureFile(event: Event & { target: HTMLInputElement }) {\n if (event.target.files) {\n pictureFile.value = event.target.files[0]\n }\n }\n function updateUserPicture() {\n if (pictureFile.value) {\n store.dispatch(USER_STORE.ACTIONS.UPDATE_USER_PICTURE, {\n picture: pictureFile.value,\n })\n }\n }\n\n return {\n errorMessages,\n fileSizeLimit,\n pictureFile,\n deleteUserPicture,\n updateUserPicture,\n updatePictureFile,\n }\n },\n })\n","import { render } from \"./UserPictureEdition.vue?vue&type=template&id=500d4a7a&scoped=true\"\nimport script from \"./UserPictureEdition.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPictureEdition.vue?vue&type=script&lang=ts\"\n\nimport \"./UserPictureEdition.vue?vue&type=style&index=0&id=500d4a7a&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-500d4a7a\"\n\nexport default script","\n\n\n","\n import {\n ComputedRef,\n PropType,\n computed,\n defineComponent,\n reactive,\n onMounted,\n } from 'vue'\n\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { IUserProfile, IUserPreferencesPayload } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { availableLanguages } from '@/utils/locales'\n\n export default defineComponent({\n name: 'UserPreferencesEdition',\n props: {\n user: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const store = useStore()\n const userForm: IUserPreferencesPayload = reactive({\n language: '',\n timezone: 'Europe/Paris',\n weekm: false,\n })\n const weekStart = [\n {\n label: 'MONDAY',\n value: true,\n },\n {\n label: 'SUNDAY',\n value: false,\n },\n ]\n const loading = computed(\n () => store.getters[USER_STORE.GETTERS.USER_LOADING]\n )\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n\n onMounted(() => {\n if (props.user) {\n updateUserForm(props.user)\n }\n })\n\n function updateUserForm(user: IUserProfile) {\n userForm.language = user.language ? user.language : 'en'\n userForm.timezone = user.timezone ? user.timezone : 'Europe/Paris'\n userForm.weekm = user.weekm ? user.weekm : false\n }\n function updateProfile() {\n store.dispatch(USER_STORE.ACTIONS.UPDATE_USER_PREFERENCES, userForm)\n }\n\n return {\n availableLanguages,\n errorMessages,\n loading,\n userForm,\n weekStart,\n updateProfile,\n }\n },\n })\n","import { render } from \"./UserPreferencesEdition.vue?vue&type=template&id=18513603\"\nimport script from \"./UserPreferencesEdition.vue?vue&type=script&lang=ts\"\nexport * from \"./UserPreferencesEdition.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","import axios from 'axios'\n\nimport store from '@/store'\nimport { USER_STORE } from '@/store/constants'\nimport { getApiUrl } from '@/utils'\n\nconst authApi = axios.create({\n baseURL: getApiUrl(),\n})\n\nauthApi.interceptors.request.use(\n (config) => {\n const authToken = store.getters[USER_STORE.GETTERS.AUTH_TOKEN]\n if (authToken) {\n const auth = `Bearer ${authToken}`\n if (config.headers.Authorization !== auth) {\n config.headers.Authorization = `Bearer ${authToken}`\n }\n }\n return config\n },\n (error) => Promise.reject(error)\n)\n\nexport default authApi\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport router from '@/router'\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootActions, IRootState } from '@/store/modules/root/types'\nimport { TAppConfigForm } from '@/types/application'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree & IRootActions = {\n [ROOT_STORE.ACTIONS.GET_APPLICATION_CONFIG](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_LOADING, true)\n authApi\n .get('config')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_CONFIG,\n res.data.data\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_LOADING, false)\n )\n },\n [ROOT_STORE.ACTIONS.GET_APPLICATION_STATS](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('stats/all')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_STATS,\n res.data.data\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [ROOT_STORE.ACTIONS.UPDATE_APPLICATION_CONFIG](\n context: ActionContext,\n payload: TAppConfigForm\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .patch('config', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_CONFIG,\n res.data.data\n )\n router.push('/admin/application')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootGetters, IRootState } from '@/store/modules/root/types'\n\nexport const getters: GetterTree & IRootGetters = {\n [ROOT_STORE.GETTERS.APP_CONFIG]: (state: IRootState) => {\n return state.application.config\n },\n [ROOT_STORE.GETTERS.APP_LOADING]: (state: IRootState) => {\n return state.appLoading\n },\n [ROOT_STORE.GETTERS.APP_STATS]: (state: IRootState) => {\n return state.application.statistics\n },\n [ROOT_STORE.GETTERS.ERROR_MESSAGES]: (state: IRootState) => {\n return state.errorMessages\n },\n [ROOT_STORE.GETTERS.LANGUAGE]: (state: IRootState) => {\n return state.language\n },\n [ROOT_STORE.GETTERS.LOCALE]: (state: IRootState) => {\n return state.locale\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootState, TRootMutations } from '@/store/modules/root/types'\nimport { TAppConfig, IAppStatistics } from '@/types/application'\nimport { localeFromLanguage } from '@/utils/locales'\n\nexport const mutations: MutationTree & TRootMutations = {\n [ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES](state: IRootState) {\n state.errorMessages = null\n },\n [ROOT_STORE.MUTATIONS.SET_ERROR_MESSAGES](\n state: IRootState,\n errorMessages: string\n ) {\n state.errorMessages = errorMessages\n },\n [ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_CONFIG](\n state: IRootState,\n config: TAppConfig\n ) {\n state.application.config = config\n },\n [ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_LOADING](\n state: IRootState,\n loading: boolean\n ) {\n state.appLoading = loading\n },\n [ROOT_STORE.MUTATIONS.UPDATE_APPLICATION_STATS](\n state: IRootState,\n statistics: IAppStatistics\n ) {\n state.application.statistics = statistics\n },\n [ROOT_STORE.MUTATIONS.UPDATE_LANG](state: IRootState, language: string) {\n state.language = language\n state.locale = localeFromLanguage[language]\n },\n}\n","import { enUS } from 'date-fns/locale'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { IApplication } from '@/types/application'\n\nexport const state: IRootState = {\n root: true,\n language: 'en',\n locale: enUS,\n errorMessages: null,\n application: {},\n appLoading: false,\n}\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport { ROOT_STORE, SPORTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { ISportsActions, ISportsState } from '@/store/modules/sports/types'\nimport { ISportPayload } from '@/types/sports'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree & ISportsActions = {\n [SPORTS_STORE.ACTIONS.GET_SPORTS](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('sports')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n SPORTS_STORE.MUTATIONS.SET_SPORTS,\n res.data.data.sports\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [SPORTS_STORE.ACTIONS.UPDATE_SPORTS](\n context: ActionContext,\n payload: ISportPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .patch(`sports/${payload.id}`, { is_active: payload.isActive })\n .then((res) => {\n if (res.data.status === 'success') {\n context.dispatch(SPORTS_STORE.ACTIONS.GET_SPORTS)\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { SPORTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { ISportsGetters, ISportsState } from '@/store/modules/sports/types'\n\nexport const getters: GetterTree & ISportsGetters = {\n [SPORTS_STORE.GETTERS.SPORTS]: (state: ISportsState) => state.sports,\n}\n","import { MutationTree } from 'vuex'\n\nimport { SPORTS_STORE } from '@/store/constants'\nimport { ISportsState, TSportsMutations } from '@/store/modules/sports/types'\nimport { ISport } from '@/types/sports'\n\nexport const mutations: MutationTree & TSportsMutations = {\n [SPORTS_STORE.MUTATIONS.SET_SPORTS](state: ISportsState, sports: ISport[]) {\n state.sports = sports\n },\n}\n","import { ISportsState } from '@/store/modules/sports/types'\n\nexport const sportsState: ISportsState = {\n sports: [],\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/sports/actions'\nimport { getters } from '@/store/modules/sports/getters'\nimport { mutations } from '@/store/modules/sports/mutations'\nimport { sportsState } from '@/store/modules/sports/state'\nimport { ISportsState } from '@/store/modules/sports/types'\n\nconst sports: Module = {\n state: sportsState,\n actions,\n getters,\n mutations,\n}\n\nexport default sports\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport { STATS_STORE, ROOT_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IStatisticsActions,\n IStatisticsState,\n} from '@/store/modules/statistics/types'\nimport { IUserStatisticsPayload } from '@/types/statistics'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree &\n IStatisticsActions = {\n [STATS_STORE.ACTIONS.GET_USER_STATS](\n context: ActionContext,\n payload: IUserStatisticsPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get(`stats/${payload.username}/${payload.filterType}`, {\n params: payload.params,\n })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n STATS_STORE.MUTATIONS.UPDATE_USER_STATS,\n res.data.data.statistics\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { STATS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IStatisticsGetters,\n IStatisticsState,\n} from '@/store/modules/statistics/types'\n\nexport const getters: GetterTree &\n IStatisticsGetters = {\n [STATS_STORE.GETTERS.USER_STATS]: (state: IStatisticsState) => {\n return state.statistics\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { STATS_STORE } from '@/store/constants'\nimport {\n IStatisticsState,\n TStatisticsMutations,\n} from '@/store/modules/statistics/types'\nimport { TStatisticsFromApi } from '@/types/statistics'\n\nexport const mutations: MutationTree & TStatisticsMutations =\n {\n [STATS_STORE.MUTATIONS.UPDATE_USER_STATS](\n state: IStatisticsState,\n statistics: TStatisticsFromApi\n ) {\n state.statistics = statistics\n },\n [STATS_STORE.MUTATIONS.EMPTY_USER_STATS](state: IStatisticsState) {\n state.statistics = {}\n },\n }\n","import { IStatisticsState } from '@/store/modules/statistics/types'\nimport { TStatisticsFromApi } from '@/types/statistics'\n\nexport const statisticsState: IStatisticsState = {\n statistics: {},\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/statistics/actions'\nimport { getters } from '@/store/modules/statistics/getters'\nimport { mutations } from '@/store/modules/statistics/mutations'\nimport { statisticsState } from '@/store/modules/statistics/state'\nimport { IStatisticsState } from '@/store/modules/statistics/types'\n\nconst statistics: Module = {\n state: statisticsState,\n actions,\n getters,\n mutations,\n}\n\nexport default statistics\n","import axios from 'axios'\n\nimport { getApiUrl } from '@/utils'\n\nconst api = axios.create({\n baseURL: getApiUrl(),\n})\n\nexport default api\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport api from '@/api/defaultApi'\nimport createI18n from '@/i18n'\nimport router from '@/router'\nimport {\n ROOT_STORE,\n SPORTS_STORE,\n STATS_STORE,\n USER_STORE,\n WORKOUTS_STORE,\n} from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUserActions, IUserState } from '@/store/modules/user/types'\nimport {\n ILoginOrRegisterData,\n IUserDeletionPayload,\n IUserPasswordPayload,\n IUserPasswordResetPayload,\n IUserPayload,\n IUserPicturePayload,\n IUserPreferencesPayload,\n} from '@/types/user'\nimport { handleError } from '@/utils'\n\nconst { locale } = createI18n.global\n\nexport const actions: ActionTree & IUserActions = {\n [USER_STORE.ACTIONS.CHECK_AUTH_USER](\n context: ActionContext\n ): void {\n if (\n window.localStorage.authToken &&\n !context.getters[USER_STORE.GETTERS.IS_AUTHENTICATED]\n ) {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_TOKEN,\n window.localStorage.authToken\n )\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n }\n },\n [USER_STORE.ACTIONS.GET_USER_PROFILE](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('auth/profile')\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE,\n res.data.data\n )\n if (res.data.data.language) {\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_LANG,\n res.data.data.language\n )\n locale.value = res.data.data.language\n }\n context.dispatch(SPORTS_STORE.ACTIONS.GET_SPORTS)\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.LOGIN_OR_REGISTER](\n context: ActionContext,\n data: ILoginOrRegisterData\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n api\n .post(`/auth/${data.actionType}`, data.formData)\n .then((res) => {\n if (res.data.status === 'success') {\n const token = res.data.auth_token\n window.localStorage.setItem('authToken', token)\n context.commit(USER_STORE.MUTATIONS.UPDATE_AUTH_TOKEN, token)\n context\n .dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n .then(() => router.push('/'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.LOGOUT](\n context: ActionContext\n ): void {\n localStorage.removeItem('authToken')\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(STATS_STORE.MUTATIONS.EMPTY_USER_STATS)\n context.commit(USER_STORE.MUTATIONS.CLEAR_AUTH_USER_TOKEN)\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUTS)\n router.push('/login')\n },\n [USER_STORE.ACTIONS.UPDATE_USER_PROFILE](\n context: ActionContext,\n payload: IUserPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n authApi\n .post('auth/profile/edit', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE,\n res.data.data\n )\n router.push('/profile')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.UPDATE_USER_PREFERENCES](\n context: ActionContext,\n payload: IUserPreferencesPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n authApi\n .post('auth/profile/edit/preferences', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE,\n res.data.data\n )\n context.commit(\n ROOT_STORE.MUTATIONS.UPDATE_LANG,\n res.data.data.language\n )\n locale.value = res.data.data.language\n router.push('/profile/preferences')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.UPDATE_USER_PICTURE](\n context: ActionContext,\n payload: IUserPicturePayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n if (!payload.picture) {\n throw new Error('No file part')\n }\n const form = new FormData()\n form.append('file', payload.picture)\n authApi\n .post('auth/picture', form, {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n })\n .then((res) => {\n if (res.data.status === 'success') {\n context\n .dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n .then(() => router.push('/profile'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.DELETE_ACCOUNT](\n context: ActionContext,\n payload: IUserDeletionPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .delete(`users/${payload.username}`)\n .then((res) => {\n if (res.status === 204) {\n context\n .dispatch(USER_STORE.ACTIONS.LOGOUT)\n .then(() => router.push('/'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.DELETE_PICTURE](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, true)\n authApi\n .delete(`auth/picture`)\n .then((res) => {\n if (res.status === 204) {\n context\n .dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n .then(() => router.push('/profile'))\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USER_STORE.MUTATIONS.UPDATE_USER_LOADING, false)\n )\n },\n [USER_STORE.ACTIONS.SEND_PASSWORD_RESET_REQUEST](\n context: ActionContext,\n payload: IUserPasswordPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n api\n .post('auth/password/reset-request', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n router.push('/password-reset/sent')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n [USER_STORE.ACTIONS.RESET_USER_PASSWORD](\n context: ActionContext,\n payload: IUserPasswordResetPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n api\n .post('auth/password/update', payload)\n .then((res) => {\n if (res.data.status === 'success') {\n router.push('/password-reset/password-updated')\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { USER_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUserGetters, IUserState } from '@/store/modules/user/types'\n\nexport const getters: GetterTree & IUserGetters = {\n [USER_STORE.GETTERS.AUTH_TOKEN]: (state: IUserState) => {\n return state.authToken\n },\n [USER_STORE.GETTERS.AUTH_USER_PROFILE]: (state: IUserState) => {\n return state.authUserProfile\n },\n [USER_STORE.GETTERS.IS_AUTHENTICATED]: (state: IUserState) => {\n return state.authToken !== null\n },\n [USER_STORE.GETTERS.IS_ADMIN]: (state: IUserState) => {\n return state.authUserProfile && state.authUserProfile.admin\n },\n [USER_STORE.GETTERS.USER_LOADING]: (state: IUserState) => {\n return state.loading\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { USER_STORE } from '@/store/constants'\nimport { IUserState, TUserMutations } from '@/store/modules/user/types'\nimport { IUserProfile } from '@/types/user'\n\nexport const mutations: MutationTree & TUserMutations = {\n [USER_STORE.MUTATIONS.CLEAR_AUTH_USER_TOKEN](state: IUserState) {\n state.authToken = null\n state.authUserProfile = {}\n },\n [USER_STORE.MUTATIONS.UPDATE_AUTH_TOKEN](\n state: IUserState,\n authToken: string\n ) {\n state.authToken = authToken\n },\n [USER_STORE.MUTATIONS.UPDATE_AUTH_USER_PROFILE](\n state: IUserState,\n authUserProfile: IUserProfile\n ) {\n state.authUserProfile = authUserProfile\n },\n [USER_STORE.MUTATIONS.UPDATE_USER_LOADING](\n state: IUserState,\n loading: boolean\n ) {\n state.loading = loading\n },\n}\n","import { IUserState } from '@/store/modules/user/types'\nimport { IUserProfile } from '@/types/user'\n\nexport const userState: IUserState = {\n authToken: null,\n authUserProfile: {},\n loading: false,\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/user/actions'\nimport { getters } from '@/store/modules/user/getters'\nimport { mutations } from '@/store/modules/user/mutations'\nimport { userState } from '@/store/modules/user/state.ts'\nimport { IUserState } from '@/store/modules/user/types'\n\nconst user: Module = {\n state: userState,\n actions,\n getters,\n mutations,\n}\n\nexport default user\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport { ROOT_STORE, USERS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUsersActions, IUsersState } from '@/store/modules/users/types'\nimport { TPaginationPayload } from '@/types/api'\nimport { IAdminUserPayload } from '@/types/user'\nimport { handleError } from '@/utils'\n\nexport const actions: ActionTree & IUsersActions = {\n [USERS_STORE.ACTIONS.EMPTY_USER](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USER, {})\n },\n [USERS_STORE.ACTIONS.EMPTY_USERS](\n context: ActionContext\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS, [])\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_PAGINATION, {})\n },\n [USERS_STORE.ACTIONS.GET_USER](\n context: ActionContext,\n username: string\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, true)\n authApi\n .get(`users/${username}`)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USER,\n res.data.data.users[0]\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, false)\n )\n },\n [USERS_STORE.ACTIONS.GET_USERS](\n context: ActionContext,\n payload: TPaginationPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, true)\n authApi\n .get('users', { params: payload })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USERS,\n res.data.data.users\n )\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USERS_PAGINATION,\n res.data.pagination\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, false)\n )\n },\n [USERS_STORE.ACTIONS.UPDATE_USER](\n context: ActionContext,\n payload: IAdminUserPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .patch(`users/${payload.username}`, { admin: payload.admin })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n USERS_STORE.MUTATIONS.UPDATE_USER_IN_USERS,\n res.data.data.users[0]\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n .finally(() =>\n context.commit(USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING, false)\n )\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { USERS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { IUsersGetters, IUsersState } from '@/store/modules/users/types'\n\nexport const getters: GetterTree & IUsersGetters = {\n [USERS_STORE.GETTERS.USER]: (state: IUsersState) => {\n return state.user\n },\n [USERS_STORE.GETTERS.USERS]: (state: IUsersState) => {\n return state.users\n },\n [USERS_STORE.GETTERS.USERS_LOADING]: (state: IUsersState) => {\n return state.loading\n },\n [USERS_STORE.GETTERS.USERS_PAGINATION]: (state: IUsersState) => {\n return state.pagination\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { USERS_STORE } from '@/store/constants'\nimport { IUsersState, TUsersMutations } from '@/store/modules/users/types'\nimport { IPagination } from '@/types/api'\nimport { IUserProfile } from '@/types/user'\n\nexport const mutations: MutationTree & TUsersMutations = {\n [USERS_STORE.MUTATIONS.UPDATE_USER](state: IUsersState, user: IUserProfile) {\n state.user = user\n },\n [USERS_STORE.MUTATIONS.UPDATE_USER_IN_USERS](\n state: IUsersState,\n updatedUser: IUserProfile\n ) {\n state.users = state.users.map((user) => {\n if (user.username === updatedUser.username) {\n return updatedUser\n }\n return user\n })\n },\n [USERS_STORE.MUTATIONS.UPDATE_USERS](\n state: IUsersState,\n users: IUserProfile[]\n ) {\n state.users = users\n },\n [USERS_STORE.MUTATIONS.UPDATE_USERS_LOADING](\n state: IUsersState,\n loading: boolean\n ) {\n state.loading = loading\n },\n [USERS_STORE.MUTATIONS.UPDATE_USERS_PAGINATION](\n state: IUsersState,\n pagination: IPagination\n ) {\n state.pagination = pagination\n },\n}\n","import { IUsersState } from '@/store/modules/users/types'\nimport { IPagination } from '@/types/api'\nimport { IUserProfile } from '@/types/user'\n\nexport const usersState: IUsersState = {\n user: {},\n users: [],\n loading: false,\n pagination: {},\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/users/actions'\nimport { getters } from '@/store/modules/users/getters'\nimport { mutations } from '@/store/modules/users/mutations'\nimport { usersState } from '@/store/modules/users/state'\nimport { IUsersState } from '@/store/modules/users/types'\n\nconst users: Module = {\n state: usersState,\n actions,\n getters,\n mutations,\n}\n\nexport default users\n","import { ActionContext, ActionTree } from 'vuex'\n\nimport authApi from '@/api/authApi'\nimport router from '@/router'\nimport { ROOT_STORE, USER_STORE, WORKOUTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IWorkoutsActions,\n IWorkoutsState,\n} from '@/store/modules/workouts/types'\nimport {\n IWorkout,\n IWorkoutForm,\n IWorkoutPayload,\n IWorkoutsPayload,\n} from '@/types/workouts'\nimport { handleError } from '@/utils'\n\nconst getWorkouts = (\n context: ActionContext,\n payload: IWorkoutsPayload,\n target: string,\n append = false\n): void => {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n authApi\n .get('workouts', {\n params: payload,\n })\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n target === 'CALENDAR_WORKOUTS'\n ? WORKOUTS_STORE.MUTATIONS.SET_CALENDAR_WORKOUTS\n : append\n ? WORKOUTS_STORE.MUTATIONS.ADD_USER_WORKOUTS\n : WORKOUTS_STORE.MUTATIONS.SET_USER_WORKOUTS,\n res.data.data.workouts\n )\n } else {\n handleError(context, null)\n }\n })\n .catch((error) => handleError(context, error))\n}\n\nexport const actions: ActionTree &\n IWorkoutsActions = {\n [WORKOUTS_STORE.ACTIONS.GET_CALENDAR_WORKOUTS](\n context: ActionContext,\n payload: IWorkoutsPayload\n ): void {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_CALENDAR_WORKOUTS)\n getWorkouts(context, payload, 'CALENDAR_WORKOUTS')\n },\n [WORKOUTS_STORE.ACTIONS.GET_USER_WORKOUTS](\n context: ActionContext,\n payload: IWorkoutsPayload\n ): void {\n getWorkouts(context, payload, 'USER_WORKOUTS')\n },\n [WORKOUTS_STORE.ACTIONS.GET_MORE_USER_WORKOUTS](\n context: ActionContext,\n payload: IWorkoutsPayload\n ): void {\n getWorkouts(context, payload, 'USER_WORKOUTS', true)\n },\n [WORKOUTS_STORE.ACTIONS.GET_WORKOUT_DATA](\n context: ActionContext,\n payload: IWorkoutPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n const segmentUrl = payload.segmentId ? `/segment/${payload.segmentId}` : ''\n authApi\n .get(`workouts/${payload.workoutId}`)\n .then((res) => {\n const workout: IWorkout = res.data.data.workouts[0]\n if (res.data.status === 'success') {\n if (\n payload.segmentId &&\n (workout.segments.length === 0 ||\n !workout.segments[+payload.segmentId - 1])\n ) {\n throw new Error('WORKOUT_NOT_FOUND')\n }\n context.commit(\n WORKOUTS_STORE.MUTATIONS.SET_WORKOUT,\n res.data.data.workouts[0]\n )\n if (res.data.data.workouts[0].with_gpx) {\n authApi\n .get(`workouts/${payload.workoutId}/chart_data${segmentUrl}`)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_CHART_DATA,\n res.data.data.chart_data\n )\n }\n })\n authApi\n .get(`workouts/${payload.workoutId}/gpx${segmentUrl}`)\n .then((res) => {\n if (res.data.status === 'success') {\n context.commit(\n WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_GPX,\n res.data.data.gpx\n )\n }\n })\n }\n } else {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT)\n handleError(context, null)\n }\n })\n .catch((error) => {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT)\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.DELETE_WORKOUT](\n context: ActionContext,\n payload: IWorkoutPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n authApi\n .delete(`workouts/${payload.workoutId}`)\n .then(() => {\n context.commit(WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT)\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n router.push('/')\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.EDIT_WORKOUT](\n context: ActionContext,\n payload: IWorkoutPayload\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n authApi\n .patch(`workouts/${payload.workoutId}`, payload.data)\n .then(() => {\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n context\n .dispatch(WORKOUTS_STORE.ACTIONS.GET_WORKOUT_DATA, {\n workoutId: payload.workoutId,\n })\n .then(() => {\n router.push({\n name: 'Workout',\n params: { workoutId: payload.workoutId },\n })\n })\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.ADD_WORKOUT](\n context: ActionContext,\n payload: IWorkoutForm\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n if (!payload.file) {\n throw new Error('No file part')\n }\n const form = new FormData()\n form.append('file', payload.file)\n form.append(\n 'data',\n `{\"sport_id\": ${payload.sport_id}, \"notes\": \"${payload.notes}\"}`\n )\n authApi\n .post('workouts', form, {\n headers: {\n 'content-type': 'multipart/form-data',\n },\n })\n .then((res) => {\n if (res.data.status === 'created') {\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n const workout: IWorkout = res.data.data.workouts[0]\n router.push(\n res.data.data.workouts.length === 1\n ? `/workouts/${workout.id}`\n : '/'\n )\n }\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n [WORKOUTS_STORE.ACTIONS.ADD_WORKOUT_WITHOUT_GPX](\n context: ActionContext,\n payload: IWorkoutForm\n ): void {\n context.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES)\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, true)\n authApi\n .post('workouts/no_gpx', payload)\n .then((res) => {\n if (res.data.status === 'created') {\n context.dispatch(USER_STORE.ACTIONS.GET_USER_PROFILE)\n const workout: IWorkout = res.data.data.workouts[0]\n router.push(`/workouts/${workout.id}`)\n }\n })\n .catch((error) => {\n handleError(context, error)\n })\n .finally(() =>\n context.commit(WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING, false)\n )\n },\n}\n","import { GetterTree } from 'vuex'\n\nimport { WORKOUTS_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport {\n IWorkoutsGetters,\n IWorkoutsState,\n} from '@/store/modules/workouts/types'\n\nexport const getters: GetterTree &\n IWorkoutsGetters = {\n [WORKOUTS_STORE.GETTERS.CALENDAR_WORKOUTS]: (state: IWorkoutsState) => {\n return state.calendar_workouts\n },\n [WORKOUTS_STORE.GETTERS.USER_WORKOUTS]: (state: IWorkoutsState) => {\n return state.user_workouts\n },\n [WORKOUTS_STORE.GETTERS.WORKOUT_DATA]: (state: IWorkoutsState) => {\n return state.workoutData\n },\n}\n","import { MutationTree } from 'vuex'\n\nimport { WORKOUTS_STORE } from '@/store/constants'\nimport {\n IWorkoutsState,\n TWorkoutsMutations,\n} from '@/store/modules/workouts/types'\nimport { IWorkout, IWorkoutApiChartData } from '@/types/workouts'\n\nexport const mutations: MutationTree & TWorkoutsMutations = {\n [WORKOUTS_STORE.MUTATIONS.ADD_USER_WORKOUTS](\n state: IWorkoutsState,\n workouts: IWorkout[]\n ) {\n state.user_workouts = state.user_workouts.concat(workouts)\n },\n [WORKOUTS_STORE.MUTATIONS.SET_CALENDAR_WORKOUTS](\n state: IWorkoutsState,\n workouts: IWorkout[]\n ) {\n state.calendar_workouts = workouts\n },\n [WORKOUTS_STORE.MUTATIONS.SET_USER_WORKOUTS](\n state: IWorkoutsState,\n workouts: IWorkout[]\n ) {\n state.user_workouts = workouts\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT](\n state: IWorkoutsState,\n workout: IWorkout\n ) {\n state.workoutData.workout = workout\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_CHART_DATA](\n state: IWorkoutsState,\n chartData: IWorkoutApiChartData[]\n ) {\n state.workoutData.chartData = chartData\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_GPX](\n state: IWorkoutsState,\n gpx: string\n ) {\n state.workoutData.gpx = gpx\n },\n [WORKOUTS_STORE.MUTATIONS.SET_WORKOUT_LOADING](\n state: IWorkoutsState,\n loading: boolean\n ) {\n state.workoutData.loading = loading\n },\n [WORKOUTS_STORE.MUTATIONS.EMPTY_CALENDAR_WORKOUTS](state: IWorkoutsState) {\n state.calendar_workouts = []\n },\n [WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUTS](state: IWorkoutsState) {\n state.calendar_workouts = []\n state.user_workouts = []\n },\n [WORKOUTS_STORE.MUTATIONS.EMPTY_WORKOUT](state: IWorkoutsState) {\n state.workoutData = {\n gpx: '',\n loading: false,\n workout: {},\n chartData: [],\n }\n },\n}\n","import { IWorkoutsState } from '@/store/modules/workouts/types'\nimport { IWorkout } from '@/types/workouts'\n\nexport const workoutsState: IWorkoutsState = {\n calendar_workouts: [],\n user_workouts: [],\n workoutData: {\n gpx: '',\n loading: false,\n workout: {},\n chartData: [],\n },\n}\n","import { Module } from 'vuex'\n\nimport { IRootState } from '@/store/modules/root/types'\nimport { actions } from '@/store/modules/workouts/actions'\nimport { getters } from '@/store/modules/workouts/getters'\nimport { mutations } from '@/store/modules/workouts/mutations'\nimport { workoutsState } from '@/store/modules/workouts/state'\nimport { IWorkoutsState } from '@/store/modules/workouts/types'\n\nconst workouts: Module = {\n state: workoutsState,\n actions,\n getters,\n mutations,\n}\n\nexport default workouts\n","import { Module, ModuleTree } from 'vuex'\n\nimport { actions } from '@/store/modules/root/actions'\nimport { getters } from '@/store/modules/root/getters'\nimport { mutations } from '@/store/modules/root/mutations'\nimport { state } from '@/store/modules/root/state.ts'\nimport { IRootState } from '@/store/modules/root/types'\nimport sportsModule from '@/store/modules/sports'\nimport statsModule from '@/store/modules/statistics'\nimport userModule from '@/store/modules/user'\nimport usersModule from '@/store/modules/users'\nimport workoutsModule from '@/store/modules/workouts'\n\nconst modules: ModuleTree = {\n sportsModule,\n statsModule,\n userModule,\n usersModule,\n workoutsModule,\n}\n\nconst root: Module = {\n state,\n actions,\n getters,\n mutations,\n modules,\n}\n\nexport default root\n","import { createStore } from 'vuex'\n\nimport root from '@/store/modules/root'\nimport { IRootState } from '@/store/modules/root/types'\n\nconst store = createStore(root)\n\nexport default store\n","import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'\n\nimport AdminApplication from '@/components/Administration/AdminApplication.vue'\nimport AdminMenu from '@/components/Administration/AdminMenu.vue'\nimport AdminSports from '@/components/Administration/AdminSports.vue'\nimport AdminUsers from '@/components/Administration/AdminUsers.vue'\nimport Profile from '@/components/User/ProfileDisplay/index.vue'\nimport UserInfos from '@/components/User/ProfileDisplay/UserInfos.vue'\nimport UserPreferences from '@/components/User/ProfileDisplay/UserPreferences.vue'\nimport ProfileEdition from '@/components/User/ProfileEdition/index.vue'\nimport UserInfosEdition from '@/components/User/ProfileEdition/UserInfosEdition.vue'\nimport UserPictureEdition from '@/components/User/ProfileEdition/UserPictureEdition.vue'\nimport UserPreferencesEdition from '@/components/User/ProfileEdition/UserPreferencesEdition.vue'\nimport store from '@/store'\nimport { USER_STORE } from '@/store/constants'\n\nconst getTabFromPath = (path: string): string => {\n const regex = /(\\/profile)(\\/edit)*(\\/*)/\n const tag = path.replace(regex, '').toUpperCase()\n return tag === '' ? 'PROFILE' : tag.toUpperCase()\n}\n\nconst routes: Array = [\n {\n path: '/',\n name: 'Dashboard',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/DashBoard.vue'),\n },\n {\n path: '/login',\n name: 'Login',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/LoginOrRegister.vue'),\n props: { action: 'login' },\n },\n {\n path: '/register',\n name: 'Register',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/LoginOrRegister.vue'),\n props: { action: 'register' },\n },\n {\n path: '/password-reset/sent',\n name: 'PasswordEmailSent',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'request-sent' },\n },\n {\n path: '/password-reset/request',\n name: 'PasswordResetRequest',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'reset-request' },\n },\n {\n path: '/password-reset/password-updated',\n name: 'PasswordUpdated',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'password-updated' },\n },\n {\n path: '/password-reset',\n name: 'PasswordReset',\n component: () =>\n import(/* webpackChunkName: 'reset' */ '@/views/PasswordResetView.vue'),\n props: { action: 'reset' },\n },\n {\n path: '/profile',\n name: 'Profile',\n component: () =>\n import(/* webpackChunkName: 'profile' */ '@/views/ProfileView.vue'),\n children: [\n {\n path: '',\n name: 'UserProfile',\n component: Profile,\n props: (route) => ({\n tab: getTabFromPath(route.path),\n }),\n children: [\n {\n path: '',\n name: 'UserInfos',\n component: UserInfos,\n },\n {\n path: 'preferences',\n name: 'UserPreferences',\n component: UserPreferences,\n },\n ],\n },\n {\n path: 'edit',\n name: 'UserProfileEdition',\n component: ProfileEdition,\n props: (route) => ({\n tab: getTabFromPath(route.path),\n }),\n children: [\n {\n path: '',\n name: 'UserInfosEdition',\n component: UserInfosEdition,\n },\n {\n path: 'picture',\n name: 'UserPictureEdition',\n component: UserPictureEdition,\n },\n {\n path: 'preferences',\n name: 'UserPreferencesEdition',\n component: UserPreferencesEdition,\n },\n ],\n },\n ],\n },\n {\n path: '/statistics',\n name: 'Statistics',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/StatisticsView.vue'),\n },\n {\n path: '/users/:username',\n name: 'User',\n component: () =>\n import(/* webpackChunkName: 'profile' */ '@/views/UserView.vue'),\n },\n {\n path: '/workouts',\n name: 'Workouts',\n component: () =>\n import(\n /* webpackChunkName: 'workouts' */ '@/views/workouts/WorkoutsView.vue'\n ),\n },\n {\n path: '/workouts/:workoutId',\n name: 'Workout',\n component: () =>\n import(/* webpackChunkName: 'workouts' */ '@/views/workouts/Workout.vue'),\n props: { displaySegment: false },\n },\n {\n path: '/workouts/:workoutId/edit',\n name: 'EditWorkout',\n component: () =>\n import(\n /* webpackChunkName: 'workouts' */ '@/views/workouts/EditWorkout.vue'\n ),\n },\n {\n path: '/workouts/:workoutId/segment/:segmentId',\n name: 'WorkoutSegment',\n component: () =>\n import(/* webpackChunkName: 'workouts' */ '@/views/workouts/Workout.vue'),\n props: { displaySegment: true },\n },\n {\n path: '/workouts/add',\n name: 'AddWorkout',\n component: () =>\n import(\n /* webpackChunkName: 'workouts' */ '@/views/workouts/AddWorkout.vue'\n ),\n },\n {\n path: '/admin',\n name: 'Administration',\n component: () =>\n import(/* webpackChunkName: 'admin' */ '@/views/AdminView.vue'),\n children: [\n {\n path: '',\n name: 'AdministrationMenu',\n component: AdminMenu,\n },\n {\n path: 'application',\n name: 'ApplicationAdministration',\n component: AdminApplication,\n },\n {\n path: 'application/edit',\n name: 'ApplicationAdministrationEdition',\n component: AdminApplication,\n props: { edition: true },\n },\n {\n path: 'sports',\n name: 'SportsAdministration',\n component: AdminSports,\n },\n {\n path: 'users',\n name: 'UsersAdministration',\n component: AdminUsers,\n },\n ],\n },\n {\n path: '/:pathMatch(.*)*',\n name: 'not-found',\n component: () =>\n import(/* webpackChunkName: 'main' */ '@/views/NotFoundView.vue'),\n },\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes,\n})\n\nconst pathsWithoutAuthentication = [\n '/login',\n '/password-reset',\n '/password-reset/password-updated',\n '/password-reset/request',\n '/password-reset/sent',\n '/register',\n]\n\nrouter.beforeEach((to, from, next) => {\n store\n .dispatch(USER_STORE.ACTIONS.CHECK_AUTH_USER)\n .then(() => {\n if (\n store.getters[USER_STORE.GETTERS.IS_AUTHENTICATED] &&\n pathsWithoutAuthentication.includes(to.path)\n ) {\n return next('/')\n } else if (\n !store.getters[USER_STORE.GETTERS.IS_AUTHENTICATED] &&\n !pathsWithoutAuthentication.includes(to.path)\n ) {\n const path =\n to.path === '/'\n ? { path: '/login' }\n : { path: '/login', query: { from: to.fullPath } }\n next(path)\n } else {\n next()\n }\n })\n .catch((error) => {\n console.error(error)\n next()\n })\n})\n\nexport default router\n","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'AlertMessage',\n props: {\n message: String,\n },\n })\n","import { render } from \"./AlertMessage.vue?vue&type=template&id=f5e8066a&scoped=true\"\nimport script from \"./AlertMessage.vue?vue&type=script&lang=ts\"\nexport * from \"./AlertMessage.vue?vue&type=script&lang=ts\"\n\nimport \"./AlertMessage.vue?vue&type=style&index=0&id=f5e8066a&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-f5e8066a\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent, ref, watch } from 'vue'\n\n export default defineComponent({\n name: 'CustomTextArea',\n props: {\n charLimit: {\n type: Number,\n default: 500,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n input: {\n type: String,\n default: '',\n },\n name: {\n type: String,\n required: true,\n },\n },\n emits: ['updateValue'],\n setup(props, { emit }) {\n let text = ref('')\n\n function updateText(event: Event & { target: HTMLInputElement }) {\n emit('updateValue', event.target.value)\n }\n\n watch(\n () => props.input,\n (value) => {\n text.value = value\n }\n )\n\n return { text, updateText }\n },\n })\n","import { render } from \"./CustomTextArea.vue?vue&type=template&id=ad3739fc&scoped=true\"\nimport script from \"./CustomTextArea.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomTextArea.vue?vue&type=script&lang=ts\"\n\nimport \"./CustomTextArea.vue?vue&type=style&index=0&id=ad3739fc&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-ad3739fc\"\n\nexport default script","\n\n\n\n\n","\n import { PropType, defineComponent, ref, watch } from 'vue'\n import { useRoute } from 'vue-router'\n\n import { IDropdownOption, TDropdownOptions } from '@/types/forms'\n\n export default defineComponent({\n name: 'Dropdown',\n props: {\n options: {\n type: Object as PropType,\n required: true,\n },\n selected: {\n type: String,\n required: true,\n },\n },\n emits: {\n selected: (option: IDropdownOption) => option,\n },\n setup(props, { emit }) {\n const route = useRoute()\n let isOpen = ref(false)\n let dropdownOptions = props.options.map((option) => option)\n\n function toggleDropdown() {\n isOpen.value = !isOpen.value\n }\n function updateSelected(option: IDropdownOption) {\n emit('selected', option)\n isOpen.value = false\n }\n\n watch(\n () => route.path,\n () => (isOpen.value = false)\n )\n\n return {\n dropdownOptions,\n isOpen,\n toggleDropdown,\n updateSelected,\n }\n },\n })\n","import { render } from \"./Dropdown.vue?vue&type=template&id=5ef2ddef&scoped=true\"\nimport script from \"./Dropdown.vue?vue&type=script&lang=ts\"\nexport * from \"./Dropdown.vue?vue&type=script&lang=ts\"\n\nimport \"./Dropdown.vue?vue&type=style&index=0&id=5ef2ddef&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-5ef2ddef\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'ErrorMessage',\n props: {\n message: [String, Array],\n },\n })\n","import { render } from \"./ErrorMessage.vue?vue&type=template&id=5c177a93&scoped=true\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts\"\n\nimport \"./ErrorMessage.vue?vue&type=style&index=0&id=5c177a93&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-5c177a93\"\n\nexport default script","\n\n\n","\n\n\n","import { render } from \"./CyclingSport.vue?vue&type=template&id=be8023a2\"\nimport script from \"./CyclingSport.vue?vue&type=script&lang=js\"\nexport * from \"./CyclingSport.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./CyclingTransport.vue?vue&type=template&id=97af5148\"\nimport script from \"./CyclingTransport.vue?vue&type=script&lang=js\"\nexport * from \"./CyclingTransport.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./Hiking.vue?vue&type=template&id=40903dc4\"\nimport script from \"./Hiking.vue?vue&type=script&lang=js\"\nexport * from \"./Hiking.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./MountainBiking.vue?vue&type=template&id=5bdbc6e8\"\nimport script from \"./MountainBiking.vue?vue&type=script&lang=js\"\nexport * from \"./MountainBiking.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./Running.vue?vue&type=template&id=4d47a4fe\"\nimport script from \"./Running.vue?vue&type=script&lang=js\"\nexport * from \"./Running.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n\n\n","import { render } from \"./Walking.vue?vue&type=template&id=2ed4f5f4\"\nimport script from \"./Walking.vue?vue&type=script&lang=js\"\nexport * from \"./Walking.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","\n import { defineComponent, inject } from 'vue'\n\n import CyclingSport from '@/components/Common/Images/SportImage/CyclingSport.vue'\n import CyclingTransport from '@/components/Common/Images/SportImage/CyclingTransport.vue'\n import Hiking from '@/components/Common/Images/SportImage/Hiking.vue'\n import MountainBiking from '@/components/Common/Images/SportImage/MountainBiking.vue'\n import Running from '@/components/Common/Images/SportImage/Running.vue'\n import Walking from '@/components/Common/Images/SportImage/Walking.vue'\n\n export default defineComponent({\n name: 'SportImage',\n components: {\n CyclingSport,\n CyclingTransport,\n Hiking,\n MountainBiking,\n Running,\n Walking,\n },\n props: {\n sportLabel: {\n type: String,\n required: true,\n },\n title: {\n type: String,\n required: false,\n },\n },\n setup() {\n return { sportColors: inject('sportColors') }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=834c586a\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\nscript.render = render\n\nexport default script","\n\n\n\n\n","\n import { defineComponent } from 'vue'\n export default defineComponent({\n name: 'Loader',\n })\n","import { render } from \"./Loader.vue?vue&type=template&id=8bf75da8&scoped=true\"\nimport script from \"./Loader.vue?vue&type=script&lang=ts\"\nexport * from \"./Loader.vue?vue&type=script&lang=ts\"\n\nimport \"./Loader.vue?vue&type=style&index=0&id=8bf75da8&scoped=true&lang=scss\"\nscript.render = render\nscript.__scopeId = \"data-v-8bf75da8\"\n\nexport default script","\n\n\n\n\n","\n import { ComputedRef, computed, defineComponent, onUnmounted } from 'vue'\n\n import { ROOT_STORE } from '@/store/constants'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'Modal',\n props: {\n title: {\n type: String,\n required: true,\n },\n message: {\n type: String,\n required: true,\n },\n strongMessage: {\n type: String || null,\n default: null,\n },\n },\n emits: ['cancelAction', 'confirmAction'],\n setup(props, { emit }) {\n const store = useStore()\n const errorMessages: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.ERROR_MESSAGES]\n )\n onUnmounted(() => store.commit(ROOT_STORE.MUTATIONS.EMPTY_ERROR_MESSAGES))\n return { errorMessages, emit }\n },\n })\n","import { render } from \"./Modal.vue?vue&type=template&id=21b6cb61&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=21b6cb61&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-21b6cb61\"\n\nexport default script","import AlertMessage from '@/components/Common/AlertMessage.vue'\nimport Card from '@/components/Common/Card.vue'\nimport CustomTextArea from '@/components/Common/CustomTextArea.vue'\nimport Dropdown from '@/components/Common/Dropdown.vue'\nimport ErrorMessage from '@/components/Common/ErrorMessage.vue'\nimport SportImage from '@/components/Common/Images/SportImage/index.vue'\nimport Loader from '@/components/Common/Loader.vue'\nimport Modal from '@/components/Common/Modal.vue'\n\nexport const customComponents = [\n AlertMessage,\n Card,\n CustomTextArea,\n Dropdown,\n ErrorMessage,\n Loader,\n Modal,\n SportImage,\n]\n","import { Directive, DirectiveBinding } from 'vue'\n\ninterface ClickOutsideHTMLElement extends HTMLElement {\n clickOutsideEvent?: (event: MouseEvent | TouchEvent) => void\n}\n\nexport const clickOutsideDirective: Directive = {\n mounted: (\n element: ClickOutsideHTMLElement,\n binding: DirectiveBinding\n ): void => {\n element.clickOutsideEvent = function (event) {\n if (!(element === event.target || element.contains(event.target))) {\n binding.value(event)\n }\n }\n document.body.addEventListener('click', element.clickOutsideEvent)\n document.body.addEventListener('touchstart', element.clickOutsideEvent)\n },\n unmounted: function (element: ClickOutsideHTMLElement): void {\n if (element.clickOutsideEvent) {\n document.body.removeEventListener('click', element.clickOutsideEvent)\n document.body.removeEventListener('touchstart', element.clickOutsideEvent)\n element.clickOutsideEvent = undefined\n }\n },\n}\n","import {\n Chart,\n BarElement,\n LineElement,\n PointElement,\n Legend,\n Title,\n Tooltip,\n Filler,\n BarController,\n CategoryScale,\n LineController,\n LinearScale,\n} from 'chart.js'\nimport ChartDataLabels from 'chartjs-plugin-datalabels'\nimport { createApp } from 'vue'\n\nimport './registerServiceWorker'\nimport App from './App.vue'\nimport i18n from './i18n'\nimport router from './router'\nimport store from './store'\n\nimport { customComponents } from '@/custom-components'\nimport { clickOutsideDirective } from '@/directives'\nimport { sportColors } from '@/utils/sports'\n\nChart.register(\n BarElement,\n LineElement,\n PointElement,\n Legend,\n Title,\n Tooltip,\n Filler,\n BarController,\n CategoryScale,\n LineController,\n LinearScale,\n ChartDataLabels\n)\n\nconst app = createApp(App)\n .provide('sportColors', sportColors)\n .use(i18n)\n .use(store)\n .use(router)\n .directive('click-outside', clickOutsideDirective)\n\ncustomComponents.forEach((component) => {\n app.component(component.name, component)\n})\n\napp.mount('#app')\n","import { AxiosError } from 'axios'\nimport { ActionContext } from 'vuex'\n\nimport { ROOT_STORE } from '@/store/constants'\nimport { IRootState } from '@/store/modules/root/types'\nimport { ISportsState } from '@/store/modules/sports/types'\nimport { IStatisticsState } from '@/store/modules/statistics/types'\nimport { IUserState } from '@/store/modules/user/types'\nimport { IUsersState } from '@/store/modules/users/types'\nimport { IWorkoutsState } from '@/store/modules/workouts/types'\n\nexport const getApiUrl = (): string => {\n return process.env.NODE_ENV === 'production'\n ? '/api/'\n : `${process.env.VUE_APP_API_URL}/api/`\n}\n\nexport const handleError = (\n context:\n | ActionContext\n | ActionContext\n | ActionContext\n | ActionContext\n | ActionContext\n | ActionContext,\n error: AxiosError | null,\n msg = 'UNKNOWN'\n): void => {\n const errorMessages = !error\n ? msg\n : error.response\n ? error.response.status === 413\n ? 'file size is greater than the allowed size'\n : error.response.data.message\n ? error.response.data.message\n : msg\n : error.message\n ? error.message\n : msg\n context.commit(\n ROOT_STORE.MUTATIONS.SET_ERROR_MESSAGES,\n errorMessages.includes('\\n')\n ? errorMessages\n .split('\\n')\n .filter((m: string) => m !== '')\n .map((m: string) => `api.ERROR.${m}`)\n : `api.ERROR.${errorMessages}`\n )\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./UserProfileTabs.vue?vue&type=style&index=0&id=c7276c08&lang=scss\"","export enum RootActions {\n GET_APPLICATION_CONFIG = 'GET_APPLICATION_CONFIG',\n GET_APPLICATION_STATS = 'GET_APPLICATION_STATS',\n UPDATE_APPLICATION_CONFIG = 'UPDATE_APPLICATION_CONFIG',\n}\n\nexport enum RootGetters {\n APP_CONFIG = 'APP_CONFIG',\n APP_LOADING = 'APP_LOADING',\n APP_STATS = 'APP_STATS',\n ERROR_MESSAGES = 'ERROR_MESSAGES',\n LANGUAGE = 'LANGUAGE',\n LOCALE = 'LOCALE', // date-fns\n}\n\nexport enum RootMutations {\n EMPTY_ERROR_MESSAGES = 'EMPTY_ERROR_MESSAGES',\n SET_ERROR_MESSAGES = 'SET_ERROR_MESSAGES',\n UPDATE_APPLICATION_CONFIG = 'UPDATE_APPLICATION_CONFIG',\n UPDATE_APPLICATION_LOADING = 'UPDATE_APPLICATION_LOADING',\n UPDATE_APPLICATION_STATS = 'UPDATE_APPLICATION_STATS',\n UPDATE_LANG = 'UPDATE_LANG',\n}\n","export enum SportsActions {\n GET_SPORTS = 'GET_SPORTS',\n UPDATE_SPORTS = 'UPDATE_SPORTS',\n}\n\nexport enum SportsGetters {\n SPORTS = 'SPORTS',\n}\n\nexport enum SportsMutation {\n SET_SPORTS = 'SET_SPORTS',\n}\n","export enum StatisticsActions {\n GET_USER_STATS = 'GET_USER_STATS',\n}\n\nexport enum StatisticsGetters {\n USER_STATS = 'USER_STATS',\n}\n\nexport enum StatisticsMutations {\n EMPTY_USER_STATS = 'EMPTY_USER_STATS',\n UPDATE_USER_STATS = 'UPDATE_USER_STATS',\n}\n","export enum UserActions {\n CHECK_AUTH_USER = 'CHECK_AUTH_USER',\n DELETE_ACCOUNT = 'DELETE_ACCOUNT',\n DELETE_PICTURE = 'DELETE_PICTURE',\n GET_USER_PROFILE = 'GET_USER_PROFILE',\n LOGIN_OR_REGISTER = 'LOGIN_OR_REGISTER',\n LOGOUT = 'LOGOUT',\n SEND_PASSWORD_RESET_REQUEST = 'SEND_PASSWORD_RESET_REQUEST',\n RESET_USER_PASSWORD = 'RESET_USER_PASSWORD',\n UPDATE_USER_PICTURE = 'UPDATE_USER_PICTURE',\n UPDATE_USER_PROFILE = 'UPDATE_USER_PROFILE',\n UPDATE_USER_PREFERENCES = 'UPDATE_USER_PREFERENCES',\n}\n\nexport enum UserGetters {\n AUTH_TOKEN = 'AUTH_TOKEN',\n AUTH_USER_PROFILE = 'AUTH_USER_PROFILE',\n IS_ADMIN = 'IS_ADMIN',\n IS_AUTHENTICATED = 'IS_AUTHENTICATED',\n USER_LOADING = 'USER_LOADING',\n}\n\nexport enum UserMutations {\n CLEAR_AUTH_USER_TOKEN = 'CLEAR_AUTH_USER_TOKEN',\n UPDATE_AUTH_TOKEN = 'UPDATE_AUTH_TOKEN',\n UPDATE_AUTH_USER_PROFILE = 'UPDATE_AUTH_USER_PROFILE',\n UPDATE_USER_LOADING = 'UPDATE_USER_LOADING',\n}\n","export enum UsersActions {\n EMPTY_USER = 'EMPTY_USER',\n EMPTY_USERS = 'EMPTY_USERS',\n GET_USER = 'GET_USER',\n GET_USERS = 'GET_USERS',\n UPDATE_USER = 'UPDATE_USER',\n}\n\nexport enum UsersGetters {\n USER = 'USER',\n USERS = 'USERS',\n USERS_LOADING = 'USERS_LOADING',\n USERS_PAGINATION = 'USERS_PAGINATION',\n}\n\nexport enum UsersMutations {\n UPDATE_USER = 'UPDATE_USER',\n UPDATE_USER_IN_USERS = 'UPDATE_USER_IN_USERS',\n UPDATE_USERS = 'UPDATE_USERS',\n UPDATE_USERS_LOADING = 'UPDATE_USERS_LOADING',\n UPDATE_USERS_PAGINATION = 'UPDATE_USERS_PAGINATION',\n}\n","export enum WorkoutsActions {\n ADD_WORKOUT = 'ADD_WORKOUT',\n ADD_WORKOUT_WITHOUT_GPX = 'ADD_WORKOUT_WITHOUT_GPX',\n DELETE_WORKOUT = 'DELETE_WORKOUT',\n EDIT_WORKOUT = 'EDIT_WORKOUT',\n GET_CALENDAR_WORKOUTS = 'GET_CALENDAR_WORKOUTS',\n GET_USER_WORKOUTS = 'GET_USER_WORKOUTS',\n GET_MORE_USER_WORKOUTS = 'GET_MORE_USER_WORKOUTS',\n GET_WORKOUT_DATA = 'GET_WORKOUT_DATA',\n}\n\nexport enum WorkoutsGetters {\n CALENDAR_WORKOUTS = 'CALENDAR_WORKOUTS',\n USER_WORKOUTS = 'USER_WORKOUTS',\n WORKOUT_DATA = 'WORKOUT_DATA',\n}\n\nexport enum WorkoutsMutations {\n ADD_USER_WORKOUTS = 'ADD_USER_WORKOUTS',\n EMPTY_WORKOUTS = 'EMPTY_WORKOUTS',\n EMPTY_CALENDAR_WORKOUTS = 'EMPTY_CALENDAR_WORKOUTS',\n EMPTY_WORKOUT = 'EMPTY_WORKOUT',\n SET_CALENDAR_WORKOUTS = 'SET_CALENDAR_WORKOUTS',\n SET_USER_WORKOUTS = 'SET_USER_WORKOUTS',\n SET_WORKOUT = 'SET_WORKOUT',\n SET_WORKOUT_GPX = 'SET_WORKOUT_GPX',\n SET_WORKOUT_CHART_DATA = 'SET_WORKOUT_CHART_DATA',\n SET_WORKOUT_LOADING = 'SET_WORKOUT_LOADING',\n}\n","import {\n RootActions,\n RootGetters,\n RootMutations,\n} from '@/store/modules/root/enums'\nimport {\n SportsActions,\n SportsGetters,\n SportsMutation,\n} from '@/store/modules/sports/enums'\nimport {\n StatisticsActions,\n StatisticsGetters,\n StatisticsMutations,\n} from '@/store/modules/statistics/enums'\nimport {\n UserActions,\n UserGetters,\n UserMutations,\n} from '@/store/modules/user/enums'\nimport {\n UsersActions,\n UsersGetters,\n UsersMutations,\n} from '@/store/modules/users/enums'\nimport {\n WorkoutsActions,\n WorkoutsGetters,\n WorkoutsMutations,\n} from '@/store/modules/workouts/enums'\n\nexport const ROOT_STORE = {\n ACTIONS: RootActions,\n GETTERS: RootGetters,\n MUTATIONS: RootMutations,\n}\n\nexport const SPORTS_STORE = {\n ACTIONS: SportsActions,\n GETTERS: SportsGetters,\n MUTATIONS: SportsMutation,\n}\n\nexport const STATS_STORE = {\n ACTIONS: StatisticsActions,\n GETTERS: StatisticsGetters,\n MUTATIONS: StatisticsMutations,\n}\n\nexport const USER_STORE = {\n ACTIONS: UserActions,\n GETTERS: UserGetters,\n MUTATIONS: UserMutations,\n}\n\nexport const USERS_STORE = {\n ACTIONS: UsersActions,\n GETTERS: UsersGetters,\n MUTATIONS: UsersMutations,\n}\n\nexport const WORKOUTS_STORE = {\n ACTIONS: WorkoutsActions,\n GETTERS: WorkoutsGetters,\n MUTATIONS: WorkoutsMutations,\n}\n","var map = {\n\t\"./en/en.ts\": \"c142\",\n\t\"./fr/fr.ts\": \"663e\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"e7b6\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Pagination.vue?vue&type=style&index=0&id=7694e784&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./NoConfig.vue?vue&type=style&index=0&id=01d4a985&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AlertMessage.vue?vue&type=style&index=0&id=f5e8066a&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./AdminUsers.vue?vue&type=style&index=0&id=2f9e0e4c&lang=scss&scoped=true\""],"sourceRoot":""} \ No newline at end of file diff --git a/fittrackee/dist/static/js/workouts.833bfd44.js b/fittrackee/dist/static/js/workouts.4a8b05f4.js similarity index 82% rename from fittrackee/dist/static/js/workouts.833bfd44.js rename to fittrackee/dist/static/js/workouts.4a8b05f4.js index caab82fa..53e93723 100644 --- a/fittrackee/dist/static/js/workouts.833bfd44.js +++ b/fittrackee/dist/static/js/workouts.4a8b05f4.js @@ -1,2 +1,2 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["workouts"],{"0385":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a=Object(r["withScopeId"])("data-v-499760ae");Object(r["pushScopeId"])("data-v-499760ae");var n={key:0,id:"workouts"},c={class:"container workouts-container"},l={class:"display-filters"},i={class:"list-container"};Object(r["popScopeId"])();var u=a((function(e,t,o,a,u,s){var d=Object(r["resolveComponent"])("WorkoutsFilters"),p=Object(r["resolveComponent"])("WorkoutsList");return e.authUser.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",n,[Object(r["createVNode"])("div",c,[Object(r["createVNode"])("div",{class:["filters-container",{hidden:e.hiddenFilters}]},[Object(r["createVNode"])(d,{sports:e.translatedSports,authUser:e.authUser,onFilter:e.updateParams},null,8,["sports","authUser","onFilter"])],2),Object(r["createVNode"])("div",l,[Object(r["createVNode"])("div",{onClick:t[1]||(t[1]=function(){return e.toggleFilters&&e.toggleFilters.apply(e,arguments)})},[Object(r["createVNode"])("i",{class:"fa fa-caret-".concat(e.hiddenFilters?"down":"up"),"aria-hidden":"true"},null,2),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.$t("workouts.".concat(e.hiddenFilters?"DISPLAY":"HIDE","_FILTERS"))),1)])]),Object(r["createVNode"])("div",i,[Object(r["createVNode"])(p,{user:e.authUser,params:e.params,sports:e.translatedSports},null,8,["user","params","sports"])])])])):Object(r["createCommentVNode"])("",!0)})),s=o("47e2"),d=(o("4de4"),o("caad"),o("2532"),Object(r["withScopeId"])("data-v-6d15726f"));Object(r["pushScopeId"])("data-v-6d15726f");var p={class:"workouts-filters"},b={class:"box"},O={class:"form"},j={class:"form-items-group"},m={class:"form-item"},f={class:"form-item"},k={class:"form-items-group"},g={class:"form-item"},y=Object(r["createVNode"])("option",{value:""},null,-1),w={class:"form-items-group"},h={class:"form-item"},v={class:"form-inputs-group"},N={class:"form-items-group"},S={class:"form-item"},T={class:"form-inputs-group"},D={class:"form-items-group"},V={class:"form-item"},C={class:"form-inputs-group"},_={class:"form-items-group"},E={class:"form-item"},x={class:"form-inputs-group"},A={class:"form-button"};Object(r["popScopeId"])();var B=d((function(e,t,o,a,n,c){return Object(r["openBlock"])(),Object(r["createBlock"])("div",p,[Object(r["createVNode"])("div",b,[Object(r["createVNode"])("div",O,[Object(r["createVNode"])("div",j,[Object(r["createVNode"])("div",m,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.FROM"))+": ",1),Object(r["createVNode"])("input",{name:"from",type:"date",onChange:t[1]||(t[1]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},null,32)]),Object(r["createVNode"])("div",f,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.TO"))+": ",1),Object(r["createVNode"])("input",{name:"to",type:"date",onChange:t[2]||(t[2]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},null,32)])]),Object(r["createVNode"])("div",k,[Object(r["createVNode"])("div",g,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.SPORT",1))+":",1),Object(r["createVNode"])("select",{name:"sport_id",onChange:t[3]||(t[3]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},[y,(Object(r["openBlock"])(!0),Object(r["createBlock"])(r["Fragment"],null,Object(r["renderList"])(e.translatedSports.filter((function(t){return e.authUser.sports_list.includes(t.id)})),(function(e){return Object(r["openBlock"])(),Object(r["createBlock"])("option",{value:e.id,key:e.id},Object(r["toDisplayString"])(e.label),9,["value"])})),128))],32)])]),Object(r["createVNode"])("div",w,[Object(r["createVNode"])("div",h,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+" (km): ",1),Object(r["createVNode"])("div",v,[Object(r["createVNode"])("input",{name:"distance_from",type:"number",min:"0",step:"1",onChange:t[4]||(t[4]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},null,32),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.$t("workouts.TO")),1),Object(r["createVNode"])("input",{name:"distance_to",type:"number",min:"0",step:"1",onChange:t[5]||(t[5]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},null,32)])])]),Object(r["createVNode"])("div",N,[Object(r["createVNode"])("div",S,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.DURATION"))+" (km): ",1),Object(r["createVNode"])("div",T,[Object(r["createVNode"])("input",{name:"duration_from",onChange:t[6]||(t[6]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)}),pattern:"^([0-9]*[0-9]):([0-5][0-9])$",placeholder:"hh:mm",type:"text"},null,32),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.$t("workouts.TO")),1),Object(r["createVNode"])("input",{name:"duration_to",onChange:t[7]||(t[7]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)}),pattern:"^([0-9]*[0-9]):([0-5][0-9])$",placeholder:"hh:mm",type:"text"},null,32)])])]),Object(r["createVNode"])("div",D,[Object(r["createVNode"])("div",V,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.AVE_SPEED"))+" (km): ",1),Object(r["createVNode"])("div",C,[Object(r["createVNode"])("input",{min:"0",name:"ave_speed_from",onChange:t[8]||(t[8]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)}),step:"1",type:"number"},null,32),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.$t("workouts.TO")),1),Object(r["createVNode"])("input",{min:"0",name:"ave_speed_to",onChange:t[9]||(t[9]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)}),step:"1",type:"number"},null,32)])])]),Object(r["createVNode"])("div",_,[Object(r["createVNode"])("div",E,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.MAX_SPEED"))+" (km): ",1),Object(r["createVNode"])("div",x,[Object(r["createVNode"])("input",{min:"0",name:"max_speed_from",onChange:t[10]||(t[10]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)}),step:"1",type:"number"},null,32),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.$t("workouts.TO")),1),Object(r["createVNode"])("input",{min:"0",name:"max_speed_to",onChange:t[11]||(t[11]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)}),step:"1",type:"number"},null,32)])])])]),Object(r["createVNode"])("div",A,[Object(r["createVNode"])("button",{class:"confirm",onClick:t[12]||(t[12]=function(){return e.onFilter&&e.onFilter.apply(e,arguments)})},Object(r["toDisplayString"])(e.$t("buttons.FILTER")),1)])])])})),I=o("5530"),R=(o("b0c0"),o("1119")),L=Object(r["defineComponent"])({name:"WorkoutsFilters",props:{authUser:{type:Object,required:!0},sports:{type:Object,required:!0}},emits:["filter","filtersUpdate"],setup:function(e,t){var o=t.emit,a=Object(s["b"])(),n=a.t,c=Object(r["computed"])((function(){return Object(R["d"])(e.sports,n)})),l={};function i(e){""===e.target.value?delete l[e.target.name]:l[e.target.name]=e.target.value}function u(){o("filter",Object(I["a"])({},l))}return{translatedSports:c,onFilter:u,handleFilterChange:i}}});o("ffd66");L.render=B,L.__scopeId="data-v-6d15726f";var U=L,M=(o("b680"),o("a9e3"),Object(r["withScopeId"])("data-v-d190dd62"));Object(r["pushScopeId"])("data-v-d190dd62");var W={class:"workouts-list"},P={class:"workouts-table responsive-table"},F=Object(r["createVNode"])("th",{class:"sport-col"},null,-1),$={class:"sport-col"},G={class:"cell-heading"},z={class:"workout-title"},H={class:"cell-heading"},K={key:0,class:"fa fa-map-o","aria-hidden":"true"},q={class:"cell-heading"},Z={class:"text-right"},J={class:"cell-heading"},X={class:"text-right"},Y={class:"cell-heading"},Q={class:"text-right"},ee={class:"cell-heading"},te={class:"text-right"},oe={class:"cell-heading"},re={key:1,class:"more-workouts"},ae=Object(r["createVNode"])("div",{id:"bottom"},null,-1);Object(r["popScopeId"])();var ne=M((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("SportImage"),i=Object(r["resolveComponent"])("router-link"),u=Object(r["resolveComponent"])("StaticMap"),s=Object(r["resolveComponent"])("NoWorkouts");return Object(r["openBlock"])(),Object(r["createBlock"])("div",W,[Object(r["createVNode"])("div",{class:["box",{"empty-table":0===e.workouts.length}]},[Object(r["createVNode"])("div",P,[Object(r["createVNode"])("table",null,[Object(r["createVNode"])("thead",null,[Object(r["createVNode"])("tr",null,[F,Object(r["createVNode"])("th",null,Object(r["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",1))),1),Object(r["createVNode"])("th",null,Object(r["toDisplayString"])(e.capitalize(e.$t("workouts.DATE"))),1),Object(r["createVNode"])("th",null,Object(r["toDisplayString"])(e.capitalize(e.$t("workouts.DISTANCE"))),1),Object(r["createVNode"])("th",null,Object(r["toDisplayString"])(e.capitalize(e.$t("workouts.DURATION"))),1),Object(r["createVNode"])("th",null,Object(r["toDisplayString"])(e.capitalize(e.$t("workouts.AVE_SPEED"))),1),Object(r["createVNode"])("th",null,Object(r["toDisplayString"])(e.capitalize(e.$t("workouts.MAX_SPEED"))),1)])]),Object(r["createVNode"])("tbody",null,[(Object(r["openBlock"])(!0),Object(r["createBlock"])(r["Fragment"],null,Object(r["renderList"])(e.workouts,(function(t){return Object(r["openBlock"])(),Object(r["createBlock"])("tr",{key:t.id},[Object(r["createVNode"])("td",$,[Object(r["createVNode"])("span",G,Object(r["toDisplayString"])(e.$t("workouts.SPORT",1)),1),Object(r["createVNode"])(l,{title:e.sports.filter((function(e){return e.id===t.sport_id}))[0].translatedLabel,"sport-label":e.sports.filter((function(e){return e.id===t.sport_id}))[0].label},null,8,["title","sport-label"])]),Object(r["createVNode"])("td",z,[Object(r["createVNode"])("span",H,Object(r["toDisplayString"])(e.capitalize(e.$t("workouts.WORKOUT",1))),1),Object(r["createVNode"])(i,{class:"nav-item",to:{name:"Workout",params:{workoutId:t.id}}},{default:M((function(){return[t.with_gpx?(Object(r["openBlock"])(),Object(r["createBlock"])("i",K)):Object(r["createCommentVNode"])("",!0),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(t.title),1)]})),_:2},1032,["to"]),t.with_gpx?(Object(r["openBlock"])(),Object(r["createBlock"])(u,{key:0,workout:t,"display-hover":!0},null,8,["workout"])):Object(r["createCommentVNode"])("",!0)]),Object(r["createVNode"])("td",null,[Object(r["createVNode"])("span",q,Object(r["toDisplayString"])(e.$t("workouts.DATE")),1),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.format(e.getDateWithTZ(t.workout_date,e.user.timezone),"dd/MM/yyyy HH:mm")),1)]),Object(r["createVNode"])("td",Z,[Object(r["createVNode"])("span",J,Object(r["toDisplayString"])(e.$t("workouts.DISTANCE")),1),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(Number(t.distance).toFixed(2))+" km ",1)]),Object(r["createVNode"])("td",X,[Object(r["createVNode"])("span",Y,Object(r["toDisplayString"])(e.$t("workouts.DURATION")),1),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(t.moving),1)]),Object(r["createVNode"])("td",Q,[Object(r["createVNode"])("span",ee,Object(r["toDisplayString"])(e.$t("workouts.AVE_SPEED")),1),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(t.ave_speed)+" km/h ",1)]),Object(r["createVNode"])("td",te,[Object(r["createVNode"])("span",oe,Object(r["toDisplayString"])(e.$t("workouts.MAX_SPEED")),1),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(t.max_speed)+" km/h ",1)])])})),128))])])])],2),0===e.workouts.length?(Object(r["openBlock"])(),Object(r["createBlock"])(s,{key:0})):Object(r["createCommentVNode"])("",!0),e.moreWorkoutsExist?(Object(r["openBlock"])(),Object(r["createBlock"])("div",re,[Object(r["createVNode"])("button",{onClick:t[1]||(t[1]=function(){return e.loadMoreWorkouts&&e.loadMoreWorkouts.apply(e,arguments)})},Object(r["toDisplayString"])(e.$t("workouts.LOAD_MORE_WORKOUT")),1)])):Object(r["createCommentVNode"])("",!0),ae])})),ce=o("1da1"),le=(o("96cf"),o("b166")),ie=o("68c6"),ue=o("1724"),se=o("dad5"),de=o("2906"),pe=o("5e65"),be=Object(r["defineComponent"])({name:"WorkoutsList",components:{NoWorkouts:ue["a"],StaticMap:ie["a"]},props:{params:{type:Object,required:!0},user:{type:Object,required:!0},sports:{type:Object}},setup:function(e){var t=Object(de["a"])(),o=Object(r["computed"])((function(){return t.getters[se["f"].GETTERS.USER_WORKOUTS]})),a=10,n=Object(r["ref"])(1),c=Object(r["computed"])((function(){return o.value.length>0&&null!==o.value[o.value.length-1].previous_workout}));function l(){n.value=1,t.dispatch(se["f"].ACTIONS.GET_USER_WORKOUTS,Object(I["a"])({page:n.value,per_page:a},e.params))}function i(){n.value+=1,t.dispatch(se["f"].ACTIONS.GET_MORE_USER_WORKOUTS,Object(I["a"])({page:n.value,per_page:a},e.params))}return Object(r["onBeforeMount"])((function(){l()})),Object(r["watch"])((function(){return e.params}),Object(ce["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:l();case 1:case"end":return e.stop()}}),e)})))),{moreWorkoutsExist:c,workouts:o,capitalize:r["capitalize"],format:le["a"],getDateWithTZ:pe["c"],loadMoreWorkouts:i}}});o("5ab5");be.render=ne,be.__scopeId="data-v-d190dd62";var Oe=be,je=Object(r["defineComponent"])({name:"WorkoutsView",components:{WorkoutsFilters:U,WorkoutsList:Oe},setup:function(){var e=Object(s["b"])(),t=e.t,o=Object(de["a"])(),a=Object(r["computed"])((function(){return o.getters[se["e"].GETTERS.AUTH_USER_PROFILE]})),n=Object(r["computed"])((function(){return o.getters[se["b"].GETTERS.SPORTS]})),c=Object(r["computed"])((function(){return Object(R["d"])(n.value,t)})),l=Object(r["ref"])({}),i=Object(r["ref"])(!0);function u(e){l.value=e,i.value=!0}function d(){i.value=!i.value}return{authUser:a,hiddenFilters:i,params:l,translatedSports:c,toggleFilters:d,updateParams:u}}});o("d3d3");je.render=u,je.__scopeId="data-v-499760ae";t["default"]=je},"18ac":function(e,t,o){},2794:function(e,t,o){"use strict";o("3854")},"2de4":function(e,t,o){},"304a":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a=Object(r["withScopeId"])("data-v-a4156454");Object(r["pushScopeId"])("data-v-a4156454");var n={id:"workout"},c={class:"container"},l={key:0,class:"workout-container"},i={key:0},u=Object(r["createVNode"])("div",{id:"bottom"},null,-1),s={key:1};Object(r["popScopeId"])();var d=a((function(e,t,o,a,d,p){var b=Object(r["resolveComponent"])("WorkoutDetail"),O=Object(r["resolveComponent"])("WorkoutChart"),j=Object(r["resolveComponent"])("WorkoutSegments"),m=Object(r["resolveComponent"])("WorkoutNotes"),f=Object(r["resolveComponent"])("NotFound");return Object(r["openBlock"])(),Object(r["createBlock"])("div",n,[Object(r["createVNode"])("div",c,[e.sports.length>0?(Object(r["openBlock"])(),Object(r["createBlock"])("div",l,[e.workoutData.workout.id?(Object(r["openBlock"])(),Object(r["createBlock"])("div",i,[Object(r["createVNode"])(b,{workoutData:e.workoutData,sports:e.sports,authUser:e.authUser,markerCoordinates:e.markerCoordinates,displaySegment:e.displaySegment},null,8,["workoutData","sports","authUser","markerCoordinates","displaySegment"]),e.workoutData.workout.with_gpx&&e.workoutData.chartData.length>0?(Object(r["openBlock"])(),Object(r["createBlock"])(O,{key:0,workoutData:e.workoutData,authUser:e.authUser,displaySegment:e.displaySegment,onGetCoordinates:e.updateCoordinates},null,8,["workoutData","authUser","displaySegment","onGetCoordinates"])):Object(r["createCommentVNode"])("",!0),!e.displaySegment&&e.workoutData.workout.segments.length>1?(Object(r["openBlock"])(),Object(r["createBlock"])(j,{key:1,segments:e.workoutData.workout.segments},null,8,["segments"])):Object(r["createCommentVNode"])("",!0),e.displaySegment?Object(r["createCommentVNode"])("",!0):(Object(r["openBlock"])(),Object(r["createBlock"])(m,{key:2,notes:e.workoutData.workout.notes},null,8,["notes"])),u])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",s,[e.workoutData.loading?Object(r["createCommentVNode"])("",!0):(Object(r["openBlock"])(),Object(r["createBlock"])(f,{key:0,target:"WORKOUT"}))]))])):Object(r["createCommentVNode"])("",!0)])])})),p=o("1da1"),b=(o("96cf"),o("6c02")),O=o("f7f9"),j=Object(r["withScopeId"])("data-v-2230775e");Object(r["pushScopeId"])("data-v-2230775e");var m={id:"workout-chart"},f={class:"chart-radio"},k={class:"no-data-cleaning"};Object(r["popScopeId"])();var g=j((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("LineChart"),i=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",m,[Object(r["createVNode"])(i,null,{title:j((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.ANALYSIS")),1)]})),content:j((function(){return[Object(r["createVNode"])("div",f,[Object(r["createVNode"])("label",null,[Object(r["createVNode"])("input",{type:"radio",name:"distance",checked:e.displayDistance,onClick:t[1]||(t[1]=function(){return e.updateDisplayDistance&&e.updateDisplayDistance.apply(e,arguments)})},null,8,["checked"]),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DISTANCE")),1)]),Object(r["createVNode"])("label",null,[Object(r["createVNode"])("input",{type:"radio",name:"duration",checked:!e.displayDistance,onClick:t[2]||(t[2]=function(){return e.updateDisplayDistance&&e.updateDisplayDistance.apply(e,arguments)})},null,8,["checked"]),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DURATION")),1)])]),Object(r["createVNode"])(l,Object(r["mergeProps"])(e.lineChartProps,{class:"line-chart",onMouseleave:e.emitEmptyCoordinates}),null,16,["onMouseleave"]),Object(r["createVNode"])("div",k,Object(r["toDisplayString"])(e.$t("workouts.NO_DATA_CLEANING")),1)]})),_:1})])})),y=o("ade3"),w=(o("b680"),o("a9e3"),o("99af"),o("ac1f"),o("5319"),o("b48c")),h=o("47e2"),v=o("9230"),N=Object(r["defineComponent"])({name:"WorkoutChart",components:{LineChart:w["LineChart"]},props:{authUser:{type:Object,required:!0},workoutData:{type:Object,required:!0}},emits:["getCoordinates"],setup:function(e,t){var o=t.emit,a=Object(h["b"])(),n=a.t,c=Object(r["ref"])(!0),l=Object(r["computed"])((function(){return Object(v["a"])(e.workoutData.chartData,n)})),i=Object(r["computed"])((function(){return{labels:c.value?l.value.distance_labels:l.value.duration_labels,datasets:JSON.parse(JSON.stringify([l.value.datasets.speed,l.value.datasets.elevation]))}})),u=Object(r["computed"])((function(){return l.value.coordinates})),s=Object(r["computed"])((function(){var e;return{responsive:!0,maintainAspectRatio:!0,animation:!1,layout:{padding:{top:22}},scales:(e={},Object(y["a"])(e,c.value?"xDistance":"xDuration",{grid:{drawOnChartArea:!1},ticks:{count:10,callback:function(e){return c.value?Number(e).toFixed(2):p(e)}},type:"linear",bounds:"data",title:{display:!0,text:c.value?n("workouts.DISTANCE")+" (km)":n("workouts.DURATION")}}),Object(y["a"])(e,"ySpeed",{grid:{drawOnChartArea:!1},position:"left",title:{display:!0,text:n("workouts.SPEED")+" (km/h)"}}),Object(y["a"])(e,"yElevation",{beginAtZero:!0,grid:{drawOnChartArea:!1},position:"right",title:{display:!0,text:n("workouts.ELEVATION")+" (m)"}}),e),elements:{point:{pointStyle:"circle",pointRadius:0}},plugins:{datalabels:{display:!1},tooltip:{interaction:{intersect:!1,mode:"index"},callbacks:{label:function(e){var t=" ".concat(e.dataset.label,": ").concat(e.formattedValue);return"yElevation"===e.dataset.yAxisID?t+" m":t+" km/h"},title:function(e){return e.length>0&&b(u.value[e[0].dataIndex]),0===e.length?"":c.value?"".concat(n("workouts.DISTANCE"),": ").concat(e[0].label," km"):"".concat(n("workouts.DURATION"),": ").concat(p(e[0].label.replace(",","")))}}}}}}));function d(){c.value=!c.value}function p(e){return new Date(1e3*+e).toISOString().substr(11,8)}function b(e){o("getCoordinates",e)}function O(){b({latitude:null,longitude:null})}var j=Object(w["useLineChart"])({chartData:i,options:s}),m=j.lineChartProps;return{displayDistance:c,lineChartProps:m,emitEmptyCoordinates:O,updateDisplayDistance:d}}});o("5687");N.render=g,N.__scopeId="data-v-2230775e";var S=N,T=Object(r["withScopeId"])("data-v-a17554ea");Object(r["pushScopeId"])("data-v-a17554ea");var D={class:"workout-detail"};Object(r["popScopeId"])();var V=T((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("Modal"),i=Object(r["resolveComponent"])("WorkoutCardTitle"),u=Object(r["resolveComponent"])("WorkoutMap"),s=Object(r["resolveComponent"])("WorkoutData"),d=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",D,[e.displayModal?(Object(r["openBlock"])(),Object(r["createBlock"])(l,{key:0,title:e.$t("common.CONFIRMATION"),message:e.$t("workouts.WORKOUT_DELETION_CONFIRMATION"),onConfirmAction:t[1]||(t[1]=function(t){return e.deleteWorkout(e.workoutObject.workoutId)}),onCancelAction:t[2]||(t[2]=function(t){return e.updateDisplayModal(!1)})},null,8,["title","message"])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])(d,null,{title:T((function(){return[Object(r["createVNode"])(i,{sport:e.sport,workoutObject:e.workoutObject,onDisplayModal:t[3]||(t[3]=function(t){return e.updateDisplayModal(!0)})},null,8,["sport","workoutObject"])]})),content:T((function(){return[Object(r["createVNode"])(u,{workoutData:e.workoutData,markerCoordinates:e.markerCoordinates},null,8,["workoutData","markerCoordinates"]),Object(r["createVNode"])(s,{workoutObject:e.workoutObject},null,8,["workoutObject"])]})),_:1})])})),C=(o("7db0"),Object(r["withScopeId"])("data-v-9cab340c"));Object(r["pushScopeId"])("data-v-9cab340c");var _={id:"workout-card-title"},E=Object(r["createVNode"])("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1),x={class:"workout-card-title"},A={class:"workout-title-date"},B={key:0,class:"workout-title"},I={key:1,class:"workout-title"},R={class:"workout-segment"},L=Object(r["createTextVNode"])(" — "),U=Object(r["createVNode"])("i",{class:"fa fa-map-marker","aria-hidden":"true"},null,-1),M={class:"workout-date"},W={class:"workout-link"},P=Object(r["createVNode"])("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1);Object(r["popScopeId"])();var F=C((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("SportImage"),i=Object(r["resolveComponent"])("router-link");return Object(r["openBlock"])(),Object(r["createBlock"])("div",_,[Object(r["createVNode"])("div",{class:["workout-previous workout-arrow",{inactive:!e.workoutObject.previousUrl}],title:e.workoutObject.previousUrl?e.$t("workouts.PREVIOUS_".concat(e.workoutObject.type)):e.$t("workouts.NO_PREVIOUS_".concat(e.workoutObject.type)),onClick:t[1]||(t[1]=function(t){return e.workoutObject.previousUrl?e.$router.push(e.workoutObject.previousUrl):null})},[E],10,["title"]),Object(r["createVNode"])("div",x,[Object(r["createVNode"])(l,{"sport-label":e.sport.label},null,8,["sport-label"]),Object(r["createVNode"])("div",A,["WORKOUT"===e.workoutObject.type?(Object(r["openBlock"])(),Object(r["createBlock"])("div",B,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.workoutObject.title)+" ",1),Object(r["createVNode"])("i",{class:"fa fa-edit","aria-hidden":"true",onClick:t[2]||(t[2]=function(t){return e.$router.push({name:"EditWorkout",params:{workoutId:e.workoutObject.workoutId}})})}),Object(r["createVNode"])("i",{class:"fa fa-trash","aria-hidden":"true",onClick:t[3]||(t[3]=function(t){return e.emit("displayModal",!0)})})])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",I,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.workoutObject.title)+" ",1),Object(r["createVNode"])("span",R,[L,U,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.SEGMENT"))+" "+Object(r["toDisplayString"])(e.workoutObject.segmentId+1),1)])])),Object(r["createVNode"])("div",M,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.workoutObject.workoutDate)+" - "+Object(r["toDisplayString"])(e.workoutObject.workoutTime)+" ",1),Object(r["createVNode"])("span",W,["SEGMENT"===e.workoutObject.type?(Object(r["openBlock"])(),Object(r["createBlock"])(i,{key:0,to:{name:"Workout",params:{workoutId:e.workoutObject.workoutId}}},{default:C((function(){return[Object(r["createTextVNode"])(" > "+Object(r["toDisplayString"])(e.$t("workouts.BACK_TO_WORKOUT")),1)]})),_:1},8,["to"])):Object(r["createCommentVNode"])("",!0)])])])]),Object(r["createVNode"])("div",{class:["workout-next workout-arrow",{inactive:!e.workoutObject.nextUrl}],title:e.workoutObject.nextUrl?e.$t("workouts.NEXT_".concat(e.workoutObject.type)):e.$t("workouts.NO_NEXT_".concat(e.workoutObject.type)),onClick:t[4]||(t[4]=function(t){return e.workoutObject.nextUrl?e.$router.push(e.workoutObject.nextUrl):null})},[P],10,["title"])])})),$=Object(r["defineComponent"])({name:"WorkoutCardTitle",props:{sport:{type:Object,required:!0},workoutObject:{type:Object,required:!0}},emits:["displayModal"],setup:function(e,t){var o=t.emit;return{emit:o}}});o("5910");$.render=F,$.__scopeId="data-v-9cab340c";var G=$,z=Object(r["withScopeId"])("data-v-45a7f031");Object(r["pushScopeId"])("data-v-45a7f031");var H={id:"workout-info"},K={class:"workout-data"},q=Object(r["createVNode"])("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1),Z={key:0},J={class:"workout-data"},X=Object(r["createVNode"])("i",{class:"fa fa-road","aria-hidden":"true"},null,-1),Y={class:"workout-data"},Q=Object(r["createVNode"])("i",{class:"fa fa-tachometer","aria-hidden":"true"},null,-1),ee=Object(r["createVNode"])("br",null,null,-1),te={key:0,class:"workout-data"},oe=Object(r["createVNode"])("br",null,null,-1),re={key:1,class:"workout-data"},ae=Object(r["createVNode"])("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1),ne=Object(r["createVNode"])("br",null,null,-1);Object(r["popScopeId"])();var ce=z((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("WorkoutRecord"),i=Object(r["resolveComponent"])("WorkoutWeather");return Object(r["openBlock"])(),Object(r["createBlock"])("div",H,[Object(r["createVNode"])("div",K,[q,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DURATION"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.moving),1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"LD"},null,8,["workoutObject"]),e.withPause?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Z,[Object(r["createTextVNode"])(" ("+Object(r["toDisplayString"])(e.$t("workouts.PAUSES"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.pauses),1),Object(r["createTextVNode"])(" - "+Object(r["toDisplayString"])(e.$t("workouts.TOTAL_DURATION"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.duration)+")",1)])):Object(r["createCommentVNode"])("",!0)]),Object(r["createVNode"])("div",J,[X,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.distance)+" km",1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"FD"},null,8,["workoutObject"])]),Object(r["createVNode"])("div",Y,[Q,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.AVERAGE_SPEED"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.aveSpeed)+" km/h",1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"AS"},null,8,["workoutObject"]),ee,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.MAX_SPEED"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.maxSpeed)+" km/h",1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"MS"},null,8,["workoutObject"])]),null!==e.workoutObject.maxAlt&&null!==e.workoutObject.minAlt?(Object(r["openBlock"])(),Object(r["createBlock"])("div",te,[Object(r["createVNode"])("img",{class:"mountains",src:"/img/workouts/mountains.svg",alt:e.$t("workouts.ELEVATION")},null,8,["alt"]),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.MIN_ALTITUDE"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.minAlt)+" m",1),oe,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.MAX_ALTITUDE"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.maxAlt)+" m",1)])):Object(r["createCommentVNode"])("",!0),null!==e.workoutObject.ascent&&null!==e.workoutObject.descent?(Object(r["openBlock"])(),Object(r["createBlock"])("div",re,[ae,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.ASCENT"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.ascent)+" m",1),ne,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DESCENT"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.descent)+" m",1)])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])(i,{workoutObject:e.workoutObject},null,8,["workoutObject"])])})),le=Object(r["withScopeId"])("data-v-da96984c");Object(r["pushScopeId"])("data-v-da96984c");var ie={key:0,class:"workout-record"},ue=Object(r["createVNode"])("sup",null,[Object(r["createVNode"])("i",{class:"fa fa-trophy","aria-hidden":"true"})],-1);Object(r["popScopeId"])();var se=le((function(e,t,o,a,n,c){return e.workoutObject.records&&e.workoutObject.records.find((function(t){return t.record_type===e.record_type}))?(Object(r["openBlock"])(),Object(r["createBlock"])("span",ie,[ue])):Object(r["createCommentVNode"])("",!0)})),de=Object(r["defineComponent"])({name:"WorkoutRecord",props:{record_type:{type:String,required:!0},workoutObject:{type:Object,required:!0}}});o("bfb4");de.render=se,de.__scopeId="data-v-da96984c";var pe=de,be=Object(r["withScopeId"])("data-v-7eb41918");Object(r["pushScopeId"])("data-v-7eb41918");var Oe={key:0,id:"workout-weather"},je={class:"weather-table"},me=Object(r["createVNode"])("th",null,null,-1),fe={class:"weather-th"},ke={class:"weather-th"};Object(r["popScopeId"])();var ge=be((function(e,t,o,a,n,c){return e.workoutObject.weatherStart&&e.workoutObject.weatherEnd?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Oe,[Object(r["createVNode"])("table",je,[Object(r["createVNode"])("thead",null,[Object(r["createVNode"])("tr",null,[me,Object(r["createVNode"])("th",null,[Object(r["createVNode"])("div",fe,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.START"))+" ",1),Object(r["createVNode"])("img",{class:"weather-img",src:"/img/weather/".concat(e.workoutObject.weatherStart.icon,".svg"),alt:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherStart.icon)),title:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherStart.icon))},null,8,["src","alt","title"])])]),Object(r["createVNode"])("th",null,[Object(r["createVNode"])("div",ke,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.END"))+" ",1),Object(r["createVNode"])("img",{class:"weather-img",src:"/img/weather/".concat(e.workoutObject.weatherEnd.icon,".svg"),alt:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherEnd.icon)),title:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherEnd.icon))},null,8,["src","alt","title"])])])])]),Object(r["createVNode"])("tbody",null,[Object(r["createVNode"])("tr",null,[Object(r["createVNode"])("td",null,[Object(r["createVNode"])("img",{class:"weather-img weather-img-small",src:"/img/weather/temperature.svg",alt:e.$t("workouts.WEATHER.TEMPERATURE"),title:e.$t("workouts.WEATHER.TEMPERATURE")},null,8,["alt","title"])]),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherStart.temperature).toFixed(1))+"°C ",1),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherEnd.temperature).toFixed(1))+"°C ",1)]),Object(r["createVNode"])("tr",null,[Object(r["createVNode"])("td",null,[Object(r["createVNode"])("img",{class:"weather-img weather-img-small",src:"/img/weather/pour-rain.svg",alt:e.$t("workouts.WEATHER.HUMIDITY"),title:e.$t("workouts.WEATHER.HUMIDITY")},null,8,["alt","title"])]),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(100*e.workoutObject.weatherStart.humidity).toFixed(1))+"% ",1),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(100*e.workoutObject.weatherEnd.humidity).toFixed(1))+"% ",1)]),Object(r["createVNode"])("tr",null,[Object(r["createVNode"])("td",null,[Object(r["createVNode"])("img",{class:"weather-img weather-img-small",src:"/img/weather/breeze.svg",alt:e.$t("workouts.WEATHER.WIND"),title:e.$t("workouts.WEATHER.WIND")},null,8,["alt","title"])]),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherStart.wind).toFixed(1))+"m/s",1),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherEnd.wind).toFixed(1))+"m/s",1)])])])])):Object(r["createCommentVNode"])("",!0)})),ye=Object(r["defineComponent"])({name:"WorkoutWeather",props:{workoutObject:{type:Object,required:!0}}});o("6595");ye.render=ge,ye.__scopeId="data-v-7eb41918";var we=ye,he=Object(r["defineComponent"])({name:"WorkoutData",components:{WorkoutRecord:pe,WorkoutWeather:we},props:{workoutObject:{type:Object,required:!0}},setup:function(e){return{withPause:Object(r["computed"])((function(){return"0:00:00"!==e.workoutObject.pauses&&null!==e.workoutObject.pauses}))}}});o("c04f");he.render=ce,he.__scopeId="data-v-45a7f031";var ve=he,Ne=Object(r["withScopeId"])("data-v-76f3a2e8");Object(r["pushScopeId"])("data-v-76f3a2e8");var Se={id:"workout-map"},Te={key:0,class:"leaflet-container"},De={key:1},Ve={key:0,class:"leaflet-container"},Ce={key:1,class:"no-map"};Object(r["popScopeId"])();var _e=Ne((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("LTileLayer"),i=Object(r["resolveComponent"])("LGeoJson"),u=Object(r["resolveComponent"])("LMarker"),s=Object(r["resolveComponent"])("LMap");return Object(r["openBlock"])(),Object(r["createBlock"])("div",Se,[e.workoutData.loading?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Te)):(Object(r["openBlock"])(),Object(r["createBlock"])("div",De,[e.workoutData.workout.with_gpx?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Ve,[e.geoJson.jsonData&&e.center&&2===e.bounds.length?(Object(r["openBlock"])(),Object(r["createBlock"])(s,{key:0,zoom:13,center:e.center,bounds:e.bounds,ref:"workoutMap",onReady:t[1]||(t[1]=function(t){return e.fitBounds(e.bounds)})},{default:Ne((function(){return[Object(r["createVNode"])(l,{url:"".concat(e.getApiUrl(),"workouts/map_tile/{s}/{z}/{x}/{y}.png"),attribution:e.appConfig.map_attribution,bounds:e.bounds},null,8,["url","attribution","bounds"]),Object(r["createVNode"])(i,{geojson:e.geoJson.jsonData},null,8,["geojson"]),e.markerCoordinates.latitude?(Object(r["openBlock"])(),Object(r["createBlock"])(u,{key:0,"lat-lng":[e.markerCoordinates.latitude,e.markerCoordinates.longitude]},null,8,["lat-lng"])):Object(r["createCommentVNode"])("",!0)]})),_:1},8,["center","bounds"])):Object(r["createCommentVNode"])("",!0)])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",Ce,Object(r["toDisplayString"])(e.$t("workouts.NO_MAP")),1))]))])})),Ee=o("e94f"),xe=o("5afd"),Ae=o("dad5"),Be=o("2906"),Ie=o("d257"),Re=Object(r["defineComponent"])({name:"WorkoutMap",components:{LGeoJson:xe["a"],LMap:xe["b"],LMarker:xe["c"],LTileLayer:xe["d"]},props:{workoutData:{type:Object},markerCoordinates:{type:Object,required:!1}},setup:function(e){var t=Object(Be["a"])();function o(e){if(!e||""!==e)try{var t=Object(Ee["gpx"])((new DOMParser).parseFromString(e,"text/xml"));return{jsonData:t}}catch(o){return console.error("Invalid gpx content"),{}}return{}}function a(e){return[(e.value[0][0]+e.value[1][0])/2,(e.value[0][1]+e.value[1][1])/2]}function n(e){var t,o;null!==(t=c.value)&&void 0!==t&&t.leafletObject&&(null===(o=c.value)||void 0===o||o.leafletObject.fitBounds(e))}var c=Object(r["ref"])(null),l=Object(r["computed"])((function(){return e.workoutData?[[e.workoutData.workout.bounds[0],e.workoutData.workout.bounds[1]],[e.workoutData.workout.bounds[2],e.workoutData.workout.bounds[3]]]:[]})),i=Object(r["computed"])((function(){return t.getters[Ae["a"].GETTERS.APP_CONFIG]})),u=Object(r["computed"])((function(){return a(l)})),s=Object(r["computed"])((function(){return e.workoutData&&e.workoutData.gpx?o(e.workoutData.gpx):{}}));return{appConfig:i,bounds:l,center:u,geoJson:s,workoutMap:c,fitBounds:n,getApiUrl:Ie["a"]}}});o("2794");Re.render=_e,Re.__scopeId="data-v-76f3a2e8";var Le=Re,Ue=o("5e65"),Me=Object(r["defineComponent"])({name:"WorkoutDetail",components:{WorkoutCardTitle:G,WorkoutData:ve,WorkoutMap:Le},props:{authUser:{type:Object,required:!0},displaySegment:{type:Boolean,required:!0},markerCoordinates:{type:Object,required:!1},sports:{type:Object},workoutData:{type:Object,required:!0}},setup:function(e){var t=Object(b["c"])(),o=Object(Be["a"])();function a(e,t,o){var r=t&&o&&1!==o?"/workouts/".concat(e.id,"/segment/").concat(o-1):!t&&e.previous_workout?"/workouts/".concat(e.previous_workout):null,a=t&&o&&o0&&u.value?i.value.segments[+u.value-1]:null})),d=Object(r["ref"])(!1);return Object(r["watch"])((function(){return t.params.segmentId}),function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t&&(u.value=+t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),{sport:Object(r["computed"])((function(){return e.sports?e.sports.find((function(t){return t.id===e.workoutData.workout.sport_id})):{}})),workoutObject:Object(r["computed"])((function(){return n(i.value,s.value)})),displayModal:d,deleteWorkout:l,updateDisplayModal:c}}});o("c2ce");Me.render=V,Me.__scopeId="data-v-a17554ea";var We=Me,Pe=Object(r["withScopeId"])("data-v-5c47d30a");Object(r["pushScopeId"])("data-v-5c47d30a");var Fe={id:"workout-note"};Object(r["popScopeId"])();var $e=Pe((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",Fe,[Object(r["createVNode"])(l,null,{title:Pe((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.NOTES")),1)]})),content:Pe((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.notes&&""!==e.notes?e.notes:e.$t("workouts.NO_NOTES")),1)]})),_:1})])})),Ge=Object(r["defineComponent"])({name:"WorkoutNotes",props:{notes:{type:String,required:!1}}});o("42ec");Ge.render=$e,Ge.__scopeId="data-v-5c47d30a";var ze=Ge,He=Object(r["withScopeId"])("data-v-5c40d110");Object(r["pushScopeId"])("data-v-5c40d110");var Ke={id:"workout-segments"};Object(r["popScopeId"])();var qe=He((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("router-link"),i=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",Ke,[Object(r["createVNode"])(i,null,{title:He((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.SEGMENT",2)),1)]})),content:He((function(){return[Object(r["createVNode"])("ul",null,[(Object(r["openBlock"])(!0),Object(r["createBlock"])(r["Fragment"],null,Object(r["renderList"])(e.segments,(function(t,o){return Object(r["openBlock"])(),Object(r["createBlock"])("li",{key:t.segment_id},[Object(r["createVNode"])(l,{to:{name:"WorkoutSegment",params:{workoutId:t.workout_id,segmentId:o+1}}},{default:He((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.SEGMENT",1))+" "+Object(r["toDisplayString"])(o+1),1)]})),_:2},1032,["to"]),Object(r["createTextVNode"])(" ("+Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+": "+Object(r["toDisplayString"])(t.distance)+" km, "+Object(r["toDisplayString"])(e.$t("workouts.DURATION"))+": "+Object(r["toDisplayString"])(t.duration)+") ",1)])})),128))])]})),_:1})])})),Ze=Object(r["defineComponent"])({name:"WorkoutSegments",props:{segments:{type:Object,required:!0}}});o("628e");Ze.render=qe,Ze.__scopeId="data-v-5c40d110";var Je=Ze,Xe=Object(r["defineComponent"])({name:"Workout",components:{NotFound:O["a"],WorkoutChart:S,WorkoutDetail:We,WorkoutNotes:ze,WorkoutSegments:Je},props:{displaySegment:{type:Boolean,required:!0}},setup:function(e){var t=Object(b["c"])(),o=Object(Be["a"])();Object(r["onBeforeMount"])((function(){var r={workoutId:t.params.workoutId};e.displaySegment&&(r.segmentId=t.params.segmentId),o.dispatch(Ae["f"].ACTIONS.GET_WORKOUT_DATA,r)}));var a=Object(r["computed"])((function(){return o.getters[Ae["f"].GETTERS.WORKOUT_DATA]})),n=Object(r["computed"])((function(){return o.getters[Ae["e"].GETTERS.AUTH_USER_PROFILE]})),c=Object(r["computed"])((function(){return o.getters[Ae["b"].GETTERS.SPORTS]})),l=Object(r["ref"])({latitude:null,longitude:null});function i(e){l.value={latitude:e.latitude,longitude:e.longitude}}return Object(r["watch"])((function(){return t.params.workoutId}),function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t&&o.dispatch(Ae["f"].ACTIONS.GET_WORKOUT_DATA,{workoutId:t});case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Object(r["watch"])((function(){return t.params.segmentId}),function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(r){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.params.workoutId&&(a={workoutId:t.params.workoutId},r&&(a.segmentId=r),o.dispatch(Ae["f"].ACTIONS.GET_WORKOUT_DATA,a));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Object(r["onUnmounted"])((function(){o.commit(Ae["f"].MUTATIONS.EMPTY_WORKOUT)})),{authUser:n,markerCoordinates:l,sports:c,workoutData:a,updateCoordinates:i}}});o("5be4");Xe.render=d,Xe.__scopeId="data-v-a4156454";t["default"]=Xe},3854:function(e,t,o){},"42ec":function(e,t,o){"use strict";o("8300")},5687:function(e,t,o){"use strict";o("bef2")},5910:function(e,t,o){"use strict";o("b76e")},"5ab5":function(e,t,o){"use strict";o("86b9")},"5afd":function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return V})),o.d(t,"b",(function(){return x})),o.d(t,"c",(function(){return I})),o.d(t,"d",(function(){return P}));var r=o("7a23");const a=(e,t)=>{let o;return function(...r){const a=this;o&&clearTimeout(o),o=setTimeout(()=>{e.apply(a,r),o=null},t)}},n=e=>e&&"function"===typeof e.charAt?e.charAt(0).toUpperCase()+e.slice(1):e,c=(e,t,o)=>{for(const a in o){const c="set"+n(a);e[c]?Object(r["watch"])(()=>o[a],(t,o)=>{e[c](t,o)}):t[c]&&Object(r["watch"])(()=>o[a],e=>{t[c](e)})}},l=e=>{const t={};for(const o in e)if(o.startsWith("on")&&!o.startsWith("onUpdate")&&"onReady"!==o){const r=o.slice(2).toLocaleLowerCase();t[r]=e[o]}return t},i=async e=>{const t=await Promise.all([o.e("chunk-2d0c9189").then(o.t.bind(null,"584d",7)),o.e("chunk-2d0cf391").then(o.t.bind(null,"6397",7)),o.e("chunk-2d22523a").then(o.t.bind(null,"e2b9",7))]);delete e.Default.prototype._getIconUrl,e.Default.mergeOptions({iconRetinaUrl:t[0].default,iconUrl:t[1].default,shadowUrl:t[2].default})},u=e=>{const t=Object(r["ref"])(()=>console.warn(`Method ${e} has been invoked without being replaced`)),o=(...e)=>t.value(...e);return o.wrapped=t,Object(r["provide"])(e,o),o},s=(e,t)=>e.wrapped.value=t,d="object"===typeof self&&self.self===self&&self||"object"===typeof e&&e.global===e&&e||void 0,p="useGlobalLeaflet",b={options:{type:Object,default:()=>({})}},O=e=>({options:e.options,methods:{}}),j={...b,pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},m=(e,t,o)=>{const a=Object(r["inject"])("addLayer"),n=Object(r["inject"])("removeLayer"),{options:c,methods:l}=O(e),i={...c,attribution:e.attribution,pane:e.pane},u=()=>a({leafletObject:t.value}),s=()=>n({leafletObject:t.value}),d={...l,setAttribution(e,t){const o=this.$parent.leafletObject.attributionControl;o.removeAttribution(t).addAttribution(e)},setName(){s(),e.visible&&u()},setLayerType(){s(),e.visible&&u()},setVisible(e){t.value&&(e?u():s())},bindPopup({leafletObject:e}){t.value.bindPopup(e)},bindTooltip({leafletObject:e}){t.value.bindTooltip(e)},unbindTooltip(){const e=t.value?t.value.getTooltip():null;e&&e.unbindTooltip()},unbindPopup(){const e=t.value?t.value.getPopup():null;e&&e.unbindPopup()},updateVisibleProp(e){o.emit("update:visible",e)}};return Object(r["provide"])("bindPopup",d.bindPopup),Object(r["provide"])("bindTooltip",d.bindTooltip),Object(r["provide"])("unbindTooltip",d.unbindTooltip),Object(r["provide"])("unbindPopup",d.unbindPopup),Object(r["onUnmounted"])(()=>{d.unbindPopup(),d.unbindTooltip(),s()}),{options:i,methods:d}},f=(e,t)=>{if(e&&t.default)return Object(r["h"])("div",{style:{display:"none"}},t.default())},k={...b,interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},g={...j,...k,stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},y={...g,latLng:{type:[Object,Array],custom:!0,default:null},radius:{type:Number,default:null}};const w={...b,position:{type:String,default:"topright"}},h=(e,t)=>{const{options:o,methods:a}=O(e),n={...o,position:e.position},c={...a,setPosition(e){t.value&&t.value.setPosition(e)}};return Object(r["onUnmounted"])(()=>{t.value&&t.value.remove()}),{options:n,methods:c}},v=e=>e.default?Object(r["h"])("div",{ref:"root"},e.default()):null;Boolean,Boolean;Boolean,Boolean,Boolean,Boolean;Boolean,Boolean,Boolean;const N={...j},S=(e,t,o)=>{const{options:a,methods:n}=m(e,t,o),c={...a},l={...n,addLayer(e){t.value.addLayer(e.leafletObject)},removeLayer(e){t.value.removeLayer(e.leafletObject)}};return Object(r["provide"])("addLayer",l.addLayer),Object(r["provide"])("removeLayer",l.removeLayer),{options:c,methods:l}};const T={...N,geojson:{type:[Object,Array],default:()=>({})}},D=(e,t)=>{const{options:o,methods:r}=S(e,t),a={...o,...e},n={...r,setGeojson(e){t.value.clearLayers(),t.value.addData(e)},getGeoJSONData(){return t.value.toGeoJSON()},getBounds(){return t.value.getBounds()}};return{options:a,methods:n}};var V={props:T,setup(e,t){const a=Object(r["ref"])({}),n=Object(r["ref"])(!1),i=Object(r["inject"])(p),u=Object(r["inject"])("addLayer"),{methods:s,options:b}=D(e,a);return Object(r["onMounted"])(async()=>{const{geoJSON:p,DomEvent:O}=i?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));a.value=p(e.geojson,b);const j=l(t.attrs);O.on(a.value,j),c(s,a.value,e),u({...e,...s,leafletObject:a.value}),n.value=!0,Object(r["nextTick"])(()=>t.emit("ready",a.value))}),{ready:n,leafletObject:a}},render(){return f(this.ready,this.$slots)},__file:"src/components/LGeoJson.vue"};const C={...j,pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1},minZoom:{type:Number,default:0},maxZoom:{type:Number,default:void 0}},_=(e,t,o)=>{const{options:r,methods:a}=m(e,t,o),n={...r,pane:e.pane,opacity:e.opacity,zIndex:e.zIndex,tileSize:e.tileSize,noWrap:e.noWrap,minZoom:e.minZoom,maxZoom:e.maxZoom};return{options:n,methods:{...a}}};const E={iconUrl:{type:String,custom:!0,default:null},iconRetinaUrl:{type:String,custom:!0,default:null},iconSize:{type:[Object,Array],custom:!0,default:null},iconAnchor:{type:[Object,Array],custom:!0,default:null},popupAnchor:{type:[Object,Array],custom:!0,default:()=>[0,0]},tooltipAnchor:{type:[Object,Array],custom:!0,default:()=>[0,0]},shadowUrl:{type:String,custom:!0,default:null},shadowRetinaUrl:{type:String,custom:!0,default:null},shadowSize:{type:[Object,Array],custom:!0,default:null},shadowAnchor:{type:[Object,Array],custom:!0,default:null},bgPos:{type:[Object,Array],custom:!0,default:()=>[0,0]},className:{type:String,custom:!0,default:""},options:{type:Object,custom:!0,default:()=>({})}};Boolean,Boolean;var x={emits:["ready","update:zoom","update:center","update:bounds"],props:{...b,center:{type:[Object,Array],default:()=>[0,0]},bounds:{type:[Array,Object],default:void 0},maxBounds:{type:[Array,Object],default:void 0},zoom:{type:Number,default:0},minZoom:{type:Number,default:void 0},maxZoom:{type:Number,default:void 0},paddingBottomRight:{type:Array,default:void 0},paddingTopLeft:{type:Array,default:void 0},padding:{type:Array,default:void 0},worldCopyJump:{type:Boolean,default:!1},crs:{type:[String,Object],default:"EPSG3857"},maxBoundsViscosity:{type:Number,default:void 0},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number,default:void 0},inertiaMaxSpeed:{type:Number,default:void 0},easeLinearity:{type:Number,default:void 0},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number,default:void 0},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:!1},useGlobalLeaflet:{type:Boolean,default:!1}},setup(e,t){const n=Object(r["ref"])(null),b=Object(r["reactive"])({ready:!1,leafletRef:{},layersToAdd:[],layersInControl:[]}),{options:j}=O(e),m={...j,minZoom:e.minZoom,maxZoom:e.maxZoom,maxBounds:e.maxBounds,maxBoundsViscosity:e.maxBoundsViscosity,worldCopyJump:e.worldCopyJump,crs:e.crs,center:e.center,zoom:e.zoom,inertia:e.inertia,inertiaDeceleration:e.inertiaDeceleration,inertiaMaxSpeed:e.inertiaMaxSpeed,easeLinearity:e.easeLinearity,zoomAnimation:e.zoomAnimation,zoomAnimationThreshold:e.zoomAnimationThreshold,fadeAnimation:e.fadeAnimation,markerZoomAnimation:e.markerZoomAnimation},f=u("addLayer"),k=u("removeLayer"),g=u("registerControl"),y=u("registerLayerControl");Object(r["provide"])(p,e.useGlobalLeaflet);const w={moveEndHandler(){t.emit("update:zoom",b.leafletRef.getZoom()),t.emit("update:center",b.leafletRef.getCenter()),t.emit("update:bounds",b.leafletRef.getBounds())},overlayAddHandler(e){const t=b.layersInControl.find(t=>t.name===e.name);t&&t.updateVisibleProp(!0)},overlayRemoveHandler(e){const t=b.layersInControl.find(t=>t.name===e.name);t&&t.updateVisibleProp(!1)}};Object(r["onMounted"])(async()=>{e.useGlobalLeaflet&&(d.L=d.L||await o.e("chunk-2d2248b6").then(o.t.bind(null,"e11e",7)));const{map:u,CRS:p,Icon:O,latLngBounds:j,latLng:h,DomEvent:v}=e.useGlobalLeaflet?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));try{m.beforeMapMount&&await m.beforeMapMount()}catch(D){console.error("The following error occurred running the provided beforeMapMount hook "+D.message)}await i(O);const N="string"==typeof m.crs?p[m.crs]:m.crs;m.crs=N||p.EPSG3857;const S={addLayer(e){if(void 0!==e.layerType)if(void 0===b.layerControl)b.layersToAdd.push(e);else{const t=b.layersInControl.find(t=>t.leafletObject._leaflet_id===e.leafletObject._leaflet_id);t||(b.layerControl.addLayer(e),b.layersInControl.push(e))}!1!==e.visible&&b.leafletRef.addLayer(e.leafletObject)},removeLayer(e){void 0!==e.layerType&&(void 0===b.layerControl?b.layersToAdd=b.layersToAdd.filter(t=>t.name!==e.name):(b.layerControl.removeLayer(e.leafletObject),b.layersInControl=b.layersInControl.filter(t=>t.leafletObject._leaflet_id!==e.leafletObject._leaflet_id))),b.leafletRef.removeLayer(e.leafletObject)},registerLayerControl(e){b.layerControl=e,b.layersToAdd.forEach(e=>{b.layerControl.addLayer(e)}),b.layersToAdd=[],g(e)},registerControl(e){b.leafletRef.addControl(e.leafletObject)},setZoom(t){const o=b.leafletRef.getZoom();t!==o&&b.leafletRef.setZoom(t,{animate:!e.noBlockingAnimations&&null})},setPaddingBottomRight(e){b.paddingBottomRight=e},setPaddingTopLeft(e){b.paddingTopLeft=e},setPadding(e){b.padding=e},setCrs(e){const t=b.leafletRef.getBounds();b.leafletRef.options.crs=e,b.leafletRef.fitBounds(t,{animate:!1,padding:[0,0]})},fitBounds(e){b.leafletRef.fitBounds(e,{animate:!this.noBlockingAnimations&&null})},setBounds(e){if(!e)return;const t=j(e);if(!t.isValid())return;const o=b.lastSetBounds||b.leafletRef.getBounds(),r=!o.equals(t,0);r&&(b.lastSetBounds=t,b.leafletRef.fitBounds(t,this.fitBoundsOptions))},setCenter(e){if(null==e)return;const t=h(e),o=b.lastSetCenter||b.leafletRef.getCenter();o.lat===t.lat&&o.lng===t.lng||(b.lastSetCenter=t,b.leafletRef.panTo(t,{animate:!this.noBlockingAnimations&&null}))}};s(f,S.addLayer),s(k,S.removeLayer),s(g,S.registerControl),s(y,S.registerLayerControl),b.leafletRef=u(n.value,m),c(S,b.leafletRef,e);const T=l(t.attrs);b.leafletRef.on("moveend",a(w.moveEndHandler,100)),b.leafletRef.on("overlayadd",w.overlayAddHandler),b.leafletRef.on("overlayremove",w.overlayRemoveHandler),v.on(b.leafletRef,T),b.ready=!0,Object(r["nextTick"])(()=>t.emit("ready",b.leafletRef))}),Object(r["onBeforeUnmount"])(()=>{b.leafletRef&&b.leafletRef.remove()});const h=Object(r["computed"])(()=>b.leafletRef),v=Object(r["computed"])(()=>b.ready);return{root:n,ready:v,leafletObject:h}},render(){return Object(r["h"])("div",{style:{width:"100%",height:"100%"},ref:"root"},this.ready?this.$slots.default():{})},__file:"src/components/LMap.vue"};const A={...j,pane:{type:String,default:"markerPane"},draggable:{type:Boolean,custom:!0,default:!1},latLng:{type:[Object,Array],custom:!0,default:null},icon:{type:[Object],default:()=>{},custom:!1},zIndexOffset:{type:Number,custom:!1,default:null}},B=(e,t,o)=>{const{options:r,methods:a}=m(e,t,o),n={...r,...e},c={...a,setDraggable(e){t.value.dragging&&(e?t.value.dragging.enable():t.value.dragging.disable())},latLngSync(e){o.emit("update:latLng",e.latlng),o.emit("update:lat-lng",e.latlng)},setLatLng(e){if(null!=e&&t.value){const o=t.value.getLatLng();o&&o.equals(e)||t.value.setLatLng(e)}}};return{options:n,methods:c}};var I={name:"LMarker",props:A,setup(e,t){const n=Object(r["ref"])({}),i=Object(r["ref"])(!1),u=Object(r["inject"])(p),s=Object(r["inject"])("addLayer");Object(r["provide"])("canSetParentHtml",()=>!!n.value.getElement()),Object(r["provide"])("setParentHtml",e=>n.value.getElement().innerHTML=e),Object(r["provide"])("setIcon",e=>n.value.setIcon&&n.value.setIcon(e));const{options:b,methods:O}=B(e,n,t);return void 0===b.icon&&delete b.icon,Object(r["onMounted"])(async()=>{const{marker:p,DomEvent:j}=u?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));n.value=p(e.latLng,b);const m=l(t.attrs);j.on(n.value,m),n.value.on("move",a(O.latLngSync,100)),c(O,n.value,e),s({...e,...O,leafletObject:n.value}),i.value=!0,Object(r["nextTick"])(()=>t.emit("ready",n.value))}),{ready:i,leafletObject:n}},render(){return f(this.ready,this.$slots)},__file:"src/components/LMarker.vue"};const R={...g,latLngs:{type:Array,default:()=>[]},smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},L={...R};const U={...b,content:{type:String,default:null}};const M={...C,tms:{type:Boolean,default:!1},subdomains:{type:String,default:"abc"},detectRetina:{type:Boolean,default:!1},url:{type:String,default:null}},W=(e,t)=>{const{options:o,methods:r}=_(e,t),a={...o,tms:e.tms,subdomains:e.subdomains,detectRetina:e.detectRetina};return{options:a,methods:{...r}}};var P={props:M,setup(e,t){const a=Object(r["ref"])({}),n=Object(r["inject"])(p),i=Object(r["inject"])("addLayer"),{options:u,methods:s}=W(e,a);return Object(r["onMounted"])(async()=>{const{tileLayer:p,DomEvent:b}=n?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));a.value=p(e.url,u);const O=l(t.attrs);b.on(a.value,O),c(s,a.value,e),i({...e,...s,leafletObject:a.value}),Object(r["nextTick"])(()=>t.emit("ready",a.value))}),{leafletObject:a}},render(){return null},__file:"src/components/LTileLayer.vue"};Boolean,Boolean}).call(this,o("c8ba"))},"5be4":function(e,t,o){"use strict";o("8ee6")},"5c76":function(e,t,o){"use strict";o("4de4");var r=o("7a23"),a=Object(r["withScopeId"])("data-v-29a8656e");Object(r["pushScopeId"])("data-v-29a8656e");var n={id:"workout-form"},c={class:"form-items"},l={key:0,class:"form-item-radio"},i={for:"withGpx"},u={for:"withoutGpx"},s={class:"form-item"},d={key:1,class:"form-item"},p={for:"gpxFile"},b={class:"files-help info-box"},O={key:2,class:"form-item"},j={for:"title"},m={key:3},f={class:"workout-date-duration"},k={class:"form-item"},g={class:"workout-date-time"},y={class:"form-item"},w=Object(r["createTextVNode"])(" : "),h=Object(r["createTextVNode"])(" : "),v={class:"form-item"},N={class:"form-item"},S={key:1},T={key:2,class:"form-buttons"};Object(r["popScopeId"])();var D=a((function(e,t,o,D,V,C){var _=Object(r["resolveComponent"])("CustomTextArea"),E=Object(r["resolveComponent"])("ErrorMessage"),x=Object(r["resolveComponent"])("Loader"),A=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",{id:"workout-edition",class:["center-card center-card with-margin",{"center-form":e.workout&&e.workout.with_gpx}]},[Object(r["createVNode"])(A,null,{title:a((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.".concat(e.isCreation?"ADD":"EDIT","_WORKOUT"))),1)]})),content:a((function(){return[Object(r["createVNode"])("div",n,[Object(r["createVNode"])("form",{onSubmit:t[13]||(t[13]=Object(r["withModifiers"])((function(){return e.updateWorkout&&e.updateWorkout.apply(e,arguments)}),["prevent"]))},[Object(r["createVNode"])("div",c,[e.isCreation?(Object(r["openBlock"])(),Object(r["createBlock"])("div",l,[Object(r["createVNode"])("div",null,[Object(r["createVNode"])("input",{id:"withGpx",type:"radio",checked:e.withGpx,disabled:e.loading,onClick:t[1]||(t[1]=function(){return e.updateWithGpx&&e.updateWithGpx.apply(e,arguments)})},null,8,["checked","disabled"]),Object(r["createVNode"])("label",i,Object(r["toDisplayString"])(e.$t("workouts.WITH_GPX")),1)]),Object(r["createVNode"])("div",null,[Object(r["createVNode"])("input",{id:"withoutGpx",type:"radio",checked:!e.withGpx,disabled:e.loading,onClick:t[2]||(t[2]=function(){return e.updateWithGpx&&e.updateWithGpx.apply(e,arguments)})},null,8,["checked","disabled"]),Object(r["createVNode"])("label",u,Object(r["toDisplayString"])(e.$t("workouts.WITHOUT_GPX")),1)])])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])("div",s,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.SPORT",1))+": ",1),Object(r["withDirectives"])(Object(r["createVNode"])("select",{id:"sport",required:"",disabled:e.loading,"onUpdate:modelValue":t[3]||(t[3]=function(t){return e.workoutDataObject.sport_id=t})},[(Object(r["openBlock"])(!0),Object(r["createBlock"])(r["Fragment"],null,Object(r["renderList"])(e.translatedSports.filter((function(e){return e.is_active})),(function(e){return Object(r["openBlock"])(),Object(r["createBlock"])("option",{value:e.id,key:e.id},Object(r["toDisplayString"])(e.label),9,["value"])})),128))],8,["disabled"]),[[r["vModelSelect"],e.workoutDataObject.sport_id]])]),e.isCreation&&e.withGpx?(Object(r["openBlock"])(),Object(r["createBlock"])("div",d,[Object(r["createVNode"])("label",p,Object(r["toDisplayString"])(e.$t("workouts.GPX_FILE"))+" "+Object(r["toDisplayString"])(e.$t("workouts.ZIP_ARCHIVE_DESCRIPTION"))+": ",1),Object(r["createVNode"])("input",{id:"gpxFile",name:"gpxFile",type:"file",accept:".gpx, .zip",disabled:e.loading,onInput:t[4]||(t[4]=function(){return e.updateFile&&e.updateFile.apply(e,arguments)})},null,40,["disabled"]),Object(r["createVNode"])("div",b,[Object(r["createVNode"])("div",null,[Object(r["createVNode"])("strong",null,Object(r["toDisplayString"])(e.$t("workouts.GPX_FILE"))+":",1),Object(r["createVNode"])("ul",null,[Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.MAX_SIZE"))+": "+Object(r["toDisplayString"])(e.fileSizeLimit),1)])]),Object(r["createVNode"])("div",null,[Object(r["createVNode"])("strong",null,Object(r["toDisplayString"])(e.$t("workouts.ZIP_ARCHIVE"))+":",1),Object(r["createVNode"])("ul",null,[Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.NO_FOLDER")),1),Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.MAX_FILES"))+": "+Object(r["toDisplayString"])(e.gpx_limit_import),1),Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.MAX_SIZE"))+": "+Object(r["toDisplayString"])(e.zipSizeLimit),1)])])])])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",O,[Object(r["createVNode"])("label",j,Object(r["toDisplayString"])(e.$t("workouts.TITLE"))+": ",1),Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"title",name:"title",type:"text",required:!e.isCreation,disabled:e.loading,"onUpdate:modelValue":t[5]||(t[5]=function(t){return e.workoutDataObject.title=t})},null,8,["required","disabled"]),[[r["vModelText"],e.workoutDataObject.title]])])),e.withGpx?Object(r["createCommentVNode"])("",!0):(Object(r["openBlock"])(),Object(r["createBlock"])("div",m,[Object(r["createVNode"])("div",f,[Object(r["createVNode"])("div",k,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.WORKOUT_DATE"))+":",1),Object(r["createVNode"])("div",g,[Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-date",name:"workout-date",type:"date",required:"",disabled:e.loading,"onUpdate:modelValue":t[6]||(t[6]=function(t){return e.workoutDataObject.workoutDate=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDate]]),Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-time",name:"workout-time",class:"workout-time",type:"time",required:"",disabled:e.loading,"onUpdate:modelValue":t[7]||(t[7]=function(t){return e.workoutDataObject.workoutTime=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutTime]])])]),Object(r["createVNode"])("div",y,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.DURATION"))+":",1),Object(r["createVNode"])("div",null,[Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-duration-hour",name:"workout-duration-hour",class:"workout-duration",type:"text",placeholder:"HH",pattern:"^([0-9]*[0-9])$",required:"",disabled:e.loading,"onUpdate:modelValue":t[8]||(t[8]=function(t){return e.workoutDataObject.workoutDurationHour=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDurationHour]]),w,Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-duration-minutes",name:"workout-duration-minutes",class:"workout-duration",type:"text",pattern:"^([0-5][0-9])$",placeholder:"MM",required:"",disabled:e.loading,"onUpdate:modelValue":t[9]||(t[9]=function(t){return e.workoutDataObject.workoutDurationMinutes=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDurationMinutes]]),h,Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-duration-seconds",name:"workout-duration-seconds",class:"workout-duration",type:"text",pattern:"^([0-5][0-9])$",placeholder:"SS",required:"",disabled:e.loading,"onUpdate:modelValue":t[10]||(t[10]=function(t){return e.workoutDataObject.workoutDurationSeconds=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDurationSeconds]])])])]),Object(r["createVNode"])("div",v,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+" (km):",1),Object(r["withDirectives"])(Object(r["createVNode"])("input",{name:"workout-distance",type:"number",min:"0",step:"0.1",required:"",disabled:e.loading,"onUpdate:modelValue":t[11]||(t[11]=function(t){return e.workoutDataObject.workoutDistance=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDistance]])])])),Object(r["createVNode"])("div",N,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.NOTES"))+": ",1),Object(r["createVNode"])(_,{name:"notes",input:e.workoutDataObject.notes,disabled:e.loading,onUpdateValue:e.updateNotes},null,8,["input","disabled","onUpdateValue"])])]),e.errorMessages?(Object(r["openBlock"])(),Object(r["createBlock"])(E,{key:0,message:e.errorMessages},null,8,["message"])):Object(r["createCommentVNode"])("",!0),e.loading?(Object(r["openBlock"])(),Object(r["createBlock"])("div",S,[Object(r["createVNode"])(x)])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",T,[Object(r["createVNode"])("button",{class:"confirm",type:"submit",disabled:e.loading},Object(r["toDisplayString"])(e.$t("buttons.SUBMIT")),9,["disabled"]),Object(r["createVNode"])("button",{class:"cancel",onClick:t[12]||(t[12]=Object(r["withModifiers"])((function(){return e.onCancel&&e.onCancel.apply(e,arguments)}),["prevent"]))},Object(r["toDisplayString"])(e.$t("buttons.CANCEL")),1)]))],32)])]})),_:1})],2)})),V=o("1da1"),C=(o("96cf"),o("ac1f"),o("1276"),o("99af"),o("47e2")),_=o("6c02"),E=o("dad5"),x=o("2906"),A=o("5e65"),B=o("c364"),I=o("1119"),R=Object(r["defineComponent"])({name:"WorkoutEdition",props:{authUser:{type:Object,required:!0},isCreation:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},sports:{type:Object,required:!0},workout:{type:Object,required:!1}},setup:function(e){var t=Object(C["b"])(),o=t.t,a=Object(x["a"])(),n=Object(_["d"])();Object(r["onMounted"])((function(){e.workout&&e.workout.id&&k(e.workout)}));var c=Object(r["computed"])((function(){return Object(I["d"])(e.sports,o)})),l=Object(r["computed"])((function(){return a.getters[E["a"].GETTERS.APP_CONFIG]})),i=l.value.max_single_file_size?Object(B["b"])(l.value.max_single_file_size):"",u=l.value.gpx_limit_import,s=l.value.max_zip_file_size?Object(B["b"])(l.value.max_zip_file_size):"",d=Object(r["computed"])((function(){return a.getters[E["a"].GETTERS.ERROR_MESSAGES]})),p=Object(r["reactive"])({sport_id:"",title:"",notes:"",workoutDate:"",workoutTime:"",workoutDurationHour:"",workoutDurationMinutes:"",workoutDurationSeconds:"",workoutDistance:""}),b=Object(r["ref"])(e.workout?e.workout.with_gpx:e.isCreation),O=null;function j(e){p.notes=e}function m(){b.value=!b.value}function f(e){e.target.files&&(O=e.target.files[0])}function k(t){if(p.sport_id="".concat(t.sport_id),p.title=t.title,p.notes=t.notes,!t.with_gpx){var o=Object(A["a"])(Object(A["c"])(t.workout_date,e.authUser.timezone),"yyyy-MM-dd"),r=t.duration.split(":");p.workoutDistance="".concat(t.distance),p.workoutDate=o.workout_date,p.workoutTime=o.workout_time,p.workoutDurationHour=r[0],p.workoutDurationMinutes=r[1],p.workoutDurationSeconds=r[2]}}function g(e){e.title=p.title,e.distance=+p.workoutDistance,e.duration=3600*+p.workoutDurationHour+60*+p.workoutDurationMinutes+ +p.workoutDurationSeconds,e.workout_date="".concat(p.workoutDate," ").concat(p.workoutTime)}function y(){var t={sport_id:+p.sport_id,notes:p.notes};if(e.workout)e.workout.with_gpx?a.dispatch(E["f"].ACTIONS.EDIT_WORKOUT,{workoutId:e.workout.id,data:t}):(g(t),a.dispatch(E["f"].ACTIONS.ADD_WORKOUT_WITHOUT_GPX,t));else if(b.value){if(!O){var o="workouts.NO_FILE_PROVIDED";return void a.commit(E["a"].MUTATIONS.SET_ERROR_MESSAGES,o)}t.file=O,a.dispatch(E["f"].ACTIONS.ADD_WORKOUT,t)}else g(t),a.dispatch(E["f"].ACTIONS.ADD_WORKOUT_WITHOUT_GPX,t)}function w(){e.workout?n.push({name:"Workout",params:{workoutId:e.workout.id}}):n.go(-1)}return Object(r["watch"])((function(){return e.workout}),function(){var e=Object(V["a"])(regeneratorRuntime.mark((function e(t,o){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t!==o&&t&&t.id&&k(t);case 1:case"end":return e.stop()}}),e)})));return function(t,o){return e.apply(this,arguments)}}()),Object(r["onUnmounted"])((function(){return a.commit(E["a"].MUTATIONS.EMPTY_ERROR_MESSAGES)})),{appConfig:l,errorMessages:d,fileSizeLimit:i,gpx_limit_import:u,translatedSports:c,withGpx:b,zipSizeLimit:s,workoutDataObject:p,onCancel:w,updateFile:f,updateNotes:j,updateWithGpx:m,updateWorkout:y}}});o("64bf");R.render=D,R.__scopeId="data-v-29a8656e";t["a"]=R},"628e":function(e,t,o){"use strict";o("be77")},"64bf":function(e,t,o){"use strict";o("b552")},6595:function(e,t,o){"use strict";o("cc92")},"692d":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a=Object(r["withScopeId"])("data-v-2e2371d9");Object(r["pushScopeId"])("data-v-2e2371d9");var n={id:"add-workout"},c={class:"container"};Object(r["popScopeId"])();var l=a((function(e,t,o,a,l,i){var u=Object(r["resolveComponent"])("WorkoutEdition");return Object(r["openBlock"])(),Object(r["createBlock"])("div",n,[Object(r["createVNode"])("div",c,[Object(r["createVNode"])(u,{authUser:e.authUser,sports:e.sports,isCreation:!0,loading:e.workoutData.loading},null,8,["authUser","sports","loading"])])])})),i=o("5c76"),u=o("dad5"),s=o("2906"),d=Object(r["defineComponent"])({name:"AddWorkout",components:{WorkoutEdition:i["a"]},setup:function(){var e=Object(s["a"])(),t=Object(r["computed"])((function(){return e.getters[u["b"].GETTERS.SPORTS]})),o=Object(r["computed"])((function(){return e.getters[u["e"].GETTERS.AUTH_USER_PROFILE]})),a=Object(r["computed"])((function(){return e.getters[u["f"].GETTERS.WORKOUT_DATA]}));return{authUser:o,sports:t,workoutData:a}}});o("ebf5");d.render=l,d.__scopeId="data-v-2e2371d9";t["default"]=d},"829d":function(e,t,o){},8300:function(e,t,o){},"86b9":function(e,t,o){},"8ee6":function(e,t,o){},"8ee9":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a={id:"edit-workout"},n={class:"container"};function c(e,t,o,c,l,i){var u=Object(r["resolveComponent"])("WorkoutEdition");return Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[Object(r["createVNode"])("div",n,[Object(r["createVNode"])(u,{authUser:e.authUser,sports:e.sports,workout:e.workoutData.workout,loading:e.workoutData.loading},null,8,["authUser","sports","workout","loading"])])])}var l=o("1da1"),i=(o("96cf"),o("6c02")),u=o("5c76"),s=o("dad5"),d=o("2906"),p=Object(r["defineComponent"])({name:"EditWorkout",components:{WorkoutEdition:u["a"]},setup:function(){var e=Object(i["c"])(),t=Object(d["a"])();Object(r["onBeforeMount"])((function(){t.dispatch(s["f"].ACTIONS.GET_WORKOUT_DATA,{workoutId:e.params.workoutId})}));var o=Object(r["computed"])((function(){return t.getters[s["e"].GETTERS.AUTH_USER_PROFILE]})),a=Object(r["computed"])((function(){return t.getters[s["b"].GETTERS.SPORTS]})),n=Object(r["computed"])((function(){return t.getters[s["f"].GETTERS.WORKOUT_DATA]}));return Object(r["watch"])((function(){return e.params.workoutId}),function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(o){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:o||t.commit(s["f"].MUTATIONS.EMPTY_WORKOUT);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),{authUser:o,sports:a,workoutData:n}}});p.render=c;t["default"]=p},a33d:function(e,t,o){},b552:function(e,t,o){},b76e:function(e,t,o){},be77:function(e,t,o){},bef2:function(e,t,o){},bfb4:function(e,t,o){"use strict";o("a33d")},c04f:function(e,t,o){"use strict";o("d8e9")},c2ce:function(e,t,o){"use strict";o("2de4")},cc92:function(e,t,o){},d3d3:function(e,t,o){"use strict";o("f0d7")},d8e9:function(e,t,o){},e94f:function(e,t,o){!function(e,o){o(t)}(0,(function(e){"use strict";function t(e){return e&&e.normalize&&e.normalize(),e&&e.textContent||""}function o(e,t){const o=e.getElementsByTagName(t);return o.length?o[0]:null}function r(e){const r={};if(e){const a=o(e,"line");if(a){const e=t(o(a,"color")),n=parseFloat(t(o(a,"opacity"))),c=parseFloat(t(o(a,"width")));e&&(r.stroke=e),isNaN(n)||(r["stroke-opacity"]=n),isNaN(c)||(r["stroke-width"]=96*c/25.4)}}return r}function a(e,r){const a={};let n,c;for(c=0;c1,s=Object.assign(n(e),r(o(e,"extensions")),{_gpxType:"trk"},c.length?{coordinateProperties:{times:u?c:c[0]}}:{});for(let o=0;onew Array(e.line.length).fill(null))),e[t][o]=r):e[t]=r}}return{type:"Feature",properties:s,geometry:u?{type:"MultiLineString",coordinates:a}:{type:"LineString",coordinates:a[0]}}}function*s(e){const t=e.getElementsByTagName("trk"),o=e.getElementsByTagName("rte"),r=e.getElementsByTagName("wpt");for(let a=0;aArray(e.length).fill(null))),u[o][t]=e[o])}if(0!==a.length)return(n.length||c.length)&&(u.coordinateProperties=Object.assign(n.length?{times:1===a.length?n[0]:n}:{},c.length?{heart:1===a.length?c[0]:c}:{})),{type:"Feature",properties:u,geometry:{type:1===a.length?"LineString":"MultiLineString",coordinates:1===a.length?a[0]:a}}}function*f(e){const t=e.getElementsByTagName("Lap");for(let r=0;r0&&null!==o.value[o.value.length-1].previous_workout}));function l(){n.value=1,t.dispatch(se["f"].ACTIONS.GET_USER_WORKOUTS,Object(I["a"])({page:n.value,per_page:a},e.params))}function i(){n.value+=1,t.dispatch(se["f"].ACTIONS.GET_MORE_USER_WORKOUTS,Object(I["a"])({page:n.value,per_page:a},e.params))}return Object(r["onBeforeMount"])((function(){l()})),Object(r["watch"])((function(){return e.params}),Object(ce["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:l();case 1:case"end":return e.stop()}}),e)})))),{moreWorkoutsExist:c,workouts:o,capitalize:r["capitalize"],format:le["a"],getDateWithTZ:pe["c"],loadMoreWorkouts:i}}});o("5ab5");be.render=ne,be.__scopeId="data-v-d190dd62";var Oe=be,je=Object(r["defineComponent"])({name:"WorkoutsView",components:{WorkoutsFilters:U,WorkoutsList:Oe},setup:function(){var e=Object(s["b"])(),t=e.t,o=Object(de["a"])(),a=Object(r["computed"])((function(){return o.getters[se["e"].GETTERS.AUTH_USER_PROFILE]})),n=Object(r["computed"])((function(){return o.getters[se["b"].GETTERS.SPORTS]})),c=Object(r["computed"])((function(){return Object(R["d"])(n.value,t)})),l=Object(r["ref"])({}),i=Object(r["ref"])(!0);function u(e){l.value=e,i.value=!0}function d(){i.value=!i.value}return{authUser:a,hiddenFilters:i,params:l,translatedSports:c,toggleFilters:d,updateParams:u}}});o("d3d3");je.render=u,je.__scopeId="data-v-499760ae";t["default"]=je},"18ac":function(e,t,o){},2794:function(e,t,o){"use strict";o("3854")},"2de4":function(e,t,o){},"304a":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a=Object(r["withScopeId"])("data-v-a4156454");Object(r["pushScopeId"])("data-v-a4156454");var n={id:"workout"},c={class:"container"},l={key:0,class:"workout-container"},i={key:0},u=Object(r["createVNode"])("div",{id:"bottom"},null,-1),s={key:1};Object(r["popScopeId"])();var d=a((function(e,t,o,a,d,p){var b=Object(r["resolveComponent"])("WorkoutDetail"),O=Object(r["resolveComponent"])("WorkoutChart"),j=Object(r["resolveComponent"])("WorkoutSegments"),m=Object(r["resolveComponent"])("WorkoutNotes"),f=Object(r["resolveComponent"])("NotFound");return Object(r["openBlock"])(),Object(r["createBlock"])("div",n,[Object(r["createVNode"])("div",c,[e.sports.length>0?(Object(r["openBlock"])(),Object(r["createBlock"])("div",l,[e.workoutData.workout.id?(Object(r["openBlock"])(),Object(r["createBlock"])("div",i,[Object(r["createVNode"])(b,{workoutData:e.workoutData,sports:e.sports,authUser:e.authUser,markerCoordinates:e.markerCoordinates,displaySegment:e.displaySegment},null,8,["workoutData","sports","authUser","markerCoordinates","displaySegment"]),e.workoutData.workout.with_gpx&&e.workoutData.chartData.length>0?(Object(r["openBlock"])(),Object(r["createBlock"])(O,{key:0,workoutData:e.workoutData,authUser:e.authUser,displaySegment:e.displaySegment,onGetCoordinates:e.updateCoordinates},null,8,["workoutData","authUser","displaySegment","onGetCoordinates"])):Object(r["createCommentVNode"])("",!0),!e.displaySegment&&e.workoutData.workout.segments.length>1?(Object(r["openBlock"])(),Object(r["createBlock"])(j,{key:1,segments:e.workoutData.workout.segments},null,8,["segments"])):Object(r["createCommentVNode"])("",!0),e.displaySegment?Object(r["createCommentVNode"])("",!0):(Object(r["openBlock"])(),Object(r["createBlock"])(m,{key:2,notes:e.workoutData.workout.notes},null,8,["notes"])),u])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",s,[e.workoutData.loading?Object(r["createCommentVNode"])("",!0):(Object(r["openBlock"])(),Object(r["createBlock"])(f,{key:0,target:"WORKOUT"}))]))])):Object(r["createCommentVNode"])("",!0)])])})),p=o("1da1"),b=(o("96cf"),o("6c02")),O=o("f7f9"),j=Object(r["withScopeId"])("data-v-2230775e");Object(r["pushScopeId"])("data-v-2230775e");var m={id:"workout-chart"},f={class:"chart-radio"},k={class:"no-data-cleaning"};Object(r["popScopeId"])();var g=j((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("LineChart"),i=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",m,[Object(r["createVNode"])(i,null,{title:j((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.ANALYSIS")),1)]})),content:j((function(){return[Object(r["createVNode"])("div",f,[Object(r["createVNode"])("label",null,[Object(r["createVNode"])("input",{type:"radio",name:"distance",checked:e.displayDistance,onClick:t[1]||(t[1]=function(){return e.updateDisplayDistance&&e.updateDisplayDistance.apply(e,arguments)})},null,8,["checked"]),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DISTANCE")),1)]),Object(r["createVNode"])("label",null,[Object(r["createVNode"])("input",{type:"radio",name:"duration",checked:!e.displayDistance,onClick:t[2]||(t[2]=function(){return e.updateDisplayDistance&&e.updateDisplayDistance.apply(e,arguments)})},null,8,["checked"]),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DURATION")),1)])]),Object(r["createVNode"])(l,Object(r["mergeProps"])(e.lineChartProps,{class:"line-chart",onMouseleave:e.emitEmptyCoordinates}),null,16,["onMouseleave"]),Object(r["createVNode"])("div",k,Object(r["toDisplayString"])(e.$t("workouts.NO_DATA_CLEANING")),1)]})),_:1})])})),y=o("ade3"),w=(o("b680"),o("a9e3"),o("99af"),o("ac1f"),o("5319"),o("b48c")),h=o("47e2"),v=o("9230"),N=Object(r["defineComponent"])({name:"WorkoutChart",components:{LineChart:w["LineChart"]},props:{authUser:{type:Object,required:!0},workoutData:{type:Object,required:!0}},emits:["getCoordinates"],setup:function(e,t){var o=t.emit,a=Object(h["b"])(),n=a.t,c=Object(r["ref"])(!0),l=Object(r["computed"])((function(){return Object(v["a"])(e.workoutData.chartData,n)})),i=Object(r["computed"])((function(){return{labels:c.value?l.value.distance_labels:l.value.duration_labels,datasets:JSON.parse(JSON.stringify([l.value.datasets.speed,l.value.datasets.elevation]))}})),u=Object(r["computed"])((function(){return l.value.coordinates})),s=Object(r["computed"])((function(){var e;return{responsive:!0,maintainAspectRatio:!0,animation:!1,layout:{padding:{top:22}},scales:(e={},Object(y["a"])(e,c.value?"xDistance":"xDuration",{grid:{drawOnChartArea:!1},ticks:{count:10,callback:function(e){return c.value?Number(e).toFixed(2):p(e)}},type:"linear",bounds:"data",title:{display:!0,text:c.value?n("workouts.DISTANCE")+" (km)":n("workouts.DURATION")}}),Object(y["a"])(e,"ySpeed",{grid:{drawOnChartArea:!1},position:"left",title:{display:!0,text:n("workouts.SPEED")+" (km/h)"}}),Object(y["a"])(e,"yElevation",{beginAtZero:!0,grid:{drawOnChartArea:!1},position:"right",title:{display:!0,text:n("workouts.ELEVATION")+" (m)"}}),e),elements:{point:{pointStyle:"circle",pointRadius:0}},plugins:{datalabels:{display:!1},tooltip:{interaction:{intersect:!1,mode:"index"},callbacks:{label:function(e){var t=" ".concat(e.dataset.label,": ").concat(e.formattedValue);return"yElevation"===e.dataset.yAxisID?t+" m":t+" km/h"},title:function(e){return e.length>0&&b(u.value[e[0].dataIndex]),0===e.length?"":c.value?"".concat(n("workouts.DISTANCE"),": ").concat(e[0].label," km"):"".concat(n("workouts.DURATION"),": ").concat(p(e[0].label.replace(",","")))}}}}}}));function d(){c.value=!c.value}function p(e){return new Date(1e3*+e).toISOString().substr(11,8)}function b(e){o("getCoordinates",e)}function O(){b({latitude:null,longitude:null})}var j=Object(w["useLineChart"])({chartData:i,options:s}),m=j.lineChartProps;return{displayDistance:c,lineChartProps:m,emitEmptyCoordinates:O,updateDisplayDistance:d}}});o("5687");N.render=g,N.__scopeId="data-v-2230775e";var S=N,T=Object(r["withScopeId"])("data-v-a17554ea");Object(r["pushScopeId"])("data-v-a17554ea");var D={class:"workout-detail"};Object(r["popScopeId"])();var V=T((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("Modal"),i=Object(r["resolveComponent"])("WorkoutCardTitle"),u=Object(r["resolveComponent"])("WorkoutMap"),s=Object(r["resolveComponent"])("WorkoutData"),d=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",D,[e.displayModal?(Object(r["openBlock"])(),Object(r["createBlock"])(l,{key:0,title:e.$t("common.CONFIRMATION"),message:e.$t("workouts.WORKOUT_DELETION_CONFIRMATION"),onConfirmAction:t[1]||(t[1]=function(t){return e.deleteWorkout(e.workoutObject.workoutId)}),onCancelAction:t[2]||(t[2]=function(t){return e.updateDisplayModal(!1)})},null,8,["title","message"])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])(d,null,{title:T((function(){return[Object(r["createVNode"])(i,{sport:e.sport,workoutObject:e.workoutObject,onDisplayModal:t[3]||(t[3]=function(t){return e.updateDisplayModal(!0)})},null,8,["sport","workoutObject"])]})),content:T((function(){return[Object(r["createVNode"])(u,{workoutData:e.workoutData,markerCoordinates:e.markerCoordinates},null,8,["workoutData","markerCoordinates"]),Object(r["createVNode"])(s,{workoutObject:e.workoutObject},null,8,["workoutObject"])]})),_:1})])})),C=(o("7db0"),Object(r["withScopeId"])("data-v-9cab340c"));Object(r["pushScopeId"])("data-v-9cab340c");var _={id:"workout-card-title"},E=Object(r["createVNode"])("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1),x={class:"workout-card-title"},A={class:"workout-title-date"},B={key:0,class:"workout-title"},I={key:1,class:"workout-title"},R={class:"workout-segment"},L=Object(r["createTextVNode"])(" — "),U=Object(r["createVNode"])("i",{class:"fa fa-map-marker","aria-hidden":"true"},null,-1),M={class:"workout-date"},W={class:"workout-link"},P=Object(r["createVNode"])("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1);Object(r["popScopeId"])();var F=C((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("SportImage"),i=Object(r["resolveComponent"])("router-link");return Object(r["openBlock"])(),Object(r["createBlock"])("div",_,[Object(r["createVNode"])("div",{class:["workout-previous workout-arrow",{inactive:!e.workoutObject.previousUrl}],title:e.workoutObject.previousUrl?e.$t("workouts.PREVIOUS_".concat(e.workoutObject.type)):e.$t("workouts.NO_PREVIOUS_".concat(e.workoutObject.type)),onClick:t[1]||(t[1]=function(t){return e.workoutObject.previousUrl?e.$router.push(e.workoutObject.previousUrl):null})},[E],10,["title"]),Object(r["createVNode"])("div",x,[Object(r["createVNode"])(l,{"sport-label":e.sport.label},null,8,["sport-label"]),Object(r["createVNode"])("div",A,["WORKOUT"===e.workoutObject.type?(Object(r["openBlock"])(),Object(r["createBlock"])("div",B,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.workoutObject.title)+" ",1),Object(r["createVNode"])("i",{class:"fa fa-edit","aria-hidden":"true",onClick:t[2]||(t[2]=function(t){return e.$router.push({name:"EditWorkout",params:{workoutId:e.workoutObject.workoutId}})})}),Object(r["createVNode"])("i",{class:"fa fa-trash","aria-hidden":"true",onClick:t[3]||(t[3]=function(t){return e.emit("displayModal",!0)})})])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",I,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.workoutObject.title)+" ",1),Object(r["createVNode"])("span",R,[L,U,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.SEGMENT"))+" "+Object(r["toDisplayString"])(e.workoutObject.segmentId+1),1)])])),Object(r["createVNode"])("div",M,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.workoutObject.workoutDate)+" - "+Object(r["toDisplayString"])(e.workoutObject.workoutTime)+" ",1),Object(r["createVNode"])("span",W,["SEGMENT"===e.workoutObject.type?(Object(r["openBlock"])(),Object(r["createBlock"])(i,{key:0,to:{name:"Workout",params:{workoutId:e.workoutObject.workoutId}}},{default:C((function(){return[Object(r["createTextVNode"])(" > "+Object(r["toDisplayString"])(e.$t("workouts.BACK_TO_WORKOUT")),1)]})),_:1},8,["to"])):Object(r["createCommentVNode"])("",!0)])])])]),Object(r["createVNode"])("div",{class:["workout-next workout-arrow",{inactive:!e.workoutObject.nextUrl}],title:e.workoutObject.nextUrl?e.$t("workouts.NEXT_".concat(e.workoutObject.type)):e.$t("workouts.NO_NEXT_".concat(e.workoutObject.type)),onClick:t[4]||(t[4]=function(t){return e.workoutObject.nextUrl?e.$router.push(e.workoutObject.nextUrl):null})},[P],10,["title"])])})),$=Object(r["defineComponent"])({name:"WorkoutCardTitle",props:{sport:{type:Object,required:!0},workoutObject:{type:Object,required:!0}},emits:["displayModal"],setup:function(e,t){var o=t.emit;return{emit:o}}});o("5910");$.render=F,$.__scopeId="data-v-9cab340c";var G=$,z=Object(r["withScopeId"])("data-v-45a7f031");Object(r["pushScopeId"])("data-v-45a7f031");var H={id:"workout-info"},K={class:"workout-data"},q=Object(r["createVNode"])("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1),Z={key:0},J={class:"workout-data"},X=Object(r["createVNode"])("i",{class:"fa fa-road","aria-hidden":"true"},null,-1),Y={class:"workout-data"},Q=Object(r["createVNode"])("i",{class:"fa fa-tachometer","aria-hidden":"true"},null,-1),ee=Object(r["createVNode"])("br",null,null,-1),te={key:0,class:"workout-data"},oe=Object(r["createVNode"])("br",null,null,-1),re={key:1,class:"workout-data"},ae=Object(r["createVNode"])("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1),ne=Object(r["createVNode"])("br",null,null,-1);Object(r["popScopeId"])();var ce=z((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("WorkoutRecord"),i=Object(r["resolveComponent"])("WorkoutWeather");return Object(r["openBlock"])(),Object(r["createBlock"])("div",H,[Object(r["createVNode"])("div",K,[q,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DURATION"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.moving),1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"LD"},null,8,["workoutObject"]),e.withPause?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Z,[Object(r["createTextVNode"])(" ("+Object(r["toDisplayString"])(e.$t("workouts.PAUSES"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.pauses),1),Object(r["createTextVNode"])(" - "+Object(r["toDisplayString"])(e.$t("workouts.TOTAL_DURATION"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.duration)+")",1)])):Object(r["createCommentVNode"])("",!0)]),Object(r["createVNode"])("div",J,[X,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.distance)+" km",1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"FD"},null,8,["workoutObject"])]),Object(r["createVNode"])("div",Y,[Q,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.AVERAGE_SPEED"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.aveSpeed)+" km/h",1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"AS"},null,8,["workoutObject"]),ee,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.MAX_SPEED"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.maxSpeed)+" km/h",1),Object(r["createVNode"])(l,{workoutObject:e.workoutObject,record_type:"MS"},null,8,["workoutObject"])]),null!==e.workoutObject.maxAlt&&null!==e.workoutObject.minAlt?(Object(r["openBlock"])(),Object(r["createBlock"])("div",te,[Object(r["createVNode"])("img",{class:"mountains",src:"/img/workouts/mountains.svg",alt:e.$t("workouts.ELEVATION")},null,8,["alt"]),Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.MIN_ALTITUDE"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.minAlt)+" m",1),oe,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.MAX_ALTITUDE"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.maxAlt)+" m",1)])):Object(r["createCommentVNode"])("",!0),null!==e.workoutObject.ascent&&null!==e.workoutObject.descent?(Object(r["openBlock"])(),Object(r["createBlock"])("div",re,[ae,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.ASCENT"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.ascent)+" m",1),ne,Object(r["createTextVNode"])(" "+Object(r["toDisplayString"])(e.$t("workouts.DESCENT"))+": ",1),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.workoutObject.descent)+" m",1)])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])(i,{workoutObject:e.workoutObject},null,8,["workoutObject"])])})),le=Object(r["withScopeId"])("data-v-da96984c");Object(r["pushScopeId"])("data-v-da96984c");var ie={key:0,class:"workout-record"},ue=Object(r["createVNode"])("sup",null,[Object(r["createVNode"])("i",{class:"fa fa-trophy","aria-hidden":"true"})],-1);Object(r["popScopeId"])();var se=le((function(e,t,o,a,n,c){return e.workoutObject.records&&e.workoutObject.records.find((function(t){return t.record_type===e.record_type}))?(Object(r["openBlock"])(),Object(r["createBlock"])("span",ie,[ue])):Object(r["createCommentVNode"])("",!0)})),de=Object(r["defineComponent"])({name:"WorkoutRecord",props:{record_type:{type:String,required:!0},workoutObject:{type:Object,required:!0}}});o("bfb4");de.render=se,de.__scopeId="data-v-da96984c";var pe=de,be=Object(r["withScopeId"])("data-v-7eb41918");Object(r["pushScopeId"])("data-v-7eb41918");var Oe={key:0,id:"workout-weather"},je={class:"weather-table"},me=Object(r["createVNode"])("th",null,null,-1),fe={class:"weather-th"},ke={class:"weather-th"};Object(r["popScopeId"])();var ge=be((function(e,t,o,a,n,c){return e.workoutObject.weatherStart&&e.workoutObject.weatherEnd?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Oe,[Object(r["createVNode"])("table",je,[Object(r["createVNode"])("thead",null,[Object(r["createVNode"])("tr",null,[me,Object(r["createVNode"])("th",null,[Object(r["createVNode"])("div",fe,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.START"))+" ",1),Object(r["createVNode"])("img",{class:"weather-img",src:"/img/weather/".concat(e.workoutObject.weatherStart.icon,".svg"),alt:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherStart.icon)),title:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherStart.icon))},null,8,["src","alt","title"])])]),Object(r["createVNode"])("th",null,[Object(r["createVNode"])("div",ke,[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.END"))+" ",1),Object(r["createVNode"])("img",{class:"weather-img",src:"/img/weather/".concat(e.workoutObject.weatherEnd.icon,".svg"),alt:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherEnd.icon)),title:e.$t("workouts.WEATHER.DARK_SKY.".concat(e.workoutObject.weatherEnd.icon))},null,8,["src","alt","title"])])])])]),Object(r["createVNode"])("tbody",null,[Object(r["createVNode"])("tr",null,[Object(r["createVNode"])("td",null,[Object(r["createVNode"])("img",{class:"weather-img weather-img-small",src:"/img/weather/temperature.svg",alt:e.$t("workouts.WEATHER.TEMPERATURE"),title:e.$t("workouts.WEATHER.TEMPERATURE")},null,8,["alt","title"])]),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherStart.temperature).toFixed(1))+"°C ",1),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherEnd.temperature).toFixed(1))+"°C ",1)]),Object(r["createVNode"])("tr",null,[Object(r["createVNode"])("td",null,[Object(r["createVNode"])("img",{class:"weather-img weather-img-small",src:"/img/weather/pour-rain.svg",alt:e.$t("workouts.WEATHER.HUMIDITY"),title:e.$t("workouts.WEATHER.HUMIDITY")},null,8,["alt","title"])]),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(100*e.workoutObject.weatherStart.humidity).toFixed(1))+"% ",1),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(100*e.workoutObject.weatherEnd.humidity).toFixed(1))+"% ",1)]),Object(r["createVNode"])("tr",null,[Object(r["createVNode"])("td",null,[Object(r["createVNode"])("img",{class:"weather-img weather-img-small",src:"/img/weather/breeze.svg",alt:e.$t("workouts.WEATHER.WIND"),title:e.$t("workouts.WEATHER.WIND")},null,8,["alt","title"])]),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherStart.wind).toFixed(1))+"m/s",1),Object(r["createVNode"])("td",null,Object(r["toDisplayString"])(Number(e.workoutObject.weatherEnd.wind).toFixed(1))+"m/s",1)])])])])):Object(r["createCommentVNode"])("",!0)})),ye=Object(r["defineComponent"])({name:"WorkoutWeather",props:{workoutObject:{type:Object,required:!0}}});o("6595");ye.render=ge,ye.__scopeId="data-v-7eb41918";var we=ye,he=Object(r["defineComponent"])({name:"WorkoutData",components:{WorkoutRecord:pe,WorkoutWeather:we},props:{workoutObject:{type:Object,required:!0}},setup:function(e){return{withPause:Object(r["computed"])((function(){return"0:00:00"!==e.workoutObject.pauses&&null!==e.workoutObject.pauses}))}}});o("c04f");he.render=ce,he.__scopeId="data-v-45a7f031";var ve=he,Ne=Object(r["withScopeId"])("data-v-76f3a2e8");Object(r["pushScopeId"])("data-v-76f3a2e8");var Se={id:"workout-map"},Te={key:0,class:"leaflet-container"},De={key:1},Ve={key:0,class:"leaflet-container"},Ce={key:1,class:"no-map"};Object(r["popScopeId"])();var _e=Ne((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("LTileLayer"),i=Object(r["resolveComponent"])("LGeoJson"),u=Object(r["resolveComponent"])("LMarker"),s=Object(r["resolveComponent"])("LMap");return Object(r["openBlock"])(),Object(r["createBlock"])("div",Se,[e.workoutData.loading?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Te)):(Object(r["openBlock"])(),Object(r["createBlock"])("div",De,[e.workoutData.workout.with_gpx?(Object(r["openBlock"])(),Object(r["createBlock"])("div",Ve,[e.geoJson.jsonData&&e.center&&2===e.bounds.length?(Object(r["openBlock"])(),Object(r["createBlock"])(s,{key:0,zoom:13,center:e.center,bounds:e.bounds,ref:"workoutMap",onReady:t[1]||(t[1]=function(t){return e.fitBounds(e.bounds)})},{default:Ne((function(){return[Object(r["createVNode"])(l,{url:"".concat(e.getApiUrl(),"workouts/map_tile/{s}/{z}/{x}/{y}.png"),attribution:e.appConfig.map_attribution,bounds:e.bounds},null,8,["url","attribution","bounds"]),Object(r["createVNode"])(i,{geojson:e.geoJson.jsonData},null,8,["geojson"]),e.markerCoordinates.latitude?(Object(r["openBlock"])(),Object(r["createBlock"])(u,{key:0,"lat-lng":[e.markerCoordinates.latitude,e.markerCoordinates.longitude]},null,8,["lat-lng"])):Object(r["createCommentVNode"])("",!0)]})),_:1},8,["center","bounds"])):Object(r["createCommentVNode"])("",!0)])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",Ce,Object(r["toDisplayString"])(e.$t("workouts.NO_MAP")),1))]))])})),Ee=o("e94f"),xe=o("5afd"),Ae=o("dad5"),Be=o("2906"),Ie=o("d257"),Re=Object(r["defineComponent"])({name:"WorkoutMap",components:{LGeoJson:xe["a"],LMap:xe["b"],LMarker:xe["c"],LTileLayer:xe["d"]},props:{workoutData:{type:Object},markerCoordinates:{type:Object,required:!1}},setup:function(e){var t=Object(Be["a"])();function o(e){if(!e||""!==e)try{var t=Object(Ee["gpx"])((new DOMParser).parseFromString(e,"text/xml"));return{jsonData:t}}catch(o){return console.error("Invalid gpx content"),{}}return{}}function a(e){return[(e.value[0][0]+e.value[1][0])/2,(e.value[0][1]+e.value[1][1])/2]}function n(e){var t,o;null!==(t=c.value)&&void 0!==t&&t.leafletObject&&(null===(o=c.value)||void 0===o||o.leafletObject.fitBounds(e))}var c=Object(r["ref"])(null),l=Object(r["computed"])((function(){return e.workoutData?[[e.workoutData.workout.bounds[0],e.workoutData.workout.bounds[1]],[e.workoutData.workout.bounds[2],e.workoutData.workout.bounds[3]]]:[]})),i=Object(r["computed"])((function(){return t.getters[Ae["a"].GETTERS.APP_CONFIG]})),u=Object(r["computed"])((function(){return a(l)})),s=Object(r["computed"])((function(){return e.workoutData&&e.workoutData.gpx?o(e.workoutData.gpx):{}}));return{appConfig:i,bounds:l,center:u,geoJson:s,workoutMap:c,fitBounds:n,getApiUrl:Ie["a"]}}});o("2794");Re.render=_e,Re.__scopeId="data-v-76f3a2e8";var Le=Re,Ue=o("5e65"),Me=Object(r["defineComponent"])({name:"WorkoutDetail",components:{WorkoutCardTitle:G,WorkoutData:ve,WorkoutMap:Le},props:{authUser:{type:Object,required:!0},displaySegment:{type:Boolean,required:!0},markerCoordinates:{type:Object,required:!1},sports:{type:Object},workoutData:{type:Object,required:!0}},setup:function(e){var t=Object(b["c"])(),o=Object(Be["a"])();function a(e,t,o){var r=t&&o&&1!==o?"/workouts/".concat(e.id,"/segment/").concat(o-1):!t&&e.previous_workout?"/workouts/".concat(e.previous_workout):null,a=t&&o&&o0&&u.value?i.value.segments[+u.value-1]:null})),d=Object(r["ref"])(!1);return Object(r["watch"])((function(){return t.params.segmentId}),function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t&&(u.value=+t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),{sport:Object(r["computed"])((function(){return e.sports?e.sports.find((function(t){return t.id===e.workoutData.workout.sport_id})):{}})),workoutObject:Object(r["computed"])((function(){return n(i.value,s.value)})),displayModal:d,deleteWorkout:l,updateDisplayModal:c}}});o("c2ce");Me.render=V,Me.__scopeId="data-v-a17554ea";var We=Me,Pe=Object(r["withScopeId"])("data-v-5c47d30a");Object(r["pushScopeId"])("data-v-5c47d30a");var Fe={id:"workout-note"};Object(r["popScopeId"])();var $e=Pe((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",Fe,[Object(r["createVNode"])(l,null,{title:Pe((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.NOTES")),1)]})),content:Pe((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.notes&&""!==e.notes?e.notes:e.$t("workouts.NO_NOTES")),1)]})),_:1})])})),Ge=Object(r["defineComponent"])({name:"WorkoutNotes",props:{notes:{type:String,required:!1}}});o("42ec");Ge.render=$e,Ge.__scopeId="data-v-5c47d30a";var ze=Ge,He=Object(r["withScopeId"])("data-v-5c40d110");Object(r["pushScopeId"])("data-v-5c40d110");var Ke={id:"workout-segments"};Object(r["popScopeId"])();var qe=He((function(e,t,o,a,n,c){var l=Object(r["resolveComponent"])("router-link"),i=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",Ke,[Object(r["createVNode"])(i,null,{title:He((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.SEGMENT",2)),1)]})),content:He((function(){return[Object(r["createVNode"])("ul",null,[(Object(r["openBlock"])(!0),Object(r["createBlock"])(r["Fragment"],null,Object(r["renderList"])(e.segments,(function(t,o){return Object(r["openBlock"])(),Object(r["createBlock"])("li",{key:t.segment_id},[Object(r["createVNode"])(l,{to:{name:"WorkoutSegment",params:{workoutId:t.workout_id,segmentId:o+1}}},{default:He((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.SEGMENT",1))+" "+Object(r["toDisplayString"])(o+1),1)]})),_:2},1032,["to"]),Object(r["createTextVNode"])(" ("+Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+": "+Object(r["toDisplayString"])(t.distance)+" km, "+Object(r["toDisplayString"])(e.$t("workouts.DURATION"))+": "+Object(r["toDisplayString"])(t.duration)+") ",1)])})),128))])]})),_:1})])})),Ze=Object(r["defineComponent"])({name:"WorkoutSegments",props:{segments:{type:Object,required:!0}}});o("628e");Ze.render=qe,Ze.__scopeId="data-v-5c40d110";var Je=Ze,Xe=Object(r["defineComponent"])({name:"Workout",components:{NotFound:O["a"],WorkoutChart:S,WorkoutDetail:We,WorkoutNotes:ze,WorkoutSegments:Je},props:{displaySegment:{type:Boolean,required:!0}},setup:function(e){var t=Object(b["c"])(),o=Object(Be["a"])();Object(r["onBeforeMount"])((function(){var r={workoutId:t.params.workoutId};e.displaySegment&&(r.segmentId=t.params.segmentId),o.dispatch(Ae["f"].ACTIONS.GET_WORKOUT_DATA,r)}));var a=Object(r["computed"])((function(){return o.getters[Ae["f"].GETTERS.WORKOUT_DATA]})),n=Object(r["computed"])((function(){return o.getters[Ae["e"].GETTERS.AUTH_USER_PROFILE]})),c=Object(r["computed"])((function(){return o.getters[Ae["b"].GETTERS.SPORTS]})),l=Object(r["ref"])({latitude:null,longitude:null});function i(e){l.value={latitude:e.latitude,longitude:e.longitude}}return Object(r["watch"])((function(){return t.params.workoutId}),function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t&&o.dispatch(Ae["f"].ACTIONS.GET_WORKOUT_DATA,{workoutId:t});case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Object(r["watch"])((function(){return t.params.segmentId}),function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(r){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.params.workoutId&&(a={workoutId:t.params.workoutId},r&&(a.segmentId=r),o.dispatch(Ae["f"].ACTIONS.GET_WORKOUT_DATA,a));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Object(r["onUnmounted"])((function(){o.commit(Ae["f"].MUTATIONS.EMPTY_WORKOUT)})),{authUser:n,markerCoordinates:l,sports:c,workoutData:a,updateCoordinates:i}}});o("5be4");Xe.render=d,Xe.__scopeId="data-v-a4156454";t["default"]=Xe},3854:function(e,t,o){},"42ec":function(e,t,o){"use strict";o("8300")},5687:function(e,t,o){"use strict";o("bef2")},5910:function(e,t,o){"use strict";o("b76e")},"5ab5":function(e,t,o){"use strict";o("86b9")},"5afd":function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return V})),o.d(t,"b",(function(){return x})),o.d(t,"c",(function(){return I})),o.d(t,"d",(function(){return P}));var r=o("7a23");const a=(e,t)=>{let o;return function(...r){const a=this;o&&clearTimeout(o),o=setTimeout(()=>{e.apply(a,r),o=null},t)}},n=e=>e&&"function"===typeof e.charAt?e.charAt(0).toUpperCase()+e.slice(1):e,c=(e,t,o)=>{for(const a in o){const c="set"+n(a);e[c]?Object(r["watch"])(()=>o[a],(t,o)=>{e[c](t,o)}):t[c]&&Object(r["watch"])(()=>o[a],e=>{t[c](e)})}},l=e=>{const t={};for(const o in e)if(o.startsWith("on")&&!o.startsWith("onUpdate")&&"onReady"!==o){const r=o.slice(2).toLocaleLowerCase();t[r]=e[o]}return t},i=async e=>{const t=await Promise.all([o.e("chunk-2d0c9189").then(o.t.bind(null,"584d",7)),o.e("chunk-2d0cf391").then(o.t.bind(null,"6397",7)),o.e("chunk-2d22523a").then(o.t.bind(null,"e2b9",7))]);delete e.Default.prototype._getIconUrl,e.Default.mergeOptions({iconRetinaUrl:t[0].default,iconUrl:t[1].default,shadowUrl:t[2].default})},u=e=>{const t=Object(r["ref"])(()=>console.warn(`Method ${e} has been invoked without being replaced`)),o=(...e)=>t.value(...e);return o.wrapped=t,Object(r["provide"])(e,o),o},s=(e,t)=>e.wrapped.value=t,d="object"===typeof self&&self.self===self&&self||"object"===typeof e&&e.global===e&&e||void 0,p="useGlobalLeaflet",b={options:{type:Object,default:()=>({})}},O=e=>({options:e.options,methods:{}}),j={...b,pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},m=(e,t,o)=>{const a=Object(r["inject"])("addLayer"),n=Object(r["inject"])("removeLayer"),{options:c,methods:l}=O(e),i={...c,attribution:e.attribution,pane:e.pane},u=()=>a({leafletObject:t.value}),s=()=>n({leafletObject:t.value}),d={...l,setAttribution(e,t){const o=this.$parent.leafletObject.attributionControl;o.removeAttribution(t).addAttribution(e)},setName(){s(),e.visible&&u()},setLayerType(){s(),e.visible&&u()},setVisible(e){t.value&&(e?u():s())},bindPopup({leafletObject:e}){t.value.bindPopup(e)},bindTooltip({leafletObject:e}){t.value.bindTooltip(e)},unbindTooltip(){const e=t.value?t.value.getTooltip():null;e&&e.unbindTooltip()},unbindPopup(){const e=t.value?t.value.getPopup():null;e&&e.unbindPopup()},updateVisibleProp(e){o.emit("update:visible",e)}};return Object(r["provide"])("bindPopup",d.bindPopup),Object(r["provide"])("bindTooltip",d.bindTooltip),Object(r["provide"])("unbindTooltip",d.unbindTooltip),Object(r["provide"])("unbindPopup",d.unbindPopup),Object(r["onUnmounted"])(()=>{d.unbindPopup(),d.unbindTooltip(),s()}),{options:i,methods:d}},f=(e,t)=>{if(e&&t.default)return Object(r["h"])("div",{style:{display:"none"}},t.default())},k={...b,interactive:{type:Boolean,default:!0},bubblingMouseEvents:{type:Boolean,default:!0}},g={...j,...k,stroke:{type:Boolean,custom:!0,default:!0},color:{type:String,custom:!0,default:"#3388ff"},weight:{type:Number,custom:!0,default:3},opacity:{type:Number,custom:!0,default:1},lineCap:{type:String,custom:!0,default:"round"},lineJoin:{type:String,custom:!0,default:"round"},dashArray:{type:String,custom:!0,default:null},dashOffset:{type:String,custom:!0,default:null},fill:{type:Boolean,custom:!0,default:!1},fillColor:{type:String,custom:!0,default:"#3388ff"},fillOpacity:{type:Number,custom:!0,default:.2},fillRule:{type:String,custom:!0,default:"evenodd"},className:{type:String,custom:!0,default:null}},y={...g,latLng:{type:[Object,Array],custom:!0,default:null},radius:{type:Number,default:null}};const w={...b,position:{type:String,default:"topright"}},h=(e,t)=>{const{options:o,methods:a}=O(e),n={...o,position:e.position},c={...a,setPosition(e){t.value&&t.value.setPosition(e)}};return Object(r["onUnmounted"])(()=>{t.value&&t.value.remove()}),{options:n,methods:c}},v=e=>e.default?Object(r["h"])("div",{ref:"root"},e.default()):null;Boolean,Boolean;Boolean,Boolean,Boolean,Boolean;Boolean,Boolean,Boolean;const N={...j},S=(e,t,o)=>{const{options:a,methods:n}=m(e,t,o),c={...a},l={...n,addLayer(e){t.value.addLayer(e.leafletObject)},removeLayer(e){t.value.removeLayer(e.leafletObject)}};return Object(r["provide"])("addLayer",l.addLayer),Object(r["provide"])("removeLayer",l.removeLayer),{options:c,methods:l}};const T={...N,geojson:{type:[Object,Array],default:()=>({})}},D=(e,t)=>{const{options:o,methods:r}=S(e,t),a={...o,...e},n={...r,setGeojson(e){t.value.clearLayers(),t.value.addData(e)},getGeoJSONData(){return t.value.toGeoJSON()},getBounds(){return t.value.getBounds()}};return{options:a,methods:n}};var V={props:T,setup(e,t){const a=Object(r["ref"])({}),n=Object(r["ref"])(!1),i=Object(r["inject"])(p),u=Object(r["inject"])("addLayer"),{methods:s,options:b}=D(e,a);return Object(r["onMounted"])(async()=>{const{geoJSON:p,DomEvent:O}=i?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));a.value=p(e.geojson,b);const j=l(t.attrs);O.on(a.value,j),c(s,a.value,e),u({...e,...s,leafletObject:a.value}),n.value=!0,Object(r["nextTick"])(()=>t.emit("ready",a.value))}),{ready:n,leafletObject:a}},render(){return f(this.ready,this.$slots)},__file:"src/components/LGeoJson.vue"};const C={...j,pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1},minZoom:{type:Number,default:0},maxZoom:{type:Number,default:void 0}},_=(e,t,o)=>{const{options:r,methods:a}=m(e,t,o),n={...r,pane:e.pane,opacity:e.opacity,zIndex:e.zIndex,tileSize:e.tileSize,noWrap:e.noWrap,minZoom:e.minZoom,maxZoom:e.maxZoom};return{options:n,methods:{...a}}};const E={iconUrl:{type:String,custom:!0,default:null},iconRetinaUrl:{type:String,custom:!0,default:null},iconSize:{type:[Object,Array],custom:!0,default:null},iconAnchor:{type:[Object,Array],custom:!0,default:null},popupAnchor:{type:[Object,Array],custom:!0,default:()=>[0,0]},tooltipAnchor:{type:[Object,Array],custom:!0,default:()=>[0,0]},shadowUrl:{type:String,custom:!0,default:null},shadowRetinaUrl:{type:String,custom:!0,default:null},shadowSize:{type:[Object,Array],custom:!0,default:null},shadowAnchor:{type:[Object,Array],custom:!0,default:null},bgPos:{type:[Object,Array],custom:!0,default:()=>[0,0]},className:{type:String,custom:!0,default:""},options:{type:Object,custom:!0,default:()=>({})}};Boolean,Boolean;var x={emits:["ready","update:zoom","update:center","update:bounds"],props:{...b,center:{type:[Object,Array],default:()=>[0,0]},bounds:{type:[Array,Object],default:void 0},maxBounds:{type:[Array,Object],default:void 0},zoom:{type:Number,default:0},minZoom:{type:Number,default:void 0},maxZoom:{type:Number,default:void 0},paddingBottomRight:{type:Array,default:void 0},paddingTopLeft:{type:Array,default:void 0},padding:{type:Array,default:void 0},worldCopyJump:{type:Boolean,default:!1},crs:{type:[String,Object],default:"EPSG3857"},maxBoundsViscosity:{type:Number,default:void 0},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number,default:void 0},inertiaMaxSpeed:{type:Number,default:void 0},easeLinearity:{type:Number,default:void 0},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number,default:void 0},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:!1},useGlobalLeaflet:{type:Boolean,default:!1}},setup(e,t){const n=Object(r["ref"])(null),b=Object(r["reactive"])({ready:!1,leafletRef:{},layersToAdd:[],layersInControl:[]}),{options:j}=O(e),m={...j,minZoom:e.minZoom,maxZoom:e.maxZoom,maxBounds:e.maxBounds,maxBoundsViscosity:e.maxBoundsViscosity,worldCopyJump:e.worldCopyJump,crs:e.crs,center:e.center,zoom:e.zoom,inertia:e.inertia,inertiaDeceleration:e.inertiaDeceleration,inertiaMaxSpeed:e.inertiaMaxSpeed,easeLinearity:e.easeLinearity,zoomAnimation:e.zoomAnimation,zoomAnimationThreshold:e.zoomAnimationThreshold,fadeAnimation:e.fadeAnimation,markerZoomAnimation:e.markerZoomAnimation},f=u("addLayer"),k=u("removeLayer"),g=u("registerControl"),y=u("registerLayerControl");Object(r["provide"])(p,e.useGlobalLeaflet);const w={moveEndHandler(){t.emit("update:zoom",b.leafletRef.getZoom()),t.emit("update:center",b.leafletRef.getCenter()),t.emit("update:bounds",b.leafletRef.getBounds())},overlayAddHandler(e){const t=b.layersInControl.find(t=>t.name===e.name);t&&t.updateVisibleProp(!0)},overlayRemoveHandler(e){const t=b.layersInControl.find(t=>t.name===e.name);t&&t.updateVisibleProp(!1)}};Object(r["onMounted"])(async()=>{e.useGlobalLeaflet&&(d.L=d.L||await o.e("chunk-2d2248b6").then(o.t.bind(null,"e11e",7)));const{map:u,CRS:p,Icon:O,latLngBounds:j,latLng:h,DomEvent:v}=e.useGlobalLeaflet?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));try{m.beforeMapMount&&await m.beforeMapMount()}catch(D){console.error("The following error occurred running the provided beforeMapMount hook "+D.message)}await i(O);const N="string"==typeof m.crs?p[m.crs]:m.crs;m.crs=N||p.EPSG3857;const S={addLayer(e){if(void 0!==e.layerType)if(void 0===b.layerControl)b.layersToAdd.push(e);else{const t=b.layersInControl.find(t=>t.leafletObject._leaflet_id===e.leafletObject._leaflet_id);t||(b.layerControl.addLayer(e),b.layersInControl.push(e))}!1!==e.visible&&b.leafletRef.addLayer(e.leafletObject)},removeLayer(e){void 0!==e.layerType&&(void 0===b.layerControl?b.layersToAdd=b.layersToAdd.filter(t=>t.name!==e.name):(b.layerControl.removeLayer(e.leafletObject),b.layersInControl=b.layersInControl.filter(t=>t.leafletObject._leaflet_id!==e.leafletObject._leaflet_id))),b.leafletRef.removeLayer(e.leafletObject)},registerLayerControl(e){b.layerControl=e,b.layersToAdd.forEach(e=>{b.layerControl.addLayer(e)}),b.layersToAdd=[],g(e)},registerControl(e){b.leafletRef.addControl(e.leafletObject)},setZoom(t){const o=b.leafletRef.getZoom();t!==o&&b.leafletRef.setZoom(t,{animate:!e.noBlockingAnimations&&null})},setPaddingBottomRight(e){b.paddingBottomRight=e},setPaddingTopLeft(e){b.paddingTopLeft=e},setPadding(e){b.padding=e},setCrs(e){const t=b.leafletRef.getBounds();b.leafletRef.options.crs=e,b.leafletRef.fitBounds(t,{animate:!1,padding:[0,0]})},fitBounds(e){b.leafletRef.fitBounds(e,{animate:!this.noBlockingAnimations&&null})},setBounds(e){if(!e)return;const t=j(e);if(!t.isValid())return;const o=b.lastSetBounds||b.leafletRef.getBounds(),r=!o.equals(t,0);r&&(b.lastSetBounds=t,b.leafletRef.fitBounds(t,this.fitBoundsOptions))},setCenter(e){if(null==e)return;const t=h(e),o=b.lastSetCenter||b.leafletRef.getCenter();o.lat===t.lat&&o.lng===t.lng||(b.lastSetCenter=t,b.leafletRef.panTo(t,{animate:!this.noBlockingAnimations&&null}))}};s(f,S.addLayer),s(k,S.removeLayer),s(g,S.registerControl),s(y,S.registerLayerControl),b.leafletRef=u(n.value,m),c(S,b.leafletRef,e);const T=l(t.attrs);b.leafletRef.on("moveend",a(w.moveEndHandler,100)),b.leafletRef.on("overlayadd",w.overlayAddHandler),b.leafletRef.on("overlayremove",w.overlayRemoveHandler),v.on(b.leafletRef,T),b.ready=!0,Object(r["nextTick"])(()=>t.emit("ready",b.leafletRef))}),Object(r["onBeforeUnmount"])(()=>{b.leafletRef&&b.leafletRef.remove()});const h=Object(r["computed"])(()=>b.leafletRef),v=Object(r["computed"])(()=>b.ready);return{root:n,ready:v,leafletObject:h}},render(){return Object(r["h"])("div",{style:{width:"100%",height:"100%"},ref:"root"},this.ready?this.$slots.default():{})},__file:"src/components/LMap.vue"};const A={...j,pane:{type:String,default:"markerPane"},draggable:{type:Boolean,custom:!0,default:!1},latLng:{type:[Object,Array],custom:!0,default:null},icon:{type:[Object],default:()=>{},custom:!1},zIndexOffset:{type:Number,custom:!1,default:null}},B=(e,t,o)=>{const{options:r,methods:a}=m(e,t,o),n={...r,...e},c={...a,setDraggable(e){t.value.dragging&&(e?t.value.dragging.enable():t.value.dragging.disable())},latLngSync(e){o.emit("update:latLng",e.latlng),o.emit("update:lat-lng",e.latlng)},setLatLng(e){if(null!=e&&t.value){const o=t.value.getLatLng();o&&o.equals(e)||t.value.setLatLng(e)}}};return{options:n,methods:c}};var I={name:"LMarker",props:A,setup(e,t){const n=Object(r["ref"])({}),i=Object(r["ref"])(!1),u=Object(r["inject"])(p),s=Object(r["inject"])("addLayer");Object(r["provide"])("canSetParentHtml",()=>!!n.value.getElement()),Object(r["provide"])("setParentHtml",e=>n.value.getElement().innerHTML=e),Object(r["provide"])("setIcon",e=>n.value.setIcon&&n.value.setIcon(e));const{options:b,methods:O}=B(e,n,t);return void 0===b.icon&&delete b.icon,Object(r["onMounted"])(async()=>{const{marker:p,DomEvent:j}=u?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));n.value=p(e.latLng,b);const m=l(t.attrs);j.on(n.value,m),n.value.on("move",a(O.latLngSync,100)),c(O,n.value,e),s({...e,...O,leafletObject:n.value}),i.value=!0,Object(r["nextTick"])(()=>t.emit("ready",n.value))}),{ready:i,leafletObject:n}},render(){return f(this.ready,this.$slots)},__file:"src/components/LMarker.vue"};const R={...g,latLngs:{type:Array,default:()=>[]},smoothFactor:{type:Number,custom:!0,default:1},noClip:{type:Boolean,custom:!0,default:!1}},L={...R};const U={...b,content:{type:String,default:null}};const M={...C,tms:{type:Boolean,default:!1},subdomains:{type:String,default:"abc"},detectRetina:{type:Boolean,default:!1},url:{type:String,default:null}},W=(e,t)=>{const{options:o,methods:r}=_(e,t),a={...o,tms:e.tms,subdomains:e.subdomains,detectRetina:e.detectRetina};return{options:a,methods:{...r}}};var P={props:M,setup(e,t){const a=Object(r["ref"])({}),n=Object(r["inject"])(p),i=Object(r["inject"])("addLayer"),{options:u,methods:s}=W(e,a);return Object(r["onMounted"])(async()=>{const{tileLayer:p,DomEvent:b}=n?d.L:await o.e("chunk-2d0da8f3").then(o.bind(null,"6bb3"));a.value=p(e.url,u);const O=l(t.attrs);b.on(a.value,O),c(s,a.value,e),i({...e,...s,leafletObject:a.value}),Object(r["nextTick"])(()=>t.emit("ready",a.value))}),{leafletObject:a}},render(){return null},__file:"src/components/LTileLayer.vue"};Boolean,Boolean}).call(this,o("c8ba"))},"5be4":function(e,t,o){"use strict";o("8ee6")},"5c76":function(e,t,o){"use strict";o("4de4");var r=o("7a23"),a=Object(r["withScopeId"])("data-v-0dfe7a73");Object(r["pushScopeId"])("data-v-0dfe7a73");var n={id:"workout-form"},c={class:"form-items"},l={key:0,class:"form-item-radio"},i={for:"withGpx"},u={for:"withoutGpx"},s={class:"form-item"},d={key:1,class:"form-item"},p={for:"gpxFile"},b={class:"files-help info-box"},O={key:2,class:"form-item"},j={for:"title"},m={key:3},f={class:"workout-date-duration"},k={class:"form-item"},g={class:"workout-date-time"},y={class:"form-item"},w=Object(r["createTextVNode"])(" : "),h=Object(r["createTextVNode"])(" : "),v={class:"form-item"},N={class:"form-item"},S={key:1},T={key:2,class:"form-buttons"};Object(r["popScopeId"])();var D=a((function(e,t,o,D,V,C){var _=Object(r["resolveComponent"])("CustomTextArea"),E=Object(r["resolveComponent"])("ErrorMessage"),x=Object(r["resolveComponent"])("Loader"),A=Object(r["resolveComponent"])("Card");return Object(r["openBlock"])(),Object(r["createBlock"])("div",{id:"workout-edition",class:["center-card center-card with-margin",{"center-form":e.workout&&e.workout.with_gpx}]},[Object(r["createVNode"])(A,null,{title:a((function(){return[Object(r["createTextVNode"])(Object(r["toDisplayString"])(e.$t("workouts.".concat(e.isCreation?"ADD":"EDIT","_WORKOUT"))),1)]})),content:a((function(){return[Object(r["createVNode"])("div",n,[Object(r["createVNode"])("form",{onSubmit:t[13]||(t[13]=Object(r["withModifiers"])((function(){return e.updateWorkout&&e.updateWorkout.apply(e,arguments)}),["prevent"]))},[Object(r["createVNode"])("div",c,[e.isCreation?(Object(r["openBlock"])(),Object(r["createBlock"])("div",l,[Object(r["createVNode"])("div",null,[Object(r["createVNode"])("input",{id:"withGpx",type:"radio",checked:e.withGpx,disabled:e.loading,onClick:t[1]||(t[1]=function(){return e.updateWithGpx&&e.updateWithGpx.apply(e,arguments)})},null,8,["checked","disabled"]),Object(r["createVNode"])("label",i,Object(r["toDisplayString"])(e.$t("workouts.WITH_GPX")),1)]),Object(r["createVNode"])("div",null,[Object(r["createVNode"])("input",{id:"withoutGpx",type:"radio",checked:!e.withGpx,disabled:e.loading,onClick:t[2]||(t[2]=function(){return e.updateWithGpx&&e.updateWithGpx.apply(e,arguments)})},null,8,["checked","disabled"]),Object(r["createVNode"])("label",u,Object(r["toDisplayString"])(e.$t("workouts.WITHOUT_GPX")),1)])])):Object(r["createCommentVNode"])("",!0),Object(r["createVNode"])("div",s,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.SPORT",1))+": ",1),Object(r["withDirectives"])(Object(r["createVNode"])("select",{id:"sport",required:"",disabled:e.loading,"onUpdate:modelValue":t[3]||(t[3]=function(t){return e.workoutDataObject.sport_id=t})},[(Object(r["openBlock"])(!0),Object(r["createBlock"])(r["Fragment"],null,Object(r["renderList"])(e.translatedSports.filter((function(e){return e.is_active})),(function(e){return Object(r["openBlock"])(),Object(r["createBlock"])("option",{value:e.id,key:e.id},Object(r["toDisplayString"])(e.label),9,["value"])})),128))],8,["disabled"]),[[r["vModelSelect"],e.workoutDataObject.sport_id]])]),e.isCreation&&e.withGpx?(Object(r["openBlock"])(),Object(r["createBlock"])("div",d,[Object(r["createVNode"])("label",p,Object(r["toDisplayString"])(e.$t("workouts.GPX_FILE"))+" "+Object(r["toDisplayString"])(e.$t("workouts.ZIP_ARCHIVE_DESCRIPTION"))+": ",1),Object(r["createVNode"])("input",{id:"gpxFile",name:"gpxFile",type:"file",accept:".gpx, .zip",disabled:e.loading,onInput:t[4]||(t[4]=function(){return e.updateFile&&e.updateFile.apply(e,arguments)})},null,40,["disabled"]),Object(r["createVNode"])("div",b,[Object(r["createVNode"])("div",null,[Object(r["createVNode"])("strong",null,Object(r["toDisplayString"])(e.$t("workouts.GPX_FILE"))+":",1),Object(r["createVNode"])("ul",null,[Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.MAX_SIZE"))+": "+Object(r["toDisplayString"])(e.fileSizeLimit),1)])]),Object(r["createVNode"])("div",null,[Object(r["createVNode"])("strong",null,Object(r["toDisplayString"])(e.$t("workouts.ZIP_ARCHIVE"))+":",1),Object(r["createVNode"])("ul",null,[Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.NO_FOLDER")),1),Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.MAX_FILES"))+": "+Object(r["toDisplayString"])(e.gpx_limit_import),1),Object(r["createVNode"])("li",null,Object(r["toDisplayString"])(e.$t("workouts.MAX_SIZE"))+": "+Object(r["toDisplayString"])(e.zipSizeLimit),1)])])])])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",O,[Object(r["createVNode"])("label",j,Object(r["toDisplayString"])(e.$t("workouts.TITLE"))+": ",1),Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"title",name:"title",type:"text",required:!e.isCreation,disabled:e.loading,"onUpdate:modelValue":t[5]||(t[5]=function(t){return e.workoutDataObject.title=t})},null,8,["required","disabled"]),[[r["vModelText"],e.workoutDataObject.title]])])),e.withGpx?Object(r["createCommentVNode"])("",!0):(Object(r["openBlock"])(),Object(r["createBlock"])("div",m,[Object(r["createVNode"])("div",f,[Object(r["createVNode"])("div",k,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.WORKOUT_DATE"))+":",1),Object(r["createVNode"])("div",g,[Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-date",name:"workout-date",type:"date",required:"",disabled:e.loading,"onUpdate:modelValue":t[6]||(t[6]=function(t){return e.workoutDataObject.workoutDate=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDate]]),Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-time",name:"workout-time",class:"workout-time",type:"time",required:"",disabled:e.loading,"onUpdate:modelValue":t[7]||(t[7]=function(t){return e.workoutDataObject.workoutTime=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutTime]])])]),Object(r["createVNode"])("div",y,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.DURATION"))+":",1),Object(r["createVNode"])("div",null,[Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-duration-hour",name:"workout-duration-hour",class:"workout-duration",type:"text",placeholder:"HH",pattern:"^([0-9]*[0-9])$",required:"",disabled:e.loading,"onUpdate:modelValue":t[8]||(t[8]=function(t){return e.workoutDataObject.workoutDurationHour=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDurationHour]]),w,Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-duration-minutes",name:"workout-duration-minutes",class:"workout-duration",type:"text",pattern:"^([0-5][0-9])$",placeholder:"MM",required:"",disabled:e.loading,"onUpdate:modelValue":t[9]||(t[9]=function(t){return e.workoutDataObject.workoutDurationMinutes=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDurationMinutes]]),h,Object(r["withDirectives"])(Object(r["createVNode"])("input",{id:"workout-duration-seconds",name:"workout-duration-seconds",class:"workout-duration",type:"text",pattern:"^([0-5][0-9])$",placeholder:"SS",required:"",disabled:e.loading,"onUpdate:modelValue":t[10]||(t[10]=function(t){return e.workoutDataObject.workoutDurationSeconds=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDurationSeconds]])])])]),Object(r["createVNode"])("div",v,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+" (km):",1),Object(r["withDirectives"])(Object(r["createVNode"])("input",{name:"workout-distance",type:"number",min:"0",step:"0.1",required:"",disabled:e.loading,"onUpdate:modelValue":t[11]||(t[11]=function(t){return e.workoutDataObject.workoutDistance=t})},null,8,["disabled"]),[[r["vModelText"],e.workoutDataObject.workoutDistance]])])])),Object(r["createVNode"])("div",N,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.NOTES"))+": ",1),Object(r["createVNode"])(_,{name:"notes",input:e.workoutDataObject.notes,disabled:e.loading,onUpdateValue:e.updateNotes},null,8,["input","disabled","onUpdateValue"])])]),e.errorMessages?(Object(r["openBlock"])(),Object(r["createBlock"])(E,{key:0,message:e.errorMessages},null,8,["message"])):Object(r["createCommentVNode"])("",!0),e.loading?(Object(r["openBlock"])(),Object(r["createBlock"])("div",S,[Object(r["createVNode"])(x)])):(Object(r["openBlock"])(),Object(r["createBlock"])("div",T,[Object(r["createVNode"])("button",{class:"confirm",type:"submit",disabled:e.loading},Object(r["toDisplayString"])(e.$t("buttons.SUBMIT")),9,["disabled"]),Object(r["createVNode"])("button",{class:"cancel",onClick:t[12]||(t[12]=Object(r["withModifiers"])((function(){return e.onCancel&&e.onCancel.apply(e,arguments)}),["prevent"]))},Object(r["toDisplayString"])(e.$t("buttons.CANCEL")),1)]))],32)])]})),_:1})],2)})),V=o("1da1"),C=(o("96cf"),o("ac1f"),o("1276"),o("99af"),o("47e2")),_=o("6c02"),E=o("dad5"),x=o("2906"),A=o("5e65"),B=o("c364"),I=o("1119"),R=Object(r["defineComponent"])({name:"WorkoutEdition",props:{authUser:{type:Object,required:!0},isCreation:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},sports:{type:Object,required:!0},workout:{type:Object,required:!1}},setup:function(e){var t=Object(C["b"])(),o=t.t,a=Object(x["a"])(),n=Object(_["d"])();Object(r["onMounted"])((function(){e.workout&&e.workout.id&&k(e.workout)}));var c=Object(r["computed"])((function(){return Object(I["d"])(e.sports,o)})),l=Object(r["computed"])((function(){return a.getters[E["a"].GETTERS.APP_CONFIG]})),i=l.value.max_single_file_size?Object(B["b"])(l.value.max_single_file_size):"",u=l.value.gpx_limit_import,s=l.value.max_zip_file_size?Object(B["b"])(l.value.max_zip_file_size):"",d=Object(r["computed"])((function(){return a.getters[E["a"].GETTERS.ERROR_MESSAGES]})),p=Object(r["reactive"])({sport_id:"",title:"",notes:"",workoutDate:"",workoutTime:"",workoutDurationHour:"",workoutDurationMinutes:"",workoutDurationSeconds:"",workoutDistance:""}),b=Object(r["ref"])(e.workout?e.workout.with_gpx:e.isCreation),O=null;function j(e){p.notes=e}function m(){b.value=!b.value}function f(e){e.target.files&&(O=e.target.files[0])}function k(t){if(p.sport_id="".concat(t.sport_id),p.title=t.title,p.notes=t.notes,!t.with_gpx){var o=Object(A["a"])(Object(A["c"])(t.workout_date,e.authUser.timezone),"yyyy-MM-dd"),r=t.duration.split(":");p.workoutDistance="".concat(t.distance),p.workoutDate=o.workout_date,p.workoutTime=o.workout_time,p.workoutDurationHour=r[0],p.workoutDurationMinutes=r[1],p.workoutDurationSeconds=r[2]}}function g(e){e.title=p.title,e.distance=+p.workoutDistance,e.duration=3600*+p.workoutDurationHour+60*+p.workoutDurationMinutes+ +p.workoutDurationSeconds,e.workout_date="".concat(p.workoutDate," ").concat(p.workoutTime)}function y(){var t={sport_id:+p.sport_id,notes:p.notes};if(e.workout)e.workout.with_gpx?(t.title=p.title,a.dispatch(E["f"].ACTIONS.EDIT_WORKOUT,{workoutId:e.workout.id,data:t})):(g(t),a.dispatch(E["f"].ACTIONS.ADD_WORKOUT_WITHOUT_GPX,t));else if(b.value){if(!O){var o="workouts.NO_FILE_PROVIDED";return void a.commit(E["a"].MUTATIONS.SET_ERROR_MESSAGES,o)}t.file=O,a.dispatch(E["f"].ACTIONS.ADD_WORKOUT,t)}else g(t),a.dispatch(E["f"].ACTIONS.ADD_WORKOUT_WITHOUT_GPX,t)}function w(){e.workout?n.push({name:"Workout",params:{workoutId:e.workout.id}}):n.go(-1)}return Object(r["watch"])((function(){return e.workout}),function(){var e=Object(V["a"])(regeneratorRuntime.mark((function e(t,o){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t!==o&&t&&t.id&&k(t);case 1:case"end":return e.stop()}}),e)})));return function(t,o){return e.apply(this,arguments)}}()),Object(r["onUnmounted"])((function(){return a.commit(E["a"].MUTATIONS.EMPTY_ERROR_MESSAGES)})),{appConfig:l,errorMessages:d,fileSizeLimit:i,gpx_limit_import:u,translatedSports:c,withGpx:b,zipSizeLimit:s,workoutDataObject:p,onCancel:w,updateFile:f,updateNotes:j,updateWithGpx:m,updateWorkout:y}}});o("9a58");R.render=D,R.__scopeId="data-v-0dfe7a73";t["a"]=R},"628e":function(e,t,o){"use strict";o("be77")},6595:function(e,t,o){"use strict";o("cc92")},"692d":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a=Object(r["withScopeId"])("data-v-2e2371d9");Object(r["pushScopeId"])("data-v-2e2371d9");var n={id:"add-workout"},c={class:"container"};Object(r["popScopeId"])();var l=a((function(e,t,o,a,l,i){var u=Object(r["resolveComponent"])("WorkoutEdition");return Object(r["openBlock"])(),Object(r["createBlock"])("div",n,[Object(r["createVNode"])("div",c,[Object(r["createVNode"])(u,{authUser:e.authUser,sports:e.sports,isCreation:!0,loading:e.workoutData.loading},null,8,["authUser","sports","loading"])])])})),i=o("5c76"),u=o("dad5"),s=o("2906"),d=Object(r["defineComponent"])({name:"AddWorkout",components:{WorkoutEdition:i["a"]},setup:function(){var e=Object(s["a"])(),t=Object(r["computed"])((function(){return e.getters[u["b"].GETTERS.SPORTS]})),o=Object(r["computed"])((function(){return e.getters[u["e"].GETTERS.AUTH_USER_PROFILE]})),a=Object(r["computed"])((function(){return e.getters[u["f"].GETTERS.WORKOUT_DATA]}));return{authUser:o,sports:t,workoutData:a}}});o("ebf5");d.render=l,d.__scopeId="data-v-2e2371d9";t["default"]=d},"7f59":function(e,t,o){},"829d":function(e,t,o){},8300:function(e,t,o){},"86b9":function(e,t,o){},"8ee6":function(e,t,o){},"8ee9":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a={id:"edit-workout"},n={class:"container"};function c(e,t,o,c,l,i){var u=Object(r["resolveComponent"])("WorkoutEdition");return Object(r["openBlock"])(),Object(r["createBlock"])("div",a,[Object(r["createVNode"])("div",n,[Object(r["createVNode"])(u,{authUser:e.authUser,sports:e.sports,workout:e.workoutData.workout,loading:e.workoutData.loading},null,8,["authUser","sports","workout","loading"])])])}var l=o("1da1"),i=(o("96cf"),o("6c02")),u=o("5c76"),s=o("dad5"),d=o("2906"),p=Object(r["defineComponent"])({name:"EditWorkout",components:{WorkoutEdition:u["a"]},setup:function(){var e=Object(i["c"])(),t=Object(d["a"])();Object(r["onBeforeMount"])((function(){t.dispatch(s["f"].ACTIONS.GET_WORKOUT_DATA,{workoutId:e.params.workoutId})}));var o=Object(r["computed"])((function(){return t.getters[s["e"].GETTERS.AUTH_USER_PROFILE]})),a=Object(r["computed"])((function(){return t.getters[s["b"].GETTERS.SPORTS]})),n=Object(r["computed"])((function(){return t.getters[s["f"].GETTERS.WORKOUT_DATA]}));return Object(r["watch"])((function(){return e.params.workoutId}),function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(o){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:o||t.commit(s["f"].MUTATIONS.EMPTY_WORKOUT);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),{authUser:o,sports:a,workoutData:n}}});p.render=c;t["default"]=p},"9a58":function(e,t,o){"use strict";o("7f59")},a33d:function(e,t,o){},b76e:function(e,t,o){},be77:function(e,t,o){},bef2:function(e,t,o){},bfb4:function(e,t,o){"use strict";o("a33d")},c04f:function(e,t,o){"use strict";o("d8e9")},c2ce:function(e,t,o){"use strict";o("2de4")},cc92:function(e,t,o){},d3d3:function(e,t,o){"use strict";o("f0d7")},d8e9:function(e,t,o){},e94f:function(e,t,o){!function(e,o){o(t)}(0,(function(e){"use strict";function t(e){return e&&e.normalize&&e.normalize(),e&&e.textContent||""}function o(e,t){const o=e.getElementsByTagName(t);return o.length?o[0]:null}function r(e){const r={};if(e){const a=o(e,"line");if(a){const e=t(o(a,"color")),n=parseFloat(t(o(a,"opacity"))),c=parseFloat(t(o(a,"width")));e&&(r.stroke=e),isNaN(n)||(r["stroke-opacity"]=n),isNaN(c)||(r["stroke-width"]=96*c/25.4)}}return r}function a(e,r){const a={};let n,c;for(c=0;c1,s=Object.assign(n(e),r(o(e,"extensions")),{_gpxType:"trk"},c.length?{coordinateProperties:{times:u?c:c[0]}}:{});for(let o=0;onew Array(e.line.length).fill(null))),e[t][o]=r):e[t]=r}}return{type:"Feature",properties:s,geometry:u?{type:"MultiLineString",coordinates:a}:{type:"LineString",coordinates:a[0]}}}function*s(e){const t=e.getElementsByTagName("trk"),o=e.getElementsByTagName("rte"),r=e.getElementsByTagName("wpt");for(let a=0;aArray(e.length).fill(null))),u[o][t]=e[o])}if(0!==a.length)return(n.length||c.length)&&(u.coordinateProperties=Object.assign(n.length?{times:1===a.length?n[0]:n}:{},c.length?{heart:1===a.length?c[0]:c}:{})),{type:"Feature",properties:u,geometry:{type:1===a.length?"LineString":"MultiLineString",coordinates:1===a.length?a[0]:a}}}function*f(e){const t=e.getElementsByTagName("Lap");for(let r=0;r\n
\n
\n
\n \n
\n
\n
\n \n \n {{ $t(`workouts.${hiddenFilters ? 'DISPLAY' : 'HIDE'}_FILTERS`) }}\n \n
\n
\n
\n \n
\n
\n
\n\n\n\n\n\n","\n\n\n\n\n","\n import { computed, ComputedRef, defineComponent, PropType } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import { ISport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import { translateSports } from '@/utils/sports'\n\n export default defineComponent({\n name: 'WorkoutsFilters',\n props: {\n authUser: {\n type: Object as PropType,\n required: true,\n },\n sports: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['filter', 'filtersUpdate'],\n setup(props, { emit }) {\n const { t } = useI18n()\n const translatedSports: ComputedRef = computed(() =>\n translateSports(props.sports, t)\n )\n const params: Record = {}\n\n function handleFilterChange(event: Event & { target: HTMLInputElement }) {\n if (event.target.value === '') {\n delete params[event.target.name]\n } else {\n params[event.target.name] = event.target.value\n }\n }\n function onFilter() {\n emit('filter', { ...params })\n }\n\n return { translatedSports, onFilter, handleFilterChange }\n },\n })\n","import { render } from \"./WorkoutsFilters.vue?vue&type=template&id=6d15726f&scoped=true\"\nimport script from \"./WorkoutsFilters.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutsFilters.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutsFilters.vue?vue&type=style&index=0&id=6d15726f&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6d15726f\"\n\nexport default script","\n\n\n\n\n","\n import { format } from 'date-fns'\n import {\n ComputedRef,\n PropType,\n computed,\n defineComponent,\n ref,\n watch,\n capitalize,\n onBeforeMount,\n } from 'vue'\n\n import StaticMap from '@/components/Common/StaticMap.vue'\n import NoWorkouts from '@/components/Workouts/NoWorkouts.vue'\n import { WORKOUTS_STORE } from '@/store/constants'\n import { ITranslatedSport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import { IWorkout } from '@/types/workouts'\n import { useStore } from '@/use/useStore'\n import { getDateWithTZ } from '@/utils/dates'\n\n export default defineComponent({\n name: 'WorkoutsList',\n components: {\n NoWorkouts,\n StaticMap,\n },\n props: {\n params: {\n type: Object as PropType>,\n required: true,\n },\n user: {\n type: Object as PropType,\n required: true,\n },\n sports: {\n type: Object as PropType,\n },\n },\n setup(props) {\n const store = useStore()\n const workouts: ComputedRef = computed(\n () => store.getters[WORKOUTS_STORE.GETTERS.USER_WORKOUTS]\n )\n const per_page = 10\n const page = ref(1)\n const moreWorkoutsExist: ComputedRef = computed(() =>\n workouts.value.length > 0\n ? workouts.value[workouts.value.length - 1].previous_workout !== null\n : false\n )\n\n onBeforeMount(() => {\n loadWorkouts()\n })\n\n function loadWorkouts() {\n page.value = 1\n store.dispatch(WORKOUTS_STORE.ACTIONS.GET_USER_WORKOUTS, {\n page: page.value,\n per_page,\n ...props.params,\n })\n }\n function loadMoreWorkouts() {\n page.value += 1\n store.dispatch(WORKOUTS_STORE.ACTIONS.GET_MORE_USER_WORKOUTS, {\n page: page.value,\n per_page,\n ...props.params,\n })\n }\n\n watch(\n () => props.params,\n async () => {\n loadWorkouts()\n }\n )\n\n return {\n moreWorkoutsExist,\n workouts,\n capitalize,\n format,\n getDateWithTZ,\n loadMoreWorkouts,\n }\n },\n })\n","import { render } from \"./WorkoutsList.vue?vue&type=template&id=d190dd62&scoped=true\"\nimport script from \"./WorkoutsList.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutsList.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutsList.vue?vue&type=style&index=0&id=d190dd62&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-d190dd62\"\n\nexport default script","\n import { ComputedRef, Ref, computed, defineComponent, ref } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import WorkoutsFilters from '@/components/Workouts/WorkoutsFilters.vue'\n import WorkoutsList from '@/components/Workouts/WorkoutsList.vue'\n import { USER_STORE, SPORTS_STORE } from '@/store/constants'\n import { ISport, ITranslatedSport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { translateSports } from '@/utils/sports'\n\n export default defineComponent({\n name: 'WorkoutsView',\n components: {\n WorkoutsFilters,\n WorkoutsList,\n },\n setup() {\n const { t } = useI18n()\n const store = useStore()\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const sports: ComputedRef = computed(\n () => store.getters[SPORTS_STORE.GETTERS.SPORTS]\n )\n const translatedSports: ComputedRef = computed(() =>\n translateSports(sports.value, t)\n )\n const params: Ref> = ref({})\n const hiddenFilters = ref(true)\n\n function updateParams(filters: Record) {\n params.value = filters\n hiddenFilters.value = true\n }\n function toggleFilters() {\n hiddenFilters.value = !hiddenFilters.value\n }\n\n return {\n authUser,\n hiddenFilters,\n params,\n translatedSports,\n toggleFilters,\n updateParams,\n }\n },\n })\n","import { render } from \"./WorkoutsView.vue?vue&type=template&id=499760ae&scoped=true\"\nimport script from \"./WorkoutsView.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutsView.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutsView.vue?vue&type=style&index=0&id=499760ae&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-499760ae\"\n\nexport default script","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./WorkoutMap.vue?vue&type=style&index=0&id=76f3a2e8&lang=scss&scoped=true\"","\n\n\n\n\n","\n\n\n\n\n","\n import { ChartData, ChartOptions } from 'chart.js'\n import { ComputedRef, PropType, computed, defineComponent, ref } from 'vue'\n import { LineChart, useLineChart } from 'vue-chart-3'\n import { useI18n } from 'vue-i18n'\n\n import { IUserProfile } from '@/types/user'\n import {\n IWorkoutChartData,\n IWorkoutData,\n TCoordinates,\n } from '@/types/workouts'\n import { getDatasets } from '@/utils/workouts'\n\n export default defineComponent({\n name: 'WorkoutChart',\n components: {\n LineChart,\n },\n props: {\n authUser: {\n type: Object as PropType,\n required: true,\n },\n workoutData: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['getCoordinates'],\n setup(props, { emit }) {\n const { t } = useI18n()\n\n let displayDistance = ref(true)\n const datasets: ComputedRef = computed(() =>\n getDatasets(props.workoutData.chartData, t)\n )\n let chartData: ComputedRef> = computed(() => ({\n labels: displayDistance.value\n ? datasets.value.distance_labels\n : datasets.value.duration_labels,\n datasets: JSON.parse(\n JSON.stringify([\n datasets.value.datasets.speed,\n datasets.value.datasets.elevation,\n ])\n ),\n }))\n const coordinates: ComputedRef = computed(\n () => datasets.value.coordinates\n )\n const options = computed>(() => ({\n responsive: true,\n maintainAspectRatio: true,\n animation: false,\n layout: {\n padding: {\n top: 22,\n },\n },\n scales: {\n [displayDistance.value ? 'xDistance' : 'xDuration']: {\n grid: {\n drawOnChartArea: false,\n },\n ticks: {\n count: 10,\n callback: function (value) {\n return displayDistance.value\n ? Number(value).toFixed(2)\n : formatDuration(value)\n },\n },\n type: 'linear',\n bounds: 'data',\n title: {\n display: true,\n text: displayDistance.value\n ? t('workouts.DISTANCE') + ' (km)'\n : t('workouts.DURATION'),\n },\n },\n ySpeed: {\n grid: {\n drawOnChartArea: false,\n },\n position: 'left',\n title: {\n display: true,\n text: t('workouts.SPEED') + ' (km/h)',\n },\n },\n yElevation: {\n beginAtZero: true,\n grid: {\n drawOnChartArea: false,\n },\n position: 'right',\n title: {\n display: true,\n text: t('workouts.ELEVATION') + ' (m)',\n },\n },\n },\n elements: {\n point: {\n pointStyle: 'circle',\n pointRadius: 0,\n },\n },\n plugins: {\n datalabels: {\n display: false,\n },\n tooltip: {\n interaction: {\n intersect: false,\n mode: 'index',\n },\n callbacks: {\n label: function (context) {\n const label = ` ${context.dataset.label}: ${context.formattedValue}`\n return context.dataset.yAxisID === 'yElevation'\n ? label + ' m'\n : label + ' km/h'\n },\n title: function (tooltipItems) {\n if (tooltipItems.length > 0) {\n emitCoordinates(coordinates.value[tooltipItems[0].dataIndex])\n }\n return tooltipItems.length === 0\n ? ''\n : displayDistance.value\n ? `${t('workouts.DISTANCE')}: ${tooltipItems[0].label} km`\n : `${t('workouts.DURATION')}: ${formatDuration(\n tooltipItems[0].label.replace(',', '')\n )}`\n },\n },\n },\n },\n }))\n\n function updateDisplayDistance() {\n displayDistance.value = !displayDistance.value\n }\n function formatDuration(duration: string | number): string {\n return new Date(+duration * 1000).toISOString().substr(11, 8)\n }\n function emitCoordinates(coordinates: TCoordinates) {\n emit('getCoordinates', coordinates)\n }\n function emitEmptyCoordinates() {\n emitCoordinates({ latitude: null, longitude: null })\n }\n\n const { lineChartProps } = useLineChart({\n chartData,\n options,\n })\n return {\n displayDistance,\n lineChartProps,\n emitEmptyCoordinates,\n updateDisplayDistance,\n }\n },\n })\n","import { render } from \"./WorkoutChart.vue?vue&type=template&id=2230775e&scoped=true\"\nimport script from \"./WorkoutChart.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutChart.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutChart.vue?vue&type=style&index=0&id=2230775e&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-2230775e\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import { ISport } from '@/types/sports'\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutCardTitle',\n props: {\n sport: {\n type: Object as PropType,\n required: true,\n },\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['displayModal'],\n setup(props, { emit }) {\n return { emit }\n },\n })\n","import { render } from \"./WorkoutCardTitle.vue?vue&type=template&id=9cab340c&scoped=true\"\nimport script from \"./WorkoutCardTitle.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutCardTitle.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutCardTitle.vue?vue&type=style&index=0&id=9cab340c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-9cab340c\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { defineComponent, PropType } from 'vue'\n\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutRecord',\n props: {\n record_type: {\n type: String,\n required: true,\n },\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n })\n","import { render } from \"./WorkoutRecord.vue?vue&type=template&id=da96984c&scoped=true\"\nimport script from \"./WorkoutRecord.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutRecord.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutRecord.vue?vue&type=style&index=0&id=da96984c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-da96984c\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent, PropType } from 'vue'\n\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutWeather',\n props: {\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n })\n","import { render } from \"./WorkoutWeather.vue?vue&type=template&id=7eb41918&scoped=true\"\nimport script from \"./WorkoutWeather.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutWeather.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutWeather.vue?vue&type=style&index=0&id=7eb41918&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-7eb41918\"\n\nexport default script","\n import { PropType, computed, defineComponent } from 'vue'\n\n import WorkoutRecord from '@/components/Workout/WorkoutDetail/WorkoutRecord.vue'\n import WorkoutWeather from '@/components/Workout/WorkoutDetail/WorkoutWeather.vue'\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutData',\n components: {\n WorkoutRecord,\n WorkoutWeather,\n },\n props: {\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n return {\n withPause: computed(\n () =>\n props.workoutObject.pauses !== '0:00:00' &&\n props.workoutObject.pauses !== null\n ),\n }\n },\n })\n","import { render } from \"./WorkoutData.vue?vue&type=template&id=45a7f031&scoped=true\"\nimport script from \"./WorkoutData.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutData.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutData.vue?vue&type=style&index=0&id=45a7f031&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-45a7f031\"\n\nexport default script","\n\n\n\n\n","\n import { gpx } from '@tmcw/togeojson'\n import { LGeoJson, LMap, LMarker, LTileLayer } from '@vue-leaflet/vue-leaflet'\n import { ComputedRef, PropType, computed, defineComponent, ref } from 'vue'\n\n import { ROOT_STORE } from '@/store/constants'\n import { TAppConfig } from '@/types/application'\n import { GeoJSONData } from '@/types/geojson'\n import { IWorkoutData, TCoordinates } from '@/types/workouts'\n import { useStore } from '@/use/useStore'\n import { getApiUrl } from '@/utils'\n\n export default defineComponent({\n name: 'WorkoutMap',\n components: {\n LGeoJson,\n LMap,\n LMarker,\n LTileLayer,\n },\n props: {\n workoutData: {\n type: Object as PropType,\n },\n markerCoordinates: {\n type: Object as PropType,\n required: false,\n },\n },\n setup(props) {\n const store = useStore()\n\n function getGeoJson(gpxContent: string): GeoJSONData {\n if (!gpxContent || gpxContent !== '') {\n try {\n const jsonData = gpx(\n new DOMParser().parseFromString(gpxContent, 'text/xml')\n )\n return { jsonData }\n } catch (e) {\n console.error('Invalid gpx content')\n return {}\n }\n }\n return {}\n }\n function getCenter(bounds: ComputedRef): number[] {\n return [\n (bounds.value[0][0] + bounds.value[1][0]) / 2,\n (bounds.value[0][1] + bounds.value[1][1]) / 2,\n ]\n }\n function fitBounds(bounds: number[][]) {\n if (workoutMap.value?.leafletObject) {\n workoutMap.value?.leafletObject.fitBounds(bounds)\n }\n }\n\n const workoutMap = ref null }\n }>(null)\n const bounds = computed(() =>\n props.workoutData\n ? [\n [\n props.workoutData.workout.bounds[0],\n props.workoutData.workout.bounds[1],\n ],\n [\n props.workoutData.workout.bounds[2],\n props.workoutData.workout.bounds[3],\n ],\n ]\n : []\n )\n const appConfig: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n )\n const center = computed(() => getCenter(bounds))\n const geoJson = computed(() =>\n props.workoutData && props.workoutData.gpx\n ? getGeoJson(props.workoutData.gpx)\n : {}\n )\n\n return {\n appConfig,\n bounds,\n center,\n geoJson,\n workoutMap,\n fitBounds,\n getApiUrl,\n }\n },\n })\n","import { render } from \"./WorkoutMap.vue?vue&type=template&id=76f3a2e8&scoped=true\"\nimport script from \"./WorkoutMap.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutMap.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutMap.vue?vue&type=style&index=0&id=76f3a2e8&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-76f3a2e8\"\n\nexport default script","\n import {\n ComputedRef,\n PropType,\n Ref,\n computed,\n defineComponent,\n ref,\n watch,\n } from 'vue'\n import { useRoute } from 'vue-router'\n\n import WorkoutCardTitle from '@/components/Workout/WorkoutDetail/WorkoutCardTitle.vue'\n import WorkoutData from '@/components/Workout/WorkoutDetail/WorkoutData.vue'\n import WorkoutMap from '@/components/Workout/WorkoutDetail/WorkoutMap.vue'\n import { WORKOUTS_STORE } from '@/store/constants'\n import { ISport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import {\n IWorkout,\n IWorkoutData,\n IWorkoutObject,\n IWorkoutSegment,\n TCoordinates,\n } from '@/types/workouts'\n import { useStore } from '@/use/useStore'\n import { formatWorkoutDate, getDateWithTZ } from '@/utils/dates'\n\n export default defineComponent({\n name: 'WorkoutDetail',\n components: {\n WorkoutCardTitle,\n WorkoutData,\n WorkoutMap,\n },\n props: {\n authUser: {\n type: Object as PropType,\n required: true,\n },\n displaySegment: {\n type: Boolean,\n required: true,\n },\n markerCoordinates: {\n type: Object as PropType,\n required: false,\n },\n sports: {\n type: Object as PropType,\n },\n workoutData: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const route = useRoute()\n const store = useStore()\n\n function getWorkoutObjectUrl(\n workout: IWorkout,\n displaySegment: boolean,\n segmentId: number | null\n ): Record {\n const previousUrl =\n displaySegment && segmentId && segmentId !== 1\n ? `/workouts/${workout.id}/segment/${segmentId - 1}`\n : !displaySegment && workout.previous_workout\n ? `/workouts/${workout.previous_workout}`\n : null\n const nextUrl =\n displaySegment && segmentId && segmentId < workout.segments.length\n ? `/workouts/${workout.id}/segment/${segmentId + 1}`\n : !displaySegment && workout.next_workout\n ? `/workouts/${workout.next_workout}`\n : null\n return {\n previousUrl,\n nextUrl,\n }\n }\n function getWorkoutObject(\n workout: IWorkout,\n segment: IWorkoutSegment | null\n ): IWorkoutObject {\n const urls = getWorkoutObjectUrl(\n workout,\n props.displaySegment,\n segmentId.value ? +segmentId.value : null\n )\n const workoutDate = formatWorkoutDate(\n getDateWithTZ(\n props.workoutData.workout.workout_date,\n props.authUser.timezone\n )\n )\n return {\n ascent: segment ? segment.ascent : workout.ascent,\n aveSpeed: segment ? segment.ave_speed : workout.ave_speed,\n distance: segment ? segment.distance : workout.distance,\n descent: segment ? segment.descent : workout.descent,\n duration: segment ? segment.duration : workout.duration,\n maxAlt: segment ? segment.max_alt : workout.max_alt,\n maxSpeed: segment ? segment.max_speed : workout.max_speed,\n minAlt: segment ? segment.min_alt : workout.min_alt,\n moving: segment ? segment.moving : workout.moving,\n nextUrl: urls.nextUrl,\n pauses: segment ? segment.pauses : workout.pauses,\n previousUrl: urls.previousUrl,\n records: segment ? [] : workout.records,\n segmentId: segment ? segment.segment_id : null,\n title: workout.title,\n type: props.displaySegment ? 'SEGMENT' : 'WORKOUT',\n workoutDate: workoutDate.workout_date,\n weatherEnd: segment ? null : workout.weather_end,\n workoutId: workout.id,\n weatherStart: segment ? null : workout.weather_start,\n workoutTime: workoutDate.workout_time,\n }\n }\n function updateDisplayModal(value: boolean) {\n displayModal.value = value\n }\n function deleteWorkout(workoutId: string) {\n store.dispatch(WORKOUTS_STORE.ACTIONS.DELETE_WORKOUT, {\n workoutId: workoutId,\n })\n }\n\n const workout: ComputedRef = computed(\n () => props.workoutData.workout\n )\n let segmentId: Ref = ref(\n route.params.workoutId ? +route.params.segmentId : null\n )\n const segment: ComputedRef = computed(() =>\n workout.value.segments.length > 0 && segmentId.value\n ? workout.value.segments[+segmentId.value - 1]\n : null\n )\n let displayModal: Ref = ref(false)\n\n watch(\n () => route.params.segmentId,\n async (newSegmentId) => {\n if (newSegmentId) {\n segmentId.value = +newSegmentId\n }\n }\n )\n\n return {\n sport: computed(() =>\n props.sports\n ? props.sports.find(\n (sport) => sport.id === props.workoutData.workout.sport_id\n )\n : {}\n ),\n workoutObject: computed(() =>\n getWorkoutObject(workout.value, segment.value)\n ),\n displayModal,\n deleteWorkout,\n updateDisplayModal,\n }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=a17554ea&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=a17554ea&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-a17554ea\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { computed, ComputedRef, defineComponent, PropType } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import { ISport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import { translateSports } from '@/utils/sports'\n\n export default defineComponent({\n name: 'WorkoutsFilters',\n props: {\n authUser: {\n type: Object as PropType,\n required: true,\n },\n sports: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['filter', 'filtersUpdate'],\n setup(props, { emit }) {\n const { t } = useI18n()\n const translatedSports: ComputedRef = computed(() =>\n translateSports(props.sports, t)\n )\n const params: Record = {}\n\n function handleFilterChange(event: Event & { target: HTMLInputElement }) {\n if (event.target.value === '') {\n delete params[event.target.name]\n } else {\n params[event.target.name] = event.target.value\n }\n }\n function onFilter() {\n emit('filter', { ...params })\n }\n\n return { translatedSports, onFilter, handleFilterChange }\n },\n })\n","import { render } from \"./WorkoutsFilters.vue?vue&type=template&id=6d15726f&scoped=true\"\nimport script from \"./WorkoutsFilters.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutsFilters.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutsFilters.vue?vue&type=style&index=0&id=6d15726f&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6d15726f\"\n\nexport default script","\n\n\n\n\n","\n import { format } from 'date-fns'\n import {\n ComputedRef,\n PropType,\n computed,\n defineComponent,\n ref,\n watch,\n capitalize,\n onBeforeMount,\n } from 'vue'\n\n import StaticMap from '@/components/Common/StaticMap.vue'\n import NoWorkouts from '@/components/Workouts/NoWorkouts.vue'\n import { WORKOUTS_STORE } from '@/store/constants'\n import { ITranslatedSport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import { IWorkout } from '@/types/workouts'\n import { useStore } from '@/use/useStore'\n import { getDateWithTZ } from '@/utils/dates'\n\n export default defineComponent({\n name: 'WorkoutsList',\n components: {\n NoWorkouts,\n StaticMap,\n },\n props: {\n params: {\n type: Object as PropType>,\n required: true,\n },\n user: {\n type: Object as PropType,\n required: true,\n },\n sports: {\n type: Object as PropType,\n },\n },\n setup(props) {\n const store = useStore()\n const workouts: ComputedRef = computed(\n () => store.getters[WORKOUTS_STORE.GETTERS.USER_WORKOUTS]\n )\n const per_page = 10\n const page = ref(1)\n const moreWorkoutsExist: ComputedRef = computed(() =>\n workouts.value.length > 0\n ? workouts.value[workouts.value.length - 1].previous_workout !== null\n : false\n )\n\n onBeforeMount(() => {\n loadWorkouts()\n })\n\n function loadWorkouts() {\n page.value = 1\n store.dispatch(WORKOUTS_STORE.ACTIONS.GET_USER_WORKOUTS, {\n page: page.value,\n per_page,\n ...props.params,\n })\n }\n function loadMoreWorkouts() {\n page.value += 1\n store.dispatch(WORKOUTS_STORE.ACTIONS.GET_MORE_USER_WORKOUTS, {\n page: page.value,\n per_page,\n ...props.params,\n })\n }\n\n watch(\n () => props.params,\n async () => {\n loadWorkouts()\n }\n )\n\n return {\n moreWorkoutsExist,\n workouts,\n capitalize,\n format,\n getDateWithTZ,\n loadMoreWorkouts,\n }\n },\n })\n","import { render } from \"./WorkoutsList.vue?vue&type=template&id=d190dd62&scoped=true\"\nimport script from \"./WorkoutsList.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutsList.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutsList.vue?vue&type=style&index=0&id=d190dd62&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-d190dd62\"\n\nexport default script","\n import { ComputedRef, Ref, computed, defineComponent, ref } from 'vue'\n import { useI18n } from 'vue-i18n'\n\n import WorkoutsFilters from '@/components/Workouts/WorkoutsFilters.vue'\n import WorkoutsList from '@/components/Workouts/WorkoutsList.vue'\n import { USER_STORE, SPORTS_STORE } from '@/store/constants'\n import { ISport, ITranslatedSport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import { useStore } from '@/use/useStore'\n import { translateSports } from '@/utils/sports'\n\n export default defineComponent({\n name: 'WorkoutsView',\n components: {\n WorkoutsFilters,\n WorkoutsList,\n },\n setup() {\n const { t } = useI18n()\n const store = useStore()\n const authUser: ComputedRef = computed(\n () => store.getters[USER_STORE.GETTERS.AUTH_USER_PROFILE]\n )\n const sports: ComputedRef = computed(\n () => store.getters[SPORTS_STORE.GETTERS.SPORTS]\n )\n const translatedSports: ComputedRef = computed(() =>\n translateSports(sports.value, t)\n )\n const params: Ref> = ref({})\n const hiddenFilters = ref(true)\n\n function updateParams(filters: Record) {\n params.value = filters\n hiddenFilters.value = true\n }\n function toggleFilters() {\n hiddenFilters.value = !hiddenFilters.value\n }\n\n return {\n authUser,\n hiddenFilters,\n params,\n translatedSports,\n toggleFilters,\n updateParams,\n }\n },\n })\n","import { render } from \"./WorkoutsView.vue?vue&type=template&id=499760ae&scoped=true\"\nimport script from \"./WorkoutsView.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutsView.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutsView.vue?vue&type=style&index=0&id=499760ae&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-499760ae\"\n\nexport default script","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./WorkoutMap.vue?vue&type=style&index=0&id=76f3a2e8&lang=scss&scoped=true\"","\n\n\n\n\n","\n\n\n\n\n","\n import { ChartData, ChartOptions } from 'chart.js'\n import { ComputedRef, PropType, computed, defineComponent, ref } from 'vue'\n import { LineChart, useLineChart } from 'vue-chart-3'\n import { useI18n } from 'vue-i18n'\n\n import { IUserProfile } from '@/types/user'\n import {\n IWorkoutChartData,\n IWorkoutData,\n TCoordinates,\n } from '@/types/workouts'\n import { getDatasets } from '@/utils/workouts'\n\n export default defineComponent({\n name: 'WorkoutChart',\n components: {\n LineChart,\n },\n props: {\n authUser: {\n type: Object as PropType,\n required: true,\n },\n workoutData: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['getCoordinates'],\n setup(props, { emit }) {\n const { t } = useI18n()\n\n let displayDistance = ref(true)\n const datasets: ComputedRef = computed(() =>\n getDatasets(props.workoutData.chartData, t)\n )\n let chartData: ComputedRef> = computed(() => ({\n labels: displayDistance.value\n ? datasets.value.distance_labels\n : datasets.value.duration_labels,\n datasets: JSON.parse(\n JSON.stringify([\n datasets.value.datasets.speed,\n datasets.value.datasets.elevation,\n ])\n ),\n }))\n const coordinates: ComputedRef = computed(\n () => datasets.value.coordinates\n )\n const options = computed>(() => ({\n responsive: true,\n maintainAspectRatio: true,\n animation: false,\n layout: {\n padding: {\n top: 22,\n },\n },\n scales: {\n [displayDistance.value ? 'xDistance' : 'xDuration']: {\n grid: {\n drawOnChartArea: false,\n },\n ticks: {\n count: 10,\n callback: function (value) {\n return displayDistance.value\n ? Number(value).toFixed(2)\n : formatDuration(value)\n },\n },\n type: 'linear',\n bounds: 'data',\n title: {\n display: true,\n text: displayDistance.value\n ? t('workouts.DISTANCE') + ' (km)'\n : t('workouts.DURATION'),\n },\n },\n ySpeed: {\n grid: {\n drawOnChartArea: false,\n },\n position: 'left',\n title: {\n display: true,\n text: t('workouts.SPEED') + ' (km/h)',\n },\n },\n yElevation: {\n beginAtZero: true,\n grid: {\n drawOnChartArea: false,\n },\n position: 'right',\n title: {\n display: true,\n text: t('workouts.ELEVATION') + ' (m)',\n },\n },\n },\n elements: {\n point: {\n pointStyle: 'circle',\n pointRadius: 0,\n },\n },\n plugins: {\n datalabels: {\n display: false,\n },\n tooltip: {\n interaction: {\n intersect: false,\n mode: 'index',\n },\n callbacks: {\n label: function (context) {\n const label = ` ${context.dataset.label}: ${context.formattedValue}`\n return context.dataset.yAxisID === 'yElevation'\n ? label + ' m'\n : label + ' km/h'\n },\n title: function (tooltipItems) {\n if (tooltipItems.length > 0) {\n emitCoordinates(coordinates.value[tooltipItems[0].dataIndex])\n }\n return tooltipItems.length === 0\n ? ''\n : displayDistance.value\n ? `${t('workouts.DISTANCE')}: ${tooltipItems[0].label} km`\n : `${t('workouts.DURATION')}: ${formatDuration(\n tooltipItems[0].label.replace(',', '')\n )}`\n },\n },\n },\n },\n }))\n\n function updateDisplayDistance() {\n displayDistance.value = !displayDistance.value\n }\n function formatDuration(duration: string | number): string {\n return new Date(+duration * 1000).toISOString().substr(11, 8)\n }\n function emitCoordinates(coordinates: TCoordinates) {\n emit('getCoordinates', coordinates)\n }\n function emitEmptyCoordinates() {\n emitCoordinates({ latitude: null, longitude: null })\n }\n\n const { lineChartProps } = useLineChart({\n chartData,\n options,\n })\n return {\n displayDistance,\n lineChartProps,\n emitEmptyCoordinates,\n updateDisplayDistance,\n }\n },\n })\n","import { render } from \"./WorkoutChart.vue?vue&type=template&id=2230775e&scoped=true\"\nimport script from \"./WorkoutChart.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutChart.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutChart.vue?vue&type=style&index=0&id=2230775e&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-2230775e\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { PropType, defineComponent } from 'vue'\n\n import { ISport } from '@/types/sports'\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutCardTitle',\n props: {\n sport: {\n type: Object as PropType,\n required: true,\n },\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n emits: ['displayModal'],\n setup(props, { emit }) {\n return { emit }\n },\n })\n","import { render } from \"./WorkoutCardTitle.vue?vue&type=template&id=9cab340c&scoped=true\"\nimport script from \"./WorkoutCardTitle.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutCardTitle.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutCardTitle.vue?vue&type=style&index=0&id=9cab340c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-9cab340c\"\n\nexport default script","\n\n\n\n\n","\n\n\n\n\n","\n import { defineComponent, PropType } from 'vue'\n\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutRecord',\n props: {\n record_type: {\n type: String,\n required: true,\n },\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n })\n","import { render } from \"./WorkoutRecord.vue?vue&type=template&id=da96984c&scoped=true\"\nimport script from \"./WorkoutRecord.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutRecord.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutRecord.vue?vue&type=style&index=0&id=da96984c&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-da96984c\"\n\nexport default script","\n\n\n\n\n","\n import { defineComponent, PropType } from 'vue'\n\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutWeather',\n props: {\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n })\n","import { render } from \"./WorkoutWeather.vue?vue&type=template&id=7eb41918&scoped=true\"\nimport script from \"./WorkoutWeather.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutWeather.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutWeather.vue?vue&type=style&index=0&id=7eb41918&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-7eb41918\"\n\nexport default script","\n import { PropType, computed, defineComponent } from 'vue'\n\n import WorkoutRecord from '@/components/Workout/WorkoutDetail/WorkoutRecord.vue'\n import WorkoutWeather from '@/components/Workout/WorkoutDetail/WorkoutWeather.vue'\n import { IWorkoutObject } from '@/types/workouts'\n\n export default defineComponent({\n name: 'WorkoutData',\n components: {\n WorkoutRecord,\n WorkoutWeather,\n },\n props: {\n workoutObject: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n return {\n withPause: computed(\n () =>\n props.workoutObject.pauses !== '0:00:00' &&\n props.workoutObject.pauses !== null\n ),\n }\n },\n })\n","import { render } from \"./WorkoutData.vue?vue&type=template&id=45a7f031&scoped=true\"\nimport script from \"./WorkoutData.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutData.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutData.vue?vue&type=style&index=0&id=45a7f031&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-45a7f031\"\n\nexport default script","\n\n\n\n\n","\n import { gpx } from '@tmcw/togeojson'\n import { LGeoJson, LMap, LMarker, LTileLayer } from '@vue-leaflet/vue-leaflet'\n import { ComputedRef, PropType, computed, defineComponent, ref } from 'vue'\n\n import { ROOT_STORE } from '@/store/constants'\n import { TAppConfig } from '@/types/application'\n import { GeoJSONData } from '@/types/geojson'\n import { IWorkoutData, TCoordinates } from '@/types/workouts'\n import { useStore } from '@/use/useStore'\n import { getApiUrl } from '@/utils'\n\n export default defineComponent({\n name: 'WorkoutMap',\n components: {\n LGeoJson,\n LMap,\n LMarker,\n LTileLayer,\n },\n props: {\n workoutData: {\n type: Object as PropType,\n },\n markerCoordinates: {\n type: Object as PropType,\n required: false,\n },\n },\n setup(props) {\n const store = useStore()\n\n function getGeoJson(gpxContent: string): GeoJSONData {\n if (!gpxContent || gpxContent !== '') {\n try {\n const jsonData = gpx(\n new DOMParser().parseFromString(gpxContent, 'text/xml')\n )\n return { jsonData }\n } catch (e) {\n console.error('Invalid gpx content')\n return {}\n }\n }\n return {}\n }\n function getCenter(bounds: ComputedRef): number[] {\n return [\n (bounds.value[0][0] + bounds.value[1][0]) / 2,\n (bounds.value[0][1] + bounds.value[1][1]) / 2,\n ]\n }\n function fitBounds(bounds: number[][]) {\n if (workoutMap.value?.leafletObject) {\n workoutMap.value?.leafletObject.fitBounds(bounds)\n }\n }\n\n const workoutMap = ref null }\n }>(null)\n const bounds = computed(() =>\n props.workoutData\n ? [\n [\n props.workoutData.workout.bounds[0],\n props.workoutData.workout.bounds[1],\n ],\n [\n props.workoutData.workout.bounds[2],\n props.workoutData.workout.bounds[3],\n ],\n ]\n : []\n )\n const appConfig: ComputedRef = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n )\n const center = computed(() => getCenter(bounds))\n const geoJson = computed(() =>\n props.workoutData && props.workoutData.gpx\n ? getGeoJson(props.workoutData.gpx)\n : {}\n )\n\n return {\n appConfig,\n bounds,\n center,\n geoJson,\n workoutMap,\n fitBounds,\n getApiUrl,\n }\n },\n })\n","import { render } from \"./WorkoutMap.vue?vue&type=template&id=76f3a2e8&scoped=true\"\nimport script from \"./WorkoutMap.vue?vue&type=script&lang=ts\"\nexport * from \"./WorkoutMap.vue?vue&type=script&lang=ts\"\n\nimport \"./WorkoutMap.vue?vue&type=style&index=0&id=76f3a2e8&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-76f3a2e8\"\n\nexport default script","\n import {\n ComputedRef,\n PropType,\n Ref,\n computed,\n defineComponent,\n ref,\n watch,\n } from 'vue'\n import { useRoute } from 'vue-router'\n\n import WorkoutCardTitle from '@/components/Workout/WorkoutDetail/WorkoutCardTitle.vue'\n import WorkoutData from '@/components/Workout/WorkoutDetail/WorkoutData.vue'\n import WorkoutMap from '@/components/Workout/WorkoutDetail/WorkoutMap.vue'\n import { WORKOUTS_STORE } from '@/store/constants'\n import { ISport } from '@/types/sports'\n import { IUserProfile } from '@/types/user'\n import {\n IWorkout,\n IWorkoutData,\n IWorkoutObject,\n IWorkoutSegment,\n TCoordinates,\n } from '@/types/workouts'\n import { useStore } from '@/use/useStore'\n import { formatWorkoutDate, getDateWithTZ } from '@/utils/dates'\n\n export default defineComponent({\n name: 'WorkoutDetail',\n components: {\n WorkoutCardTitle,\n WorkoutData,\n WorkoutMap,\n },\n props: {\n authUser: {\n type: Object as PropType,\n required: true,\n },\n displaySegment: {\n type: Boolean,\n required: true,\n },\n markerCoordinates: {\n type: Object as PropType,\n required: false,\n },\n sports: {\n type: Object as PropType,\n },\n workoutData: {\n type: Object as PropType,\n required: true,\n },\n },\n setup(props) {\n const route = useRoute()\n const store = useStore()\n\n function getWorkoutObjectUrl(\n workout: IWorkout,\n displaySegment: boolean,\n segmentId: number | null\n ): Record {\n const previousUrl =\n displaySegment && segmentId && segmentId !== 1\n ? `/workouts/${workout.id}/segment/${segmentId - 1}`\n : !displaySegment && workout.previous_workout\n ? `/workouts/${workout.previous_workout}`\n : null\n const nextUrl =\n displaySegment && segmentId && segmentId < workout.segments.length\n ? `/workouts/${workout.id}/segment/${segmentId + 1}`\n : !displaySegment && workout.next_workout\n ? `/workouts/${workout.next_workout}`\n : null\n return {\n previousUrl,\n nextUrl,\n }\n }\n function getWorkoutObject(\n workout: IWorkout,\n segment: IWorkoutSegment | null\n ): IWorkoutObject {\n const urls = getWorkoutObjectUrl(\n workout,\n props.displaySegment,\n segmentId.value ? +segmentId.value : null\n )\n const workoutDate = formatWorkoutDate(\n getDateWithTZ(\n props.workoutData.workout.workout_date,\n props.authUser.timezone\n )\n )\n return {\n ascent: segment ? segment.ascent : workout.ascent,\n aveSpeed: segment ? segment.ave_speed : workout.ave_speed,\n distance: segment ? segment.distance : workout.distance,\n descent: segment ? segment.descent : workout.descent,\n duration: segment ? segment.duration : workout.duration,\n maxAlt: segment ? segment.max_alt : workout.max_alt,\n maxSpeed: segment ? segment.max_speed : workout.max_speed,\n minAlt: segment ? segment.min_alt : workout.min_alt,\n moving: segment ? segment.moving : workout.moving,\n nextUrl: urls.nextUrl,\n pauses: segment ? segment.pauses : workout.pauses,\n previousUrl: urls.previousUrl,\n records: segment ? [] : workout.records,\n segmentId: segment ? segment.segment_id : null,\n title: workout.title,\n type: props.displaySegment ? 'SEGMENT' : 'WORKOUT',\n workoutDate: workoutDate.workout_date,\n weatherEnd: segment ? null : workout.weather_end,\n workoutId: workout.id,\n weatherStart: segment ? null : workout.weather_start,\n workoutTime: workoutDate.workout_time,\n }\n }\n function updateDisplayModal(value: boolean) {\n displayModal.value = value\n }\n function deleteWorkout(workoutId: string) {\n store.dispatch(WORKOUTS_STORE.ACTIONS.DELETE_WORKOUT, {\n workoutId: workoutId,\n })\n }\n\n const workout: ComputedRef = computed(\n () => props.workoutData.workout\n )\n let segmentId: Ref = ref(\n route.params.workoutId ? +route.params.segmentId : null\n )\n const segment: ComputedRef = computed(() =>\n workout.value.segments.length > 0 && segmentId.value\n ? workout.value.segments[+segmentId.value - 1]\n : null\n )\n let displayModal: Ref = ref(false)\n\n watch(\n () => route.params.segmentId,\n async (newSegmentId) => {\n if (newSegmentId) {\n segmentId.value = +newSegmentId\n }\n }\n )\n\n return {\n sport: computed(() =>\n props.sports\n ? props.sports.find(\n (sport) => sport.id === props.workoutData.workout.sport_id\n )\n : {}\n ),\n workoutObject: computed(() =>\n getWorkoutObject(workout.value, segment.value)\n ),\n displayModal,\n deleteWorkout,\n updateDisplayModal,\n }\n },\n })\n","import { render } from \"./index.vue?vue&type=template&id=a17554ea&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=a17554ea&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-a17554ea\"\n\nexport default script","