From 5b2fa651a03db85fed0dcf743186a0975ed49397 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 15 Oct 2024 10:09:10 +0200 Subject: [PATCH] url direct access #2936 --- composer.json | 1 + composer.lock | 22 +- config/sync/core.extension.yml | 2 + config/sync/node.type.static.yml | 5 +- config/sync/pathauto.pattern.etape.yml | 22 ++ config/sync/pathauto.pattern.static.yml | 22 ++ config/sync/rest_menu_items.config.yml | 15 ++ config/sync/views.view.etapes.yml | 198 +++++++++++------- .../custom/decoupled/decoupled.info.yml | 5 + web/modules/custom/decoupled/decoupled.module | 105 ++++++++++ web/profiles/drupal-starterkit-profile | 2 +- .../custom/caravane/assets/dist/main.css | 2 +- .../custom/caravane/assets/dist/main.js | 70 +++++-- .../custom/caravane/assets/dist/redirect.js | 1 + web/themes/custom/caravane/assets/js/main.js | 54 ++++- .../custom/caravane/assets/js/redirect.js | 16 ++ .../caravane/assets/js/router/router.js | 13 +- .../custom/caravane/caravane.libraries.yml | 13 +- web/themes/custom/caravane/caravane.theme | 1 + web/themes/custom/caravane/vite.config.js | 7 +- 20 files changed, 462 insertions(+), 114 deletions(-) create mode 100644 config/sync/pathauto.pattern.etape.yml create mode 100644 config/sync/pathauto.pattern.static.yml create mode 100644 config/sync/rest_menu_items.config.yml create mode 100644 web/modules/custom/decoupled/decoupled.info.yml create mode 100644 web/modules/custom/decoupled/decoupled.module create mode 100644 web/themes/custom/caravane/assets/dist/redirect.js create mode 100644 web/themes/custom/caravane/assets/js/redirect.js diff --git a/composer.json b/composer.json index 2580d9a..4ee952c 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ "drupal/leaflet": "^10.2", "drupal/leaflet_more_maps": "^2.2", "drupal/leaflet_more_markers": "^1.1", + "drupal/link_attributes": "^2.1", "drupal/linked_field": "^1.5", "drupal/metatag": "^2.0", "drupal/page_manager": "^4.0@RC", diff --git a/composer.lock b/composer.lock index d0ca064..3846fad 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5c98347c8de7dd8e83612944f9454bca", + "content-hash": "879780d144369cb20a0e07902d9d4d86", "packages": [ { "name": "asm89/stack-cors", @@ -5813,26 +5813,30 @@ }, { "name": "drupal/link_attributes", - "version": "1.14.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://git.drupalcode.org/project/link_attributes.git", - "reference": "8.x-1.14" + "reference": "2.1.1" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/link_attributes-8.x-1.14.zip", - "reference": "8.x-1.14", - "shasum": "fa4f27ecaed7e6b3c58c0adc679918a9beb7ded5" + "url": "https://ftp.drupal.org/files/projects/link_attributes-2.1.1.zip", + "reference": "2.1.1", + "shasum": "fc71571fc41adeda6b39ccefd3c8e21955c0d96f" }, "require": { - "drupal/core": "^9 || ^10" + "drupal/core": "^9 || ^10 || ^11", + "php": ">=8.0" + }, + "require-dev": { + "drupal/linkit": "~6 || ~7" }, "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.14", - "datestamp": "1687393687", + "version": "2.1.1", + "datestamp": "1721366572", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index cf0a0d5..023946b 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -38,6 +38,7 @@ module: datetime: 0 datetime_range: 0 dblog: 0 + decoupled: 0 devel: 0 devel_generate: 0 dynamic_page_cache: 0 @@ -77,6 +78,7 @@ module: leaflet_views: 0 link: 0 link_attributes: 0 + link_attributes_menu_link_content: 0 linkit: 0 locale: 0 maillog: 0 diff --git a/config/sync/node.type.static.yml b/config/sync/node.type.static.yml index 53e04f5..14e8b00 100644 --- a/config/sync/node.type.static.yml +++ b/config/sync/node.type.static.yml @@ -6,8 +6,9 @@ dependencies: - menu_ui third_party_settings: menu_ui: - available_menus: { } - parent: '' + available_menus: + - main + parent: 'main:' _core: default_config_hash: ktmRJ5fYRUxN-3fIuUy0g4TUrGmmNjWLKm8J_-n7og4 name: Static diff --git a/config/sync/pathauto.pattern.etape.yml b/config/sync/pathauto.pattern.etape.yml new file mode 100644 index 0000000..fab1491 --- /dev/null +++ b/config/sync/pathauto.pattern.etape.yml @@ -0,0 +1,22 @@ +uuid: bf55165a-b157-423e-9dc5-f76c61e6c396 +langcode: fr +status: true +dependencies: + module: + - node +id: etape +label: etape +type: 'canonical_entities:node' +pattern: '/etapes/[node:title]' +selection_criteria: + ebf4ccb0-3389-4327-8c96-4e6a78042e9f: + id: 'entity_bundle:node' + negate: false + uuid: ebf4ccb0-3389-4327-8c96-4e6a78042e9f + context_mapping: + node: node + bundles: + etape: etape +selection_logic: and +weight: -5 +relationships: { } diff --git a/config/sync/pathauto.pattern.static.yml b/config/sync/pathauto.pattern.static.yml new file mode 100644 index 0000000..51217c6 --- /dev/null +++ b/config/sync/pathauto.pattern.static.yml @@ -0,0 +1,22 @@ +uuid: cab3d3a4-1abc-4065-8278-dc650fb5c77b +langcode: fr +status: true +dependencies: + module: + - node +id: static +label: static +type: 'canonical_entities:node' +pattern: '/[node:title]' +selection_criteria: + 39d7bfd7-77dc-4287-84b3-89ee7cd08221: + id: 'entity_bundle:node' + negate: false + uuid: 39d7bfd7-77dc-4287-84b3-89ee7cd08221 + context_mapping: + node: node + bundles: + static: static +selection_logic: and +weight: -5 +relationships: { } diff --git a/config/sync/rest_menu_items.config.yml b/config/sync/rest_menu_items.config.yml new file mode 100644 index 0000000..9a1e283 --- /dev/null +++ b/config/sync/rest_menu_items.config.yml @@ -0,0 +1,15 @@ +output_values: + - key + - title + - description + - uri + - alias + - external + - absolute + - relative + - existing + - weight + - expanded + - enabled + - uuid + - options diff --git a/config/sync/views.view.etapes.yml b/config/sync/views.view.etapes.yml index 817d96c..9dc6b62 100644 --- a/config/sync/views.view.etapes.yml +++ b/config/sync/views.view.etapes.yml @@ -12,6 +12,7 @@ dependencies: module: - color_pickr - date_range_formatter + - file - geofield - image - leaflet_views @@ -348,7 +349,7 @@ display: entity_field: nid plugin_id: field label: '' - exclude: false + exclude: true alter: alter_text: false text: '' @@ -389,10 +390,8 @@ display: empty_zero: false hide_alter_empty: true click_sort_column: value - type: number_integer - settings: - thousand_separator: '' - prefix_suffix: true + type: number_unformatted + settings: { } group_column: value group_columns: { } group_rows: true @@ -403,6 +402,121 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_couleur: + id: field_couleur + table: node__field_couleur + field: field_couleur + relationship: none + group_type: group + admin_label: '' + plugin_id: field + label: '' + exclude: true + alter: + alter_text: true + text: '{{ field_couleur__color_pickr }}' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: color_pickr + type: color_pickr_default + settings: { } + group_column: color_pickr + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + view_node: + id: view_node + table: node + field: view_node + relationship: none + group_type: group + admin_label: '' + entity_type: node + plugin_id: entity_link + label: '' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: voir + output_url_as_text: true + absolute: false title: id: title table: node_field_data @@ -416,10 +530,10 @@ display: label: '' exclude: false alter: - alter_text: false - text: '' - make_link: true - path: '' + alter_text: true + text: '{{ title }}'; + $output .= '

' . t('helpers for progressive decoupling') . '

'; + return $output; + + default: + } +} + + +/** + * Implements hook_page_attachments(). + * @param array $attachments + */ +function decoupled_page_attachments(array &$attachments) { + $redirect = false; + $current_path = \Drupal::service('path.current')->getPath(); + $route_name = \Drupal::routeMatch()->getRouteName(); + // $route_parameters = \Drupal::routeMatch()->getParameters()->all(); + // ksm($route_parameters); + $current_language = \Drupal::languageManager()->getCurrentLanguage()->getId(); + $is_front = \Drupal::service('path.matcher')->isFrontPage(); + if (!$is_front) { + $redirect = true; + } + $entity_type = null; + $entity_bundle = null; + $entity_id = null; + $entity_uuid = null; + $base_alias = null; + + foreach (['node', 'taxonomy_term'] as $type) { + $entity = \Drupal::routeMatch()->getParameter($type); + if($entity){ + $entity_type = $type; + $entity_bundle = $entity->bundle(); + $entity_id = $entity->id(); + $entity_uuid = $entity->uuid(); + + // $pathauto_patterns = \Drupal::entityTypeManager()->getStorage('pathauto_pattern')->loadByProperties(['type' => "canonical_entities:".$entity_type]); + // foreach ($pathauto_patterns as $id => $pattern) { + // $conditions = $pattern->getSelectionConditions(); + // $condition_config = $conditions->getConfiguration(); + // foreach ($condition_config as $key => $config) { + // $bundles = array_keys($config['bundles']); + // if (in_array($entity_bundle, $bundles)) { + // $motif = $pattern->getPattern(); + // preg_match('/(\/.+)+\/\[[^]]+\]/', $motif, $matches); + // $base_alias = $matches[1]; + // break 2; + // } + // } + // } + + break; + } + } + + + + // route_parameters:'".json_encode($route_parameters)."',\n + $js_str = "var drupalDecoupled = {\n + sys_path:'".$current_path."',\n + route_name:'".$route_name."',\n + is_front:".($is_front ? 'true':'false').",\n + base_alias:'".$base_alias."',\n + redirect:".($redirect ? 'true':'false').",\n + lang_code:'".$current_language."',\n + entity_type:'".$entity_type."',\n + entity_bundle:'".$entity_bundle."',\n + entity_id:'".$entity_id."',\n + entity_uuid:'".$entity_uuid."',\n + };"; + + $attachments['#attached']['html_head'][] = [ + [ + '#type' => 'html_tag', + '#tag' => 'script', + '#value' => $js_str, + '#weight' => -999, + '#group' => 'decoupled' + ], + // A key, to make it possible to recognize this HTML element when altering. + 'decoupled', + ]; +} diff --git a/web/profiles/drupal-starterkit-profile b/web/profiles/drupal-starterkit-profile index 47a87c5..18c6b02 160000 --- a/web/profiles/drupal-starterkit-profile +++ b/web/profiles/drupal-starterkit-profile @@ -1 +1 @@ -Subproject commit 47a87c53193ba7b7fb7dfdee68273035c46d9440 +Subproject commit 18c6b02464fdc76846d9ed4261a9403fb7d0dc18 diff --git a/web/themes/custom/caravane/assets/dist/main.css b/web/themes/custom/caravane/assets/dist/main.css index 26d7f9d..d514976 100644 --- a/web/themes/custom/caravane/assets/dist/main.css +++ b/web/themes/custom/caravane/assets/dist/main.css @@ -1 +1 @@ -body{background-color:red} +@charset "UTF-8";@font-face{font-family:Joost;src:url(/themes/custom/caravane/assets/fonts/joost/joost-bold.woff2) format("woff2");font-weight:700;font-style:normal}@font-face{font-family:Joost;src:url(/themes/custom/caravane/assets/fonts/joost/joost-light.woff2) format("woff2");font-weight:lighter;font-style:normal}@font-face{font-family:Marianne;src:url(/themes/custom/caravane/assets/fonts/marianne/Marianne-Bold_Italic.woff) format("woff"),url(/themes/custom/caravane/assets/fonts/marianne/Marianne-Bold_Italic.woff2) format("woff2");font-weight:700;font-style:italic}@font-face{font-family:Marianne;src:url(/themes/custom/caravane/assets/fonts/marianne/Marianne-Bold.woff2) format("woff2");font-weight:700;font-style:normal}@font-face{font-family:Marianne;src:url(/themes/custom/caravane/assets/fonts/marianne/Marianne-Light_Italic.woff2) format("woff2");font-weight:lighter;font-style:italic}@font-face{font-family:Marianne;src:url(/themes/custom/caravane/assets/fonts/marianne/Marianne-Light.woff2) format("woff2");font-weight:lighter;font-style:normal}@font-face{font-family:Marianne;src:url(/themes/custom/caravane/assets/fonts/marianne/Marianne-Regular_Italic.woff2) format("woff2");font-weight:400;font-style:italic}@font-face{font-family:Marianne;src:url(/themes/custom/caravane/assets/fonts/marianne/Marianne-Regular.woff2) format("woff2");font-weight:400;font-style:normal}body{font-family:Marianne,sans-serif;color:#1a1918;margin:0;padding:0;overflow-y:scroll}body.no-scroll{overflow-y:hidden}body .layout-container>header{z-index:2;position:relative}body .layout-container>header>div{padding:5px 30px 0;display:grid;grid-template-columns:repeat(16,1fr)}body .layout-container>header>div>#block-caravane-logorepublique{grid-column:1/span 1;display:flex;align-items:center}body .layout-container>header>div>#block-caravane-logorepublique>div>div>a>img{width:100%;height:auto}body .layout-container>header>div>#block-caravane-logoepau{grid-column:2/span 2;display:flex;align-items:center;padding-right:2.5rem}body .layout-container>header>div>#block-caravane-logoepau>div>div>a>img{width:100%;height:auto}body .layout-container>header>div>#block-caravane-logocaravane{grid-column:8/span 2;padding-top:.5rem;display:flex;align-items:center}body .layout-container>header>div>#block-caravane-logocaravane>div>div>a>img{width:100%;height:auto}body .layout-container>header>div>#block-caravane-mainnavigation{display:flex;justify-content:flex-end;grid-column:16/span 1;width:10vw;margin-top:1.8vh;position:fixed;right:30px}body .layout-container>header>div>#block-caravane-mainnavigation>#menu-title{display:flex;z-index:2;background-color:#80c8bf;position:fixed;width:15vw;right:0;top:0;padding-top:2.8vh;margin-right:30px;padding-bottom:10px;max-height:0vh;overflow:hidden;height:5vh;transition:max-height .3s ease-out,opacity .2s ease-out;opacity:0;align-items:center}body .layout-container>header>div>#block-caravane-mainnavigation>#menu-title>p{padding-left:2rem;margin:10px 0;color:#fff;font-size:1.8rem;font-family:Joost,sans-serif;font-weight:700}body .layout-container>header>div>#block-caravane-mainnavigation>#menu-title.open{opacity:1;max-height:5vh}body .layout-container>header>div>#block-caravane-mainnavigation>#menu{display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>h2{z-index:2;margin-block:0;font-size:.8rem;color:#635b58;font-weight:400;margin-bottom:5px}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>h2{display:none}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger{position:fixed;height:5vh;right:0;top:0;margin-right:30px;padding-top:2.8vh;padding-bottom:10px;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:center;width:2.4rem;transition:transform .3s ease-out,opacity .3s ease-out}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger>div{width:100%;height:3px;margin:4px 0;border-radius:2px;background-color:#635b58;opacity:1;transition:transform .5s,opacity .2s}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger:hover{transform:scale(1.1)}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger.open{transform:scale(.7) translate(-20px)}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger.open>div{background-color:#fff}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger.open>div:first-of-type{transform:rotate(45deg);margin-top:50%}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger.open>div:last-of-type{transform:rotate(-45deg);margin-top:-50%}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger.open>div:nth-child(2){opacity:0}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>#hamburger.open:hover{transform:scale(.75) translate(-20px)}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>ul{list-style-type:none;background-color:#fff;position:fixed;width:15vw;right:30px;padding:0;padding-top:1.5rem;padding-bottom:1.5rem;top:-5vh;opacity:0;transition:top .3s ease-out,opacity .2s ease-out;z-index:1}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>ul>li{padding-left:2rem;margin:15px 0}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>ul>li>a{color:#1a1918;text-decoration:none}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>ul>li>a.is-active:before,body .layout-container>header>div>#block-caravane-mainnavigation>#menu>ul>li>a:hover:before{content:"→";color:#80c8bf;width:2rem;display:inline-block;opacity:1}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>ul>li>a:before{content:"→";color:#80c8bf;opacity:0;display:inline-block;width:0rem;transition:width .2s ease-out,opacity .2s ease-out}body .layout-container>header>div>#block-caravane-mainnavigation>#menu>ul.open{opacity:1;top:7vh}body .layout-container>main{z-index:1;position:absolute;top:0;left:0;width:100%;height:100vh}body .layout-container>main>.layout-content{z-index:1;position:fixed;top:0;width:100%;height:100%}body .layout-container>main>.layout-content>div{height:100%}body .layout-container>main>.layout-content>div>.layout{display:grid;grid-template-columns:repeat(16,1fr);align-items:center;height:100%}body .layout-container>main>.layout-content>div>.layout>.layout__region--first{display:none;padding-left:30px;grid-column:1/span 4;position:relative;z-index:2;pointer-events:none;width:fit-content}body .layout-container>main>.layout-content>div>.layout>.layout__region--first>div{pointer-events:auto}body .layout-container>main>.layout-content>div>.layout>.layout__region--second{position:absolute;z-index:1;top:0;width:100vw}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-control-zoom{border:none;margin:0;left:30px;bottom:4vh}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-control-zoom>a{display:flex;justify-content:center;align-items:center;font-size:1.4rem;font-family:marianne,sans-serif;font-weight:lighter;width:4vh;height:4vh}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-control-zoom>a:first-of-type{border-top-left-radius:2vh;border-top-right-radius:2vh}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-control-zoom>a:last-of-type{border-bottom-left-radius:2vh;border-bottom-right-radius:2vh}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-control-zoom>a:last-of-type>span{padding-bottom:10px}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-right{right:unset;left:0}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-map-divicon{width:10px;height:30px;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:transform .3s ease-out}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-map-divicon>div{background-color:red;display:block;width:20px;height:10px}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-map-divicon>div:first-of-type{height:8px;clip-path:polygon(0 0,100% 0,50% 100%);transform:rotate(180deg)}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-container .leaflet-map-divicon>div:nth-of-type(3){height:8px;clip-path:polygon(0 0,100% 0,50% 100%)}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane{width:25vw;pointer-events:none}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div{padding:0;border-radius:none;box-shadow:none;opacity:1!important;border-radius:0!important;background-color:transparent;border:none}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div{max-height:15vh;overflow:hidden;display:grid;grid-template-columns:minmax(10px,12.5vw) 12.5vw;grid-template-rows:1.5fr .5fr;transform:translateY(-60%);background-color:#fff;opacity:0;transition:opacity .3s ease-out}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:first-of-type{grid-column:1/span 1;grid-row:1/span 1;font-family:Joost,sans-serif;font-size:1.4rem;padding-top:10px;padding-left:20px;padding-right:20px;text-wrap:wrap}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:first-of-type>a{display:inline-block;text-align:center;font-weight:700;text-decoration:none;color:#1a1918}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:first-of-type>a>span{font-weight:lighter}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:nth-of-type(2){grid-column:1/span 1;grid-row:2/span 1;text-align:center;padding:10px 0}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:nth-of-type(2)>time{font-size:.8rem;font-family:Marianne,sans-serif;font-weight:lighter}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:nth-of-type(3){width:100%;height:100%;display:block;padding:0;grid-column:2/span 1;grid-row:1/span 2;overflow:hidden}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:nth-of-type(3)>a{display:block;width:100%;height:100%;padding:0}body .layout-container>main>.layout-content>div>.layout>.layout__region--second .leaflet-tooltip-pane>div>div>div:nth-of-type(3)>a>img{padding:0;height:100%;width:auto;object-fit:cover;margin:0;display:block}body .layout-container>main>.layout-content>div>.layout>.layout__region--third{padding-right:30px;height:100%;grid-column:11/span 6;position:relative;z-index:2;background:linear-gradient(to right,transparent,#faf1eb);display:flex;align-items:center;justify-content:flex-end;pointer-events:none}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div{pointer-events:auto}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul{list-style:none}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li{display:flex;justify-content:end;align-items:center;margin:30px 0;transform:scale(1);opacity:1;transition:transform .3s ease-out,opacity .3s ease-out;cursor:pointer}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;justify-content:end;margin-right:20px}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret p{margin:0}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-nid{display:none}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-title{grid-column:1/span 1;grid-row:1/span 1;margin-right:10px}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-title a{text-decoration:none;color:#1a1918;font-family:Joost,sans-serif;font-weight:700;font-size:1.4rem;display:inline-block;text-align:right}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-field-adresse-postal-code{grid-column:2/span 1;grid-row:1/span 1;color:#1a1918;font-family:Joost,sans-serif;font-weight:lighter;font-size:1.4rem;align-self:end}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-field-adresse-postal-code>span>p:before{content:"("}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-field-adresse-postal-code>span>p:after{content:")"}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-field-dates{grid-column:1/span 2;grid-row:2/span 1;font-size:.8rem;font-family:Marianne,sans-serif;font-weight:lighter;text-align:right;margin-top:7px}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.infos-arret>.views-field-field-couleur{display:none}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.icone-arret{width:10px;height:30px;display:flex;flex-direction:column;justify-content:center;align-items:center}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.icone-arret>div{background-color:red;display:block;width:20px;height:10px}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.icone-arret>div:first-of-type,body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.icone-arret>div:last-of-type{height:8px;clip-path:polygon(0 0,100% 0,50% 100%)}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li>.icone-arret>div:first-of-type{transform:rotate(180deg)}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li:hover{transform:scale(1.05)}body .layout-container>main>.layout-content>div>.layout>.layout__region--third>div ul>li.inactive{opacity:.6}body .layout-container>main>.layout-content>div>.user-login-form{height:90vh;display:flex;flex-direction:column;align-items:center;justify-content:center}body .layout-container>main>.layout-content>div>.user-login-form>div{margin:20px 0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale){padding-bottom:40vh}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper{left:25vw;width:50vw;top:15vh;z-index:2;position:relative;background-color:#fff;padding-bottom:180px}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper img{width:100%;height:auto;object-fit:cover}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>div{width:100%;overflow:hidden}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header{margin-bottom:2rem}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.cover{max-height:60vh;display:flex;justify-content:center;overflow:hidden;position:relative;z-index:0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.cartouche{position:absolute;top:2rem;padding:1rem 1.5rem;background-color:#80c8bf;z-index:1}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.cartouche>p{margin-block-start:0;margin-block-end:0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.cartouche>p:last-of-type{font-weight:700}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.locality{position:relative;z-index:1;width:50%;margin-left:25%;margin-top:-245px}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.locality>.top-triangle{display:block;width:100%;height:100px;display:flex;clip-path:polygon(-1% 100%,50% 0,101% 100%);background-color:#fff;margin-bottom:-1px}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.locality>.locality-title{min-height:115px;display:block;background-color:#fff;padding:1rem 2rem;display:flex;align-items:center}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.locality>.locality-title>h1{width:100%;font-size:2.4rem;margin-block-start:0;margin-block-end:0;font-family:Joost,sans-serif;text-align:center}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>header>.locality>.locality-title>h1>em{font-style:normal;font-weight:lighter}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main{width:100%;padding:0 5vw;box-sizing:border-box}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie{width:100%;display:inline-block}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.sensible-map{margin:0;width:calc(100% + 5vw);margin-left:-2.5vw;margin-top:2.5vw}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.sensible-map .vh--message{font-size:.8rem;top:1rem;left:1rem;bottom:unset;background-color:#fff9;color:#635b58}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.sensible-map>figcaption{margin-left:2.5vw}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.partie-title>h3,body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.chiffres-cles>h3,body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.entretien>h3{position:relative;display:inline-block}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.partie-title>h3>p,body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.chiffres-cles>h3>p,body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.entretien>h3>p{display:inline;font-size:1.8rem;font-family:Joost,sans-serif;margin:0;z-index:1;position:relative;padding:0 .5rem}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.chiffres-cles>div{display:grid;gap:2rem;grid-template-columns:1fr 1fr 1fr;align-content:flex-start;margin:2rem 0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.chiffres-cles>div>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.chiffres-cles>div>div>.chiffre{padding-left:1rem;font-size:2.4rem;font-weight:700;font-family:Joost,sans-serif;margin:0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.chiffres-cles>div>div>.chiffre>p{margin:0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.chiffres-cles>div>div>.chiffre-caption{padding-left:1rem;font-size:.8rem;margin:0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.diaporama{width:calc(100% + 10vw);margin-top:5rem;margin-bottom:3rem;margin-left:-5vw}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.diaporama figure{margin:0 2.5vw}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.diaporama figure>img{width:100%}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.diaporama figure>figcaption{padding-bottom:2rem}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main>.partie>.videos iframe{margin:2rem 0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>main .caption{font-size:.8rem;color:#635b58;margin-top:.2rem;margin-bottom:1.8rem}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper .brand-pattern{display:block;width:100%;height:120px}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper .brand-pattern>.pattern{display:block;width:100%;height:100%;background-image:url(/themes/custom/caravane/assets/imgs/motif-caravane-invert-tile.png);background-size:300px;background-size:repeat}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .pattern-bottom{-webkit-mask-image:linear-gradient(to top,#000,#0000);mask-image:linear-gradient(to top,#000,#0000);height:180px;position:absolute;bottom:0}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links{position:absolute;bottom:-90px;width:100%;box-sizing:border-box;padding:0 2.5vw;display:grid;grid-template-columns:1fr 1fr}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card{width:80%;display:flex;align-items:center;cursor:pointer;transition:transform .3s ease-out}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card:hover{transform:scale(1.05)}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card.next{grid-column:2/span 1;justify-self:flex-end}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.icon{z-index:2;width:10px;height:30px;display:flex;flex-direction:column;justify-content:center;align-items:center}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.icon>div{display:block;width:20px;height:10px}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.icon>div:first-of-type,body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.icon>div:last-of-type{height:8px;clip-path:polygon(0 0,100% 0,50% 100%)}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.icon>div:first-of-type{transform:rotate(180deg)}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.card-content{z-index:1;background-color:#fff;display:flex;width:100%}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.card-content>.infos{width:60%;text-align:center}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.card-content>.infos>.titre{padding:1rem .5rem;font-weight:700;font-family:Joost,sans-serif;font-size:1.4rem}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.card-content>.infos>.titre>span{font-weight:lighter}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.card-content>.infos>.date{font-size:.8rem;font-family:Marianne,sans-serif;font-weight:lighter;padding-bottom:1rem}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.card-content>.vignette{width:40%;position:relative}body .layout-container>main>#content-modale>div:not(.image-viewer-wrapper,.image-modale)>.content-wrapper>footer .related-etape-links>.card>.card-content>.vignette>img{top:0;position:absolute;width:100%;height:100%;object-fit:cover}.VueHoverfade-enter-active,.VueHoverfade-leave-active{transition:opacity .5s}.VueHoverfade-enter,.VueHoverfade-leave-to{opacity:0}.vh--outer[v-cloak]{display:none}.vh--flex{display:flex}.vh--jc{justify-content:center}.vh--ai{align-items:center}.vh--rel{position:relative}.vh--abs{position:absolute}.vh--outer{display:inline-block;line-height:0;font-family:Arial,Helvetica,sans-serif;color:#fff}.vh--holder{overflow:hidden;touch-action:manipulation;cursor:zoom-in;align-items:flex-start}.vh--image{top:0;left:0;pointer-events:none}.vh--message{background-color:#000000a6;padding:8px 15px;border-radius:50px;text-align:center;line-height:initial}.vh--message-top{top:20px}.vh--message-bottom{bottom:20px}.vh--icon{transform:rotate(-45deg);display:block;font-size:20px;margin-right:5px;line-height:20px}.vh--close{line-height:0;background-color:#000000a6;border-radius:50px;font-size:23px;cursor:pointer;height:28px;width:28px}.vh--top-left{top:5px;left:5px}.vh--top-right{top:5px;right:5px}.vh--top-center{top:5px;left:50%;transform:translate(-50%)}.vh--bottom-left{bottom:5px;left:5px}.vh--bottom-right{bottom:5px;right:5px}.vh--bottom-center{bottom:5px;left:50%;transform:translate(-50%)}.vh--loading-o{top:0;left:0;width:100%;height:100%;background-color:#000000a6;pointer-events:none}.vh--loading{top:50%;left:50%;font-size:60px;line-height:60px;animation:vuehoverzoomspin 1s linear infinite;width:36px;height:70px}.vh--none{opacity:0}.vh--no-click img{pointer-events:none}@keyframes vuehoverzoomspin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-enter-active[data-v-7231769d],.fade-leave-active[data-v-7231769d]{transition:opacity .3s ease}.fade-enter-from[data-v-7231769d],.fade-leave-to[data-v-7231769d]{opacity:0}.image-viewer-wrapper[data-v-7231769d]{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);position:fixed;top:0;left:0;width:100%;height:100%;z-index:100}.image-viewer-wrapper>.img-modale[data-v-7231769d]{background-color:#000c;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.image-viewer-wrapper>.simple-viewer>.img-wrapper[data-v-7231769d]{max-width:60%;display:flex;flex-direction:column}.image-viewer-wrapper>.simple-viewer>.img-wrapper>img[data-v-7231769d]{width:100%}.image-viewer-wrapper>.simple-viewer>.img-wrapper>figcaption[data-v-7231769d]{margin:0;background-color:#fff;font-size:.8rem;padding:.5rem 1.5rem}.image-viewer-wrapper>.swiper-viewer[data-v-7231769d]{z-index:1}.image-viewer-wrapper>.swiper-viewer>.swiper-wrapper[data-v-7231769d]{height:100%;width:100%}.image-viewer-wrapper>.swiper-viewer>.swiper-wrapper swiper-container[data-v-7231769d]{height:95%}.image-viewer-wrapper>.swiper-viewer>.swiper-wrapper swiper-container swiper-slide[data-v-7231769d]{display:flex;justify-content:center;align-items:flex-start}.image-viewer-wrapper>.swiper-viewer>.swiper-wrapper swiper-container swiper-slide figure[data-v-7231769d]{margin-top:3%;max-width:60%;height:80%;max-height:80vh}.image-viewer-wrapper>.swiper-viewer>.swiper-wrapper swiper-container swiper-slide figure img[data-v-7231769d]{height:-webkit-fill-available!important;max-width:100%;margin-bottom:-5px;object-fit:cover}.image-viewer-wrapper>.swiper-viewer>.swiper-wrapper swiper-container swiper-slide figure figcaption[data-v-7231769d]{margin:0;background-color:#fff;font-size:.8rem;padding:.5rem 1.5rem}.image-viewer-wrapper>.close-button[data-v-7231769d]{position:fixed;top:2rem;right:30px;background-color:unset;border:none;display:block;height:3rem;width:3rem;border-radius:1.5rem;cursor:pointer;background-color:#fff;padding:0;display:flex;justify-content:center;align-items:center;z-index:2}.image-viewer-wrapper>.close-button>div[data-v-7231769d]{display:block;height:2px;border-radius:4px;width:60%;background-color:#1a1918;position:absolute;transition:transform .3s ease}.image-viewer-wrapper>.close-button>div[data-v-7231769d]:nth-of-type(1){transform:rotate(45deg) scale(1)}.image-viewer-wrapper>.close-button>div[data-v-7231769d]:nth-of-type(2){transform:rotate(-45deg) scale(1)}.image-viewer-wrapper>.close-button:hover>div[data-v-7231769d]:nth-of-type(1){transform:rotate(45deg) scale(1.1)}.image-viewer-wrapper>.close-button:hover>div[data-v-7231769d]:nth-of-type(2){transform:rotate(-45deg) scale(1.1)}.footnote{position:relative;font-weight:bolder;font-size:.7rem;margin:0 2px;padding:0 2px;background-color:var(--couleur);vertical-align:top;cursor:pointer}.footnote .footnote-text{opacity:0;transition:opacity .3s ease-out;text-wrap:nowrap;display:block;position:absolute;background-color:var(--couleur);padding:4px 10px}.footnote .footnote-text p{font-weight:400;margin:0}.footnote .footnote-text p a{color:inherit}.partie-content img{margin-top:2rem;cursor:pointer;transition:transform .3s ease-out}.partie-content img:hover{transform:scale(1.01)}:root{--swiper-navigation-color: #1a1918;--swiper-pagination-color: var(--etape-couleur);--swiper-navigation-top-offset: calc(100% - 1.5rem) ;--swiper-navigation-sides-offset: 5vw}.diaporama{--swiper-navigation-size: 1.5rem}swiper-slide figure:not(.popup-figure){max-height:40vh;padding-bottom:3rem}swiper-slide figure:not(.popup-figure) figcaption{text-align:center}swiper-slide img:not(.popup-img){max-height:35vh;cursor:pointer;transition:transform .3s ease-out;object-fit:contain!important}swiper-slide img:not(.popup-img):hover{transform:scale(1.01)}.personne[data-v-6b076244]{display:flex;align-items:center;margin:2rem 0}.personne[data-v-6b076244]:first-of-type{margin-top:1rem}.personne>figure[data-v-6b076244]{width:6rem;height:6rem;margin:0;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:3rem}.personne>figure>img[data-v-6b076244]{object-fit:cover;width:100%;height:100%}.personne>.description[data-v-6b076244]{width:calc(100% - 6rem)}.personne>.description>p[data-v-6b076244]{margin:0;padding-left:2rem}.questions-reponses[data-v-6b076244]{margin-top:3rem}.questions-reponses>div>.question[data-v-6b076244]{font-weight:700;position:relative;padding-left:1.8rem;margin-top:2rem;margin-bottom:1rem}.questions-reponses>div>.question[data-v-6b076244]:before{position:absolute;content:"";display:block;height:100%;width:.8rem;left:0;background-color:var(--couleur);margin-right:1rem}.exergue[data-v-19738a4f]{font-size:1.3rem;font-style:italic;line-height:1.5;position:relative;padding-left:1.8rem;margin:5rem 0}.exergue[data-v-19738a4f]:before{content:"";display:block;position:absolute;background-color:var(--couleur);width:.8rem;height:100%;margin-right:1rem;left:0}.v-enter-active{transition:all .5s linear var(--modale-enter-delay)}.v-leave-active{transition:all .5s linear var(--modale-leave-delay)}.v-enter-from,.v-leave-to{transform:translateY(20vh)}.v-enter-to,.v-leave-from{transform:translateY(0)} diff --git a/web/themes/custom/caravane/assets/dist/main.js b/web/themes/custom/caravane/assets/dist/main.js index f2c4fdb..41c468c 100644 --- a/web/themes/custom/caravane/assets/dist/main.js +++ b/web/themes/custom/caravane/assets/dist/main.js @@ -1,22 +1,66 @@ /** -* @vue/shared v3.4.31 +* @vue/shared v3.5.10 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Wn(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const z={},Ze=[],ae=()=>{},Uo=()=>!1,Jt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zn=e=>e.startsWith("onUpdate:"),Y=Object.assign,kn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Do=Object.prototype.hasOwnProperty,D=(e,t)=>Do.call(e,t),L=Array.isArray,dt=e=>Gt(e)==="[object Map]",Bo=e=>Gt(e)==="[object Set]",M=e=>typeof e=="function",Z=e=>typeof e=="string",nt=e=>typeof e=="symbol",J=e=>e!==null&&typeof e=="object",bs=e=>(J(e)||M(e))&&M(e.then)&&M(e.catch),Ho=Object.prototype.toString,Gt=e=>Ho.call(e),$o=e=>Gt(e).slice(8,-1),Vo=e=>Gt(e)==="[object Object]",Jn=e=>Z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ht=Wn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qo=/-(\w)/g,et=Xt(e=>e.replace(qo,(t,n)=>n?n.toUpperCase():"")),Ko=/\B([A-Z])/g,rt=Xt(e=>e.replace(Ko,"-$1").toLowerCase()),ys=Xt(e=>e.charAt(0).toUpperCase()+e.slice(1)),dn=Xt(e=>e?`on${ys(e)}`:""),Ge=(e,t)=>!Object.is(e,t),hn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Wo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Or;const ws=()=>Or||(Or=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gn(e){if(L(e)){const t={};for(let n=0;n{if(n){const r=n.split(ko);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Xn(e){let t="";if(Z(e))t=e;else if(L(e))for(let n=0;ns in e}const xe={},Ss=[],xt=()=>{},Fc=()=>!1,Hi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),gr=t=>t.startsWith("onUpdate:"),$e=Object.assign,vr=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},Hc=Object.prototype.hasOwnProperty,be=(t,e)=>Hc.call(t,e),le=Array.isArray,Es=t=>Bi(t)==="[object Map]",ba=t=>Bi(t)==="[object Set]",ue=t=>typeof t=="function",ze=t=>typeof t=="string",Zt=t=>typeof t=="symbol",Pe=t=>t!==null&&typeof t=="object",ya=t=>(Pe(t)||ue(t))&&ue(t.then)&&ue(t.catch),Sa=Object.prototype.toString,Bi=t=>Sa.call(t),Bc=t=>Bi(t).slice(8,-1),Ea=t=>Bi(t)==="[object Object]",wr=t=>ze(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,js=mr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ji=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},jc=/-(\w)/g,dt=ji(t=>t.replace(jc,(e,s)=>s?s.toUpperCase():"")),qc=/\B([A-Z])/g,hs=ji(t=>t.replace(qc,"-$1").toLowerCase()),qi=ji(t=>t.charAt(0).toUpperCase()+t.slice(1)),fn=ji(t=>t?`on${qi(t)}`:""),Yt=(t,e)=>!Object.is(t,e),pn=(t,...e)=>{for(let s=0;s{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:s})},Vc=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Wc=t=>{const e=ze(t)?Number(t):NaN;return isNaN(e)?t:e};let Xr;const Ta=()=>Xr||(Xr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Le(t){if(le(t)){const e={};for(let s=0;s{if(s){const i=s.split(Uc);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function yt(t){let e="";if(ze(t))e=t;else if(le(t))for(let s=0;s!!(t&&t.__v_isRef===!0),Ee=t=>ze(t)?t:t==null?"":le(t)||Pe(t)&&(t.toString===Sa||!ue(t.toString))?_a(t)?Ee(t.value):JSON.stringify(t,Ma,2):String(t),Ma=(t,e)=>_a(e)?Ma(t,e.value):Es(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[i,n],r)=>(s[hn(i,r)+" =>"]=n,s),{})}:ba(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>hn(s))}:Zt(e)?hn(e):Pe(e)&&!le(e)&&!Ea(e)?String(e):e,hn=(t,e="")=>{var s;return Zt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/** +* @vue/reactivity v3.5.10 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let pe;class Zo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pe,!t&&pe&&(this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=pe;try{return pe=this,t()}finally{pe=n}}}on(){pe=this}off(){pe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ue()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ie,n=We;try{return Ie=!0,We=this,this._runnings++,Tr(this),this.fn()}finally{Cr(this),this._runnings--,We=n,Ie=t}}stop(){this.active&&(Tr(this),Cr(this),this.onStop&&this.onStop(),this.active=!1)}}function ti(e){return e.value}function Tr(e){e._trackId++,e._depsLength=0}function Cr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},An=new WeakMap,ze=Symbol(""),Pn=Symbol("");function le(e,t,n){if(Ie&&We){let r=An.get(e);r||An.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Ts(()=>r.delete(n))),Rs(We,s)}}function Ae(e,t,n,r,s,o){const i=An.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&L(e)){const c=Number(r);i.forEach((a,u)=>{(u==="length"||!nt(u)&&u>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":L(e)?Jn(n)&&l.push(i.get("length")):(l.push(i.get(ze)),dt(e)&&l.push(i.get(Pn)));break;case"delete":L(e)||(l.push(i.get(ze)),dt(e)&&l.push(i.get(Pn)));break;case"set":dt(e)&&l.push(i.get(ze));break}Zn();for(const c of l)c&&Os(c,4);Qn()}const ni=Wn("__proto__,__v_isRef,__isVue"),Cs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nt)),Ar=ri();function ri(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=$(this);for(let o=0,i=this.length;o{e[t]=function(...n){je(),Zn();const r=$(this)[t].apply(this,n);return Qn(),Ue(),r}}),e}function si(e){nt(e)||(e=String(e));const t=$(this);return le(t,"has",e),t.hasOwnProperty(e)}class As{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?bi:vs:o?Ns:Fs).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=L(t);if(!s){if(i&&D(Ar,n))return Reflect.get(Ar,n,r);if(n==="hasOwnProperty")return si}const l=Reflect.get(t,n,r);return(nt(n)?Cs.has(n):ni(n))||(s||le(t,"get",n),o)?l:ue(l)?i&&Jn(n)?l:l.value:J(l)?s?Ls(l):nr(l):l}}class Ps extends As{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=Vt(o);if(!Fn(r)&&!Vt(r)&&(o=$(o),r=$(r)),!L(t)&&ue(o)&&!ue(r))return c?!1:(o.value=r,!0)}const i=L(t)&&Jn(n)?Number(n)e,Yt=e=>Reflect.getPrototypeOf(e);function Ft(e,t,n=!1,r=!1){e=e.__v_raw;const s=$(e),o=$(t);n||(Ge(t,o)&&le(s,"get",t),le(s,"get",o));const{has:i}=Yt(s),l=r?er:n?or:sr;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Nt(e,t=!1){const n=this.__v_raw,r=$(n),s=$(e);return t||(Ge(e,s)&&le(r,"has",e),le(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function vt(e,t=!1){return e=e.__v_raw,!t&&le($(e),"iterate",ze),Reflect.get(e,"size",e)}function Pr(e){e=$(e);const t=$(this);return Yt(t).has.call(t,e)||(t.add(e),Ae(t,"add",e,e)),this}function Fr(e,t){t=$(t);const n=$(this),{has:r,get:s}=Yt(n);let o=r.call(n,e);o||(e=$(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Ge(t,i)&&Ae(n,"set",e,t):Ae(n,"add",e,t),this}function Nr(e){const t=$(this),{has:n,get:r}=Yt(t);let s=n.call(t,e);s||(e=$(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Ae(t,"delete",e,void 0),o}function vr(){const e=$(this),t=e.size!==0,n=e.clear();return t&&Ae(e,"clear",void 0,void 0),n}function Lt(e,t){return function(r,s){const o=this,i=o.__v_raw,l=$(i),c=t?er:e?or:sr;return!e&&le(l,"iterate",ze),i.forEach((a,u)=>r.call(s,c(a),c(u),o))}}function It(e,t,n){return function(...r){const s=this.__v_raw,o=$(s),i=dt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=s[e](...r),u=n?er:t?or:sr;return!t&&le(o,"iterate",c?Pn:ze),{next(){const{value:p,done:x}=a.next();return x?{value:p,done:x}:{value:l?[u(p[0]),u(p[1])]:u(p),done:x}},[Symbol.iterator](){return this}}}}function Fe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fi(){const e={get(o){return Ft(this,o)},get size(){return vt(this)},has:Nt,add:Pr,set:Fr,delete:Nr,clear:vr,forEach:Lt(!1,!1)},t={get(o){return Ft(this,o,!1,!0)},get size(){return vt(this)},has:Nt,add:Pr,set:Fr,delete:Nr,clear:vr,forEach:Lt(!1,!0)},n={get(o){return Ft(this,o,!0)},get size(){return vt(this,!0)},has(o){return Nt.call(this,o,!0)},add:Fe("add"),set:Fe("set"),delete:Fe("delete"),clear:Fe("clear"),forEach:Lt(!0,!1)},r={get(o){return Ft(this,o,!0,!0)},get size(){return vt(this,!0)},has(o){return Nt.call(this,o,!0)},add:Fe("add"),set:Fe("set"),delete:Fe("delete"),clear:Fe("clear"),forEach:Lt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=It(o,!1,!1),n[o]=It(o,!0,!1),t[o]=It(o,!1,!0),r[o]=It(o,!0,!0)}),[e,n,t,r]}const[ui,ai,di,hi]=fi();function tr(e,t){const n=t?e?hi:di:e?ai:ui;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(D(n,s)&&s in r?n:r,s,o)}const pi={get:tr(!1,!1)},mi={get:tr(!1,!0)},gi={get:tr(!0,!1)};const Fs=new WeakMap,Ns=new WeakMap,vs=new WeakMap,bi=new WeakMap;function yi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _i(e){return e.__v_skip||!Object.isExtensible(e)?0:yi($o(e))}function nr(e){return Vt(e)?e:rr(e,!1,ii,pi,Fs)}function wi(e){return rr(e,!1,ci,mi,Ns)}function Ls(e){return rr(e,!0,li,gi,vs)}function rr(e,t,n,r,s){if(!J(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=_i(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function pt(e){return Vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Fn(e){return!!(e&&e.__v_isShallow)}function Is(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function Ei(e){return Object.isExtensible(e)&&_s(e,"__v_skip",!0),e}const sr=e=>J(e)?nr(e):e,or=e=>J(e)?Ls(e):e;class Ms{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Yn(()=>t(this._value),()=>pn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=$(this);return(!t._cacheable||t.effect.dirty)&&Ge(t._value,t._value=t.effect.run())&&pn(t,4),Si(t),t.effect._dirtyLevel>=2&&pn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function xi(e,t,n=!1){let r,s;const o=M(e);return o?(r=e,s=ae):(r=e.get,s=e.set),new Ms(r,s,o||!s,n)}function Si(e){var t;Ie&&We&&(e=$(e),Rs(We,(t=e.dep)!=null?t:e.dep=Ts(()=>e.dep=void 0,e instanceof Ms?e:void 0)))}function pn(e,t=4,n,r){e=$(e);const s=e.dep;s&&Os(s,t)}function ue(e){return!!(e&&e.__v_isRef===!0)}function Ri(e){return ue(e)?e.value:e}const Oi={get:(e,t,n)=>Ri(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ue(s)&&!ue(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function js(e){return pt(e)?e:new Proxy(e,Oi)}/** -* @vue/runtime-core v3.4.31 +**/let We;class Pa{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=We,!e&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e0)return;let t;for(;ys;){let e=ys,s;for(;e;)e.flags&1||(e.flags&=-9),e=e.next;for(e=ys,ys=void 0;e;){if(s=e.next,e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){t||(t=i)}e=s}}if(t)throw t}function za(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ka(t){let e,s=t.depsTail,i=s;for(;i;){const n=i.prevDep;i.version===-1?(i===s&&(s=n),Sr(i),Qc(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=n}t.deps=e,t.depsTail=s}function Hn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Da(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Da(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ys))return;t.globalVersion=Ys;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!Hn(t)){t.flags&=-3;return}const s=Me,i=pt;Me=t,pt=!0;try{za(t);const n=t.fn(t._value);(e.version===0||Yt(n,t._value))&&(t._value=n,e.version++)}catch(n){throw e.version++,n}finally{Me=s,pt=i,ka(t),t.flags&=-3}}function Sr(t,e=!1){const{dep:s,prevSub:i,nextSub:n}=t;if(i&&(i.nextSub=n,t.prevSub=void 0),n&&(n.prevSub=i,t.nextSub=void 0),s.subs===t&&(s.subs=i),!s.subs&&s.computed){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Sr(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Qc(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let pt=!0;const $a=[];function Jt(){$a.push(pt),pt=!1}function Qt(){const t=$a.pop();pt=t===void 0?!0:t}function Yr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=Me;Me=void 0;try{e()}finally{Me=s}}}let Ys=0;class eu{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Er{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!Me||!pt||Me===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Me)s=this.activeLink=new eu(Me,this),Me.deps?(s.prevDep=Me.depsTail,Me.depsTail.nextDep=s,Me.depsTail=s):Me.deps=Me.depsTail=s,Na(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const i=s.nextDep;i.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=i),s.prevDep=Me.depsTail,s.nextDep=void 0,Me.depsTail.nextDep=s,Me.depsTail=s,Me.deps===s&&(Me.deps=i)}return s}trigger(e){this.version++,Ys++,this.notify(e)}notify(e){br();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{yr()}}}function Na(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)Na(i)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Pi=new WeakMap,as=Symbol(""),Bn=Symbol(""),Ks=Symbol("");function qe(t,e,s){if(pt&&Me){let i=Pi.get(t);i||Pi.set(t,i=new Map);let n=i.get(s);n||(i.set(s,n=new Er),n.target=t,n.map=i,n.key=s),n.track()}}function At(t,e,s,i,n,r){const o=Pi.get(t);if(!o){Ys++;return}const l=a=>{a&&a.trigger()};if(br(),e==="clear")o.forEach(l);else{const a=le(t),d=a&&wr(s);if(a&&s==="length"){const c=Number(i);o.forEach((u,f)=>{(f==="length"||f===Ks||!Zt(f)&&f>=c)&&l(u)})}else switch(s!==void 0&&l(o.get(s)),d&&l(o.get(Ks)),e){case"add":a?d&&l(o.get("length")):(l(o.get(as)),Es(t)&&l(o.get(Bn)));break;case"delete":a||(l(o.get(as)),Es(t)&&l(o.get(Bn)));break;case"set":Es(t)&&l(o.get(as));break}}yr()}function tu(t,e){const s=Pi.get(t);return s&&s.get(e)}function gs(t){const e=ge(t);return e===t?e:(qe(e,"iterate",Ks),ct(t)?e:e.map(je))}function Vi(t){return qe(t=ge(t),"iterate",Ks),t}const su={__proto__:null,[Symbol.iterator](){return gn(this,Symbol.iterator,je)},concat(...t){return gs(this).concat(...t.map(e=>le(e)?gs(e):e))},entries(){return gn(this,"entries",t=>(t[1]=je(t[1]),t))},every(t,e){return Tt(this,"every",t,e,void 0,arguments)},filter(t,e){return Tt(this,"filter",t,e,s=>s.map(je),arguments)},find(t,e){return Tt(this,"find",t,e,je,arguments)},findIndex(t,e){return Tt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Tt(this,"findLast",t,e,je,arguments)},findLastIndex(t,e){return Tt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Tt(this,"forEach",t,e,void 0,arguments)},includes(...t){return vn(this,"includes",t)},indexOf(...t){return vn(this,"indexOf",t)},join(t){return gs(this).join(t)},lastIndexOf(...t){return vn(this,"lastIndexOf",t)},map(t,e){return Tt(this,"map",t,e,void 0,arguments)},pop(){return Rs(this,"pop")},push(...t){return Rs(this,"push",t)},reduce(t,...e){return Kr(this,"reduce",t,e)},reduceRight(t,...e){return Kr(this,"reduceRight",t,e)},shift(){return Rs(this,"shift")},some(t,e){return Tt(this,"some",t,e,void 0,arguments)},splice(...t){return Rs(this,"splice",t)},toReversed(){return gs(this).toReversed()},toSorted(t){return gs(this).toSorted(t)},toSpliced(...t){return gs(this).toSpliced(...t)},unshift(...t){return Rs(this,"unshift",t)},values(){return gn(this,"values",je)}};function gn(t,e,s){const i=Vi(t),n=i[e]();return i!==t&&!ct(t)&&(n._next=n.next,n.next=()=>{const r=n._next();return r.value&&(r.value=s(r.value)),r}),n}const iu=Array.prototype;function Tt(t,e,s,i,n,r){const o=Vi(t),l=o!==t&&!ct(t),a=o[e];if(a!==iu[e]){const u=a.apply(t,r);return l?je(u):u}let d=s;o!==t&&(l?d=function(u,f){return s.call(this,je(u),f,t)}:s.length>2&&(d=function(u,f){return s.call(this,u,f,t)}));const c=a.call(o,d,i);return l&&n?n(c):c}function Kr(t,e,s,i){const n=Vi(t);let r=s;return n!==t&&(ct(t)?s.length>3&&(r=function(o,l,a){return s.call(this,o,l,a,t)}):r=function(o,l,a){return s.call(this,o,je(l),a,t)}),n[e](r,...i)}function vn(t,e,s){const i=ge(t);qe(i,"iterate",Ks);const n=i[e](...s);return(n===-1||n===!1)&&_r(s[0])?(s[0]=ge(s[0]),i[e](...s)):n}function Rs(t,e,s=[]){Jt(),br();const i=ge(t)[e].apply(t,s);return yr(),Qt(),i}const nu=mr("__proto__,__v_isRef,__isVue"),Fa=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zt));function ru(t){Zt(t)||(t=String(t));const e=ge(this);return qe(e,"has",t),e.hasOwnProperty(t)}class Ha{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,i){const n=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!n;if(s==="__v_isReadonly")return n;if(s==="__v_isShallow")return r;if(s==="__v_raw")return i===(n?r?wu:Va:r?qa:ja).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const o=le(e);if(!n){let a;if(o&&(a=su[s]))return a;if(s==="hasOwnProperty")return ru}const l=Reflect.get(e,s,Ie(e)?e:i);return(Zt(s)?Fa.has(s):nu(s))||(n||qe(e,"get",s),r)?l:Ie(l)?o&&wr(s)?l:l.value:Pe(l)?n?Ga(l):ai(l):l}}class Ba extends Ha{constructor(e=!1){super(!1,e)}set(e,s,i,n){let r=e[s];if(!this._isShallow){const a=ds(r);if(!ct(i)&&!ds(i)&&(r=ge(r),i=ge(i)),!le(e)&&Ie(r)&&!Ie(i))return a?!1:(r.value=i,!0)}const o=le(e)&&wr(s)?Number(s)t,Wi=t=>Reflect.getPrototypeOf(t);function hi(t,e,s=!1,i=!1){t=t.__v_raw;const n=ge(t),r=ge(e);s||(Yt(e,r)&&qe(n,"get",e),qe(n,"get",r));const{has:o}=Wi(n),l=i?xr:s?Pr:je;if(o.call(n,e))return l(t.get(e));if(o.call(n,r))return l(t.get(r));t!==n&&t.get(e)}function mi(t,e=!1){const s=this.__v_raw,i=ge(s),n=ge(t);return e||(Yt(t,n)&&qe(i,"has",t),qe(i,"has",n)),t===n?s.has(t):s.has(t)||s.has(n)}function gi(t,e=!1){return t=t.__v_raw,!e&&qe(ge(t),"iterate",as),Reflect.get(t,"size",t)}function Zr(t,e=!1){!e&&!ct(t)&&!ds(t)&&(t=ge(t));const s=ge(this);return Wi(s).has.call(s,t)||(s.add(t),At(s,"add",t,t)),this}function Jr(t,e,s=!1){!s&&!ct(e)&&!ds(e)&&(e=ge(e));const i=ge(this),{has:n,get:r}=Wi(i);let o=n.call(i,t);o||(t=ge(t),o=n.call(i,t));const l=r.call(i,t);return i.set(t,e),o?Yt(e,l)&&At(i,"set",t,e):At(i,"add",t,e),this}function Qr(t){const e=ge(this),{has:s,get:i}=Wi(e);let n=s.call(e,t);n||(t=ge(t),n=s.call(e,t)),i&&i.call(e,t);const r=e.delete(t);return n&&At(e,"delete",t,void 0),r}function eo(){const t=ge(this),e=t.size!==0,s=t.clear();return e&&At(t,"clear",void 0,void 0),s}function vi(t,e){return function(i,n){const r=this,o=r.__v_raw,l=ge(o),a=e?xr:t?Pr:je;return!t&&qe(l,"iterate",as),o.forEach((d,c)=>i.call(n,a(d),a(c),r))}}function wi(t,e,s){return function(...i){const n=this.__v_raw,r=ge(n),o=Es(r),l=t==="entries"||t===Symbol.iterator&&o,a=t==="keys"&&o,d=n[t](...i),c=s?xr:e?Pr:je;return!e&&qe(r,"iterate",a?Bn:as),{next(){const{value:u,done:f}=d.next();return f?{value:u,done:f}:{value:l?[c(u[0]),c(u[1])]:c(u),done:f}},[Symbol.iterator](){return this}}}}function kt(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function uu(){const t={get(r){return hi(this,r)},get size(){return gi(this)},has:mi,add:Zr,set:Jr,delete:Qr,clear:eo,forEach:vi(!1,!1)},e={get(r){return hi(this,r,!1,!0)},get size(){return gi(this)},has:mi,add(r){return Zr.call(this,r,!0)},set(r,o){return Jr.call(this,r,o,!0)},delete:Qr,clear:eo,forEach:vi(!1,!0)},s={get(r){return hi(this,r,!0)},get size(){return gi(this,!0)},has(r){return mi.call(this,r,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:vi(!0,!1)},i={get(r){return hi(this,r,!0,!0)},get size(){return gi(this,!0)},has(r){return mi.call(this,r,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:vi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=wi(r,!1,!1),s[r]=wi(r,!0,!1),e[r]=wi(r,!1,!0),i[r]=wi(r,!0,!0)}),[t,s,e,i]}const[du,fu,pu,hu]=uu();function Tr(t,e){const s=e?t?hu:pu:t?fu:du;return(i,n,r)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?i:Reflect.get(be(s,n)&&n in i?s:i,n,r)}const mu={get:Tr(!1,!1)},gu={get:Tr(!1,!0)},vu={get:Tr(!0,!1)};const ja=new WeakMap,qa=new WeakMap,Va=new WeakMap,wu=new WeakMap;function bu(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yu(t){return t.__v_skip||!Object.isExtensible(t)?0:bu(Bc(t))}function ai(t){return ds(t)?t:Cr(t,!1,au,mu,ja)}function Wa(t){return Cr(t,!1,cu,gu,qa)}function Ga(t){return Cr(t,!0,lu,vu,Va)}function Cr(t,e,s,i,n){if(!Pe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=n.get(t);if(r)return r;const o=yu(t);if(o===0)return t;const l=new Proxy(t,o===2?i:s);return n.set(t,l),l}function Lt(t){return ds(t)?Lt(t.__v_raw):!!(t&&t.__v_isReactive)}function ds(t){return!!(t&&t.__v_isReadonly)}function ct(t){return!!(t&&t.__v_isShallow)}function _r(t){return t?!!t.__v_raw:!1}function ge(t){const e=t&&t.__v_raw;return e?ge(e):t}function Mr(t){return!be(t,"__v_skip")&&Object.isExtensible(t)&&xa(t,"__v_skip",!0),t}const je=t=>Pe(t)?ai(t):t,Pr=t=>Pe(t)?Ga(t):t;function Ie(t){return t?t.__v_isRef===!0:!1}function Ot(t){return Ua(t,!1)}function Su(t){return Ua(t,!0)}function Ua(t,e){return Ie(t)?t:new Eu(t,e)}class Eu{constructor(e,s){this.dep=new Er,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:ge(e),this._value=s?e:je(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,i=this.__v_isShallow||ct(e)||ds(e);e=i?e:ge(e),Yt(e,s)&&(this._rawValue=e,this._value=i?e:je(e),this.dep.trigger())}}function we(t){return Ie(t)?t.value:t}const xu={get:(t,e,s)=>e==="__v_raw"?t:we(Reflect.get(t,e,s)),set:(t,e,s,i)=>{const n=t[e];return Ie(n)&&!Ie(s)?(n.value=s,!0):Reflect.set(t,e,s,i)}};function Xa(t){return Lt(t)?t:new Proxy(t,xu)}function Tu(t){const e=le(t)?new Array(t.length):{};for(const s in t)e[s]=Ya(t,s);return e}class Cu{constructor(e,s,i){this._object=e,this._key=s,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return tu(ge(this._object),this._key)}}class _u{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Mu(t,e,s){return Ie(t)?t:ue(t)?new _u(t):Pe(t)&&arguments.length>1?Ya(t,e,s):Ot(t)}function Ya(t,e,s){const i=t[e];return Ie(i)?i:new Cu(t,e,s)}class Pu{constructor(e,s,i){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Er(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ys-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Me!==this)return Ra(this),!0}get value(){const e=this.dep.track();return Da(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Au(t,e,s=!1){let i,n;return ue(t)?i=t:(i=t.get,n=t.set),new Pu(i,n,s)}const bi={},Ai=new WeakMap;let ns;function Lu(t,e=!1,s=ns){if(s){let i=Ai.get(s);i||Ai.set(s,i=[]),i.push(t)}}function Ou(t,e,s=xe){const{immediate:i,deep:n,once:r,scheduler:o,augmentJob:l,call:a}=s,d=y=>n?y:ct(y)||n===!1||n===0?Mt(y,1):Mt(y);let c,u,f,p,h=!1,m=!1;if(Ie(t)?(u=()=>t.value,h=ct(t)):Lt(t)?(u=()=>d(t),h=!0):le(t)?(m=!0,h=t.some(y=>Lt(y)||ct(y)),u=()=>t.map(y=>{if(Ie(y))return y.value;if(Lt(y))return d(y);if(ue(y))return a?a(y,2):y()})):ue(t)?e?u=a?()=>a(t,2):t:u=()=>{if(f){Jt();try{f()}finally{Qt()}}const y=ns;ns=c;try{return a?a(t,3,[p]):t(p)}finally{ns=y}}:u=xt,e&&n){const y=u,T=n===!0?1/0:n;u=()=>Mt(y(),T)}const v=La(),b=()=>{c.stop(),v&&vr(v.effects,c)};if(r&&e){const y=e;e=(...T)=>{y(...T),b()}}let w=m?new Array(t.length).fill(bi):bi;const g=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(e){const T=c.run();if(n||h||(m?T.some((A,L)=>Yt(A,w[L])):Yt(T,w))){f&&f();const A=ns;ns=c;try{const L=[T,w===bi?void 0:m&&w[0]===bi?[]:w,p];a?a(e,3,L):e(...L),w=T}finally{ns=A}}}else c.run()};return l&&l(g),c=new Oa(u),c.scheduler=o?()=>o(g,!1):g,p=y=>Lu(y,!1,c),f=c.onStop=()=>{const y=Ai.get(c);if(y){if(a)a(y,4);else for(const T of y)T();Ai.delete(c)}},e?i?g(!0):w=c.run():o?o(g.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function Mt(t,e=1/0,s){if(e<=0||!Pe(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,Ie(t))Mt(t.value,e,s);else if(le(t))for(let i=0;i{Mt(i,e,s)});else if(Ea(t)){for(const i in t)Mt(t[i],e,s);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Mt(t[i],e,s)}return t}/** +* @vue/runtime-core v3.5.10 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Me(e,t,n,r){try{return r?e(...r):e()}catch(s){Zt(s,t,n)}}function ge(e,t,n,r){if(M(e)){const s=Me(e,t,n,r);return s&&bs(s)&&s.catch(o=>{Zt(o,t,n)}),s}if(L(e)){const s=[];for(let o=0;o>>1,s=ee[r],o=_t(s);oSe&&ee.splice(t,1)}function Fi(e){L(e)?Qe.push(...e):(!ve||!ve.includes(e,e.allowRecurse?qe+1:qe))&&Qe.push(e),Ds()}function Lr(e,t,n=yt?Se+1:0){for(;n_t(n)-_t(r));if(Qe.length=0,ve){ve.push(...t);return}for(ve=t,qe=0;qee.id==null?1/0:e.id,Ni=(e,t)=>{const n=_t(e)-_t(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Hs(e){Nn=!1,yt=!0,ee.sort(Ni);try{for(Se=0;SeZ(T)?T.trim():T)),p&&(s=n.map(Wo))}let l,c=r[l=dn(t)]||r[l=dn(et(t))];!c&&o&&(c=r[l=dn(rt(t))]),c&&ge(c,e,6,s);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ge(a,e,6,s)}}function $s(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!M(e)){const c=a=>{const u=$s(a,t,!0);u&&(l=!0,Y(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(J(e)&&r.set(e,null),null):(L(o)?o.forEach(c=>i[c]=null):Y(i,o),J(e)&&r.set(e,i),i)}function Qt(e,t){return!e||!Jt(t)?!1:(t=t.slice(2).replace(/Once$/,""),D(e,t[0].toLowerCase()+t.slice(1))||D(e,rt(t))||D(e,t))}let Re=null,Vs=null;function qt(e){const t=Re;return Re=e,Vs=e&&e.type.__scopeId||null,t}function Li(e,t=Re,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Kr(-1);const o=qt(t);let i;try{i=e(...s)}finally{qt(o),r._d&&Kr(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function mn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:p,data:x,setupState:T,ctx:S,inheritAttrs:O}=e,H=qt(e);let U,V;try{if(n.shapeFlag&4){const W=s||r,se=W;U=xe(a.call(se,W,u,p,T,x,S)),V=l}else{const W=t;U=xe(W.length>1?W(p,{attrs:l,slots:i,emit:c}):W(p,null)),V=t.props?l:Ii(l)}}catch(W){bt.length=0,Zt(W,e,1),U=ke(wt)}let F=U;if(V&&O!==!1){const W=Object.keys(V),{shapeFlag:se}=F;W.length&&se&7&&(o&&W.some(zn)&&(V=Mi(V,o)),F=tt(F,V,!1,!0))}return n.dirs&&(F=tt(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&(F.transition=n.transition),U=F,qt(H),U}const Ii=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jt(n))&&((t||(t={}))[n]=e[n]);return t},Mi=(e,t)=>{const n={};for(const r in e)(!zn(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ji(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ir(r,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let p=0;pe.__isSuspense;function Hi(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Fi(e)}function en(e,t,n=re,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{je();const l=St(n),c=ge(t,n,e,i);return l(),Ue(),c});return r?s.unshift(o):s.push(o),o}}const Pe=e=>(t,n=re)=>{(!nn||e==="sp")&&en(e,(...r)=>t(...r),n)},$i=Pe("bm"),Vi=Pe("m"),qi=Pe("bu"),Ki=Pe("u"),Wi=Pe("bum"),qs=Pe("um"),zi=Pe("sp"),ki=Pe("rtg"),Ji=Pe("rtc");function Gi(e,t=re){en("ec",e,t)}function $e(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i!!e.type.__asyncLoader,vn=e=>e?fo(e)?ar(e):vn(e.parent):null,mt=Y(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vn(e.parent),$root:e=>vn(e.root),$emit:e=>e.emit,$options:e=>cr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,lr(e.update)}),$nextTick:e=>e.n||(e.n=Ci.bind(e.proxy)),$watch:e=>gl.bind(e)}),gn=(e,t)=>e!==z&&!e.__isScriptSetup&&D(e,t),Xi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const T=i[t];if(T!==void 0)switch(T){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(gn(r,t))return i[t]=1,r[t];if(s!==z&&D(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&D(a,t))return i[t]=3,o[t];if(n!==z&&D(n,t))return i[t]=4,n[t];Ln&&(i[t]=0)}}const u=mt[t];let p,x;if(u)return t==="$attrs"&&le(e.attrs,"get",""),u(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==z&&D(n,t))return i[t]=4,n[t];if(x=c.config.globalProperties,D(x,t))return x[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return gn(s,t)?(s[t]=n,!0):r!==z&&D(r,t)?(r[t]=n,!0):D(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==z&&D(e,i)||gn(t,i)||(l=o[0])&&D(l,i)||D(r,i)||D(mt,i)||D(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:D(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mr(e){return L(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ln=!0;function Yi(e){const t=cr(e),n=e.proxy,r=e.ctx;Ln=!1,t.beforeCreate&&jr(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:p,mounted:x,beforeUpdate:T,updated:S,activated:O,deactivated:H,beforeDestroy:U,beforeUnmount:V,destroyed:F,unmounted:W,render:se,renderTracked:I,renderTriggered:Q,errorCaptured:ce,serverPrefetch:fn,expose:De,inheritAttrs:it,components:Tt,directives:Ct,filters:un}=t;if(a&&Zi(a,r,null),i)for(const k in i){const q=i[k];M(q)&&(r[k]=q.bind(n))}if(s){const k=s.call(n,n);J(k)&&(e.data=nr(k))}if(Ln=!0,o)for(const k in o){const q=o[k],Be=M(q)?q.bind(n,n):M(q.get)?q.get.bind(n,n):ae,At=!M(q)&&M(q.set)?q.set.bind(n):ae,He=Dl({get:Be,set:At});Object.defineProperty(r,k,{enumerable:!0,configurable:!0,get:()=>He.value,set:_e=>He.value=_e})}if(l)for(const k in l)Ks(l[k],r,n,k);if(c){const k=M(c)?c.call(n):c;Reflect.ownKeys(k).forEach(q=>{sl(q,k[q])})}u&&jr(u,e,"c");function te(k,q){L(q)?q.forEach(Be=>k(Be.bind(n))):q&&k(q.bind(n))}if(te($i,p),te(Vi,x),te(qi,T),te(Ki,S),te(bl,O),te(yl,H),te(Gi,ce),te(Ji,I),te(ki,Q),te(Wi,V),te(qs,W),te(zi,fn),L(De))if(De.length){const k=e.exposed||(e.exposed={});De.forEach(q=>{Object.defineProperty(k,q,{get:()=>n[q],set:Be=>n[q]=Be})})}else e.exposed||(e.exposed={});se&&e.render===ae&&(e.render=se),it!=null&&(e.inheritAttrs=it),Tt&&(e.components=Tt),Ct&&(e.directives=Ct)}function Zi(e,t,n=ae){L(e)&&(e=In(e));for(const r in e){const s=e[r];let o;J(s)?"default"in s?o=Ut(s.from||r,s.default,!0):o=Ut(s.from||r):o=Ut(s),ue(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function jr(e,t,n){ge(L(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ks(e,t,n,r){const s=r.includes(".")?ro(n,r):()=>n[r];if(Z(e)){const o=t[e];M(o)&&yn(s,o)}else if(M(e))yn(s,e.bind(n));else if(J(e))if(L(e))e.forEach(o=>Ks(o,t,n,r));else{const o=M(e.handler)?e.handler.bind(n):t[e.handler];M(o)&&yn(s,o,e)}}function cr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(a=>Kt(c,a,i,!0)),Kt(c,t,i)),J(t)&&o.set(t,c),c}function Kt(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Kt(e,o,n,!0),s&&s.forEach(i=>Kt(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Qi[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Qi={data:Ur,props:Dr,emits:Dr,methods:at,computed:at,beforeCreate:ne,created:ne,beforeMount:ne,mounted:ne,beforeUpdate:ne,updated:ne,beforeDestroy:ne,beforeUnmount:ne,destroyed:ne,unmounted:ne,activated:ne,deactivated:ne,errorCaptured:ne,serverPrefetch:ne,components:at,directives:at,watch:tl,provide:Ur,inject:el};function Ur(e,t){return t?e?function(){return Y(M(e)?e.call(this,this):e,M(t)?t.call(this,this):t)}:t:e}function el(e,t){return at(In(e),In(t))}function In(e){if(L(e)){const t={};for(let n=0;n1)return n&&M(t)?t.call(r&&r.proxy):t}}const zs={},ks=()=>Object.create(zs),Js=e=>Object.getPrototypeOf(e)===zs;function ol(e,t,n,r=!1){const s={},o=ks();e.propsDefaults=Object.create(null),Gs(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:wi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function il(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=$(s),[c]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[x,T]=Xs(p,t,!0);Y(i,x),T&&l.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return J(e)&&r.set(e,Ze),Ze;if(L(o))for(let u=0;u-1,T[1]=O<0||S-1||D(T,"default"))&&l.push(p)}}}const a=[i,l];return J(e)&&r.set(e,a),a}function Br(e){return e[0]!=="$"&&!ht(e)}function Hr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function $r(e,t){return Hr(e)===Hr(t)}function Vr(e,t){return L(t)?t.findIndex(n=>$r(n,e)):M(t)&&$r(t,e)?0:-1}const Ys=e=>e[0]==="_"||e==="$stable",fr=e=>L(e)?e.map(xe):[xe(e)],ll=(e,t,n)=>{if(t._n)return t;const r=Li((...s)=>fr(t(...s)),n);return r._c=!1,r},Zs=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ys(s))continue;const o=e[s];if(M(o))t[s]=ll(s,o,r);else if(o!=null){const i=fr(o);t[s]=()=>i}}},Qs=(e,t)=>{const n=fr(t);e.slots.default=()=>n},cl=(e,t)=>{const n=e.slots=ks();if(e.vnode.shapeFlag&32){const r=t._;r?(Y(n,t),_s(n,"_",r,!0)):Zs(t,n)}else t&&Qs(e,t)},fl=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=z;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Y(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Zs(t,s)),i=t}else t&&(Qs(e,t),i={default:1});if(o)for(const l in s)!Ys(l)&&i[l]==null&&delete s[l]};function jn(e,t,n,r,s=!1){if(L(e)){e.forEach((x,T)=>jn(x,t&&(L(t)?t[T]:t),n,r,s));return}if(jt(r)&&!s)return;const o=r.shapeFlag&4?ar(r.component):r.el,i=s?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===z?l.refs={}:l.refs,p=l.setupState;if(a!=null&&a!==c&&(Z(a)?(u[a]=null,D(p,a)&&(p[a]=null)):ue(a)&&(a.value=null)),M(c))Me(c,l,12,[i,u]);else{const x=Z(c),T=ue(c);if(x||T){const S=()=>{if(e.f){const O=x?D(p,c)?p[c]:u[c]:c.value;s?L(O)&&kn(O,o):L(O)?O.includes(o)||O.push(o):x?(u[c]=[o],D(p,c)&&(p[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else x?(u[c]=i,D(p,c)&&(p[c]=i)):T&&(c.value=i,e.k&&(u[e.k]=i))};i?(S.id=-1,oe(S,n)):S()}}}const oe=Hi;function ul(e){return al(e)}function al(e,t){const n=ws();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:p,nextSibling:x,setScopeId:T=ae,insertStaticContent:S}=e,O=(f,d,m,g=null,b=null,w=null,R=void 0,_=null,E=!!d.dynamicChildren)=>{if(f===d)return;f&&!ft(f,d)&&(g=Pt(f),_e(f,b,w,!0),f=null),d.patchFlag===-2&&(E=!1,d.dynamicChildren=null);const{type:y,ref:C,shapeFlag:P}=d;switch(y){case tn:H(f,d,m,g);break;case wt:U(f,d,m,g);break;case _n:f==null&&V(d,m,g,R);break;case Ce:Tt(f,d,m,g,b,w,R,_,E);break;default:P&1?se(f,d,m,g,b,w,R,_,E):P&6?Ct(f,d,m,g,b,w,R,_,E):(P&64||P&128)&&y.process(f,d,m,g,b,w,R,_,E,lt)}C!=null&&b&&jn(C,f&&f.ref,w,d||f,!d)},H=(f,d,m,g)=>{if(f==null)r(d.el=l(d.children),m,g);else{const b=d.el=f.el;d.children!==f.children&&a(b,d.children)}},U=(f,d,m,g)=>{f==null?r(d.el=c(d.children||""),m,g):d.el=f.el},V=(f,d,m,g)=>{[f.el,f.anchor]=S(f.children,d,m,g,f.el,f.anchor)},F=({el:f,anchor:d},m,g)=>{let b;for(;f&&f!==d;)b=x(f),r(f,m,g),f=b;r(d,m,g)},W=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=x(f),s(f),f=m;s(d)},se=(f,d,m,g,b,w,R,_,E)=>{d.type==="svg"?R="svg":d.type==="math"&&(R="mathml"),f==null?I(d,m,g,b,w,R,_,E):fn(f,d,b,w,R,_,E)},I=(f,d,m,g,b,w,R,_)=>{let E,y;const{props:C,shapeFlag:P,transition:A,dirs:N}=f;if(E=f.el=i(f.type,w,C&&C.is,C),P&8?u(E,f.children):P&16&&ce(f.children,E,null,g,b,bn(f,w),R,_),N&&$e(f,null,g,"created"),Q(E,f,f.scopeId,R,g),C){for(const K in C)K!=="value"&&!ht(K)&&o(E,K,null,C[K],w,f.children,g,b,Oe);"value"in C&&o(E,"value",null,C.value,w),(y=C.onVnodeBeforeMount)&&Ee(y,g,f)}N&&$e(f,null,g,"beforeMount");const j=dl(b,A);j&&A.beforeEnter(E),r(E,d,m),((y=C&&C.onVnodeMounted)||j||N)&&oe(()=>{y&&Ee(y,g,f),j&&A.enter(E),N&&$e(f,null,g,"mounted")},b)},Q=(f,d,m,g,b)=>{if(m&&T(f,m),g)for(let w=0;w{for(let y=E;y{const _=d.el=f.el;let{patchFlag:E,dynamicChildren:y,dirs:C}=d;E|=f.patchFlag&16;const P=f.props||z,A=d.props||z;let N;if(m&&Ve(m,!1),(N=A.onVnodeBeforeUpdate)&&Ee(N,m,d,f),C&&$e(d,f,m,"beforeUpdate"),m&&Ve(m,!0),y?De(f.dynamicChildren,y,_,m,g,bn(d,b),w):R||q(f,d,_,null,m,g,bn(d,b),w,!1),E>0){if(E&16)it(_,d,P,A,m,g,b);else if(E&2&&P.class!==A.class&&o(_,"class",null,A.class,b),E&4&&o(_,"style",P.style,A.style,b),E&8){const j=d.dynamicProps;for(let K=0;K{N&&Ee(N,m,d,f),C&&$e(d,f,m,"updated")},g)},De=(f,d,m,g,b,w,R)=>{for(let _=0;_{if(m!==g){if(m!==z)for(const _ in m)!ht(_)&&!(_ in g)&&o(f,_,m[_],null,R,d.children,b,w,Oe);for(const _ in g){if(ht(_))continue;const E=g[_],y=m[_];E!==y&&_!=="value"&&o(f,_,y,E,R,d.children,b,w,Oe)}"value"in g&&o(f,"value",m.value,g.value,R)}},Tt=(f,d,m,g,b,w,R,_,E)=>{const y=d.el=f?f.el:l(""),C=d.anchor=f?f.anchor:l("");let{patchFlag:P,dynamicChildren:A,slotScopeIds:N}=d;N&&(_=_?_.concat(N):N),f==null?(r(y,m,g),r(C,m,g),ce(d.children||[],m,C,b,w,R,_,E)):P>0&&P&64&&A&&f.dynamicChildren?(De(f.dynamicChildren,A,m,b,w,R,_),(d.key!=null||b&&d===b.subTree)&&eo(f,d,!0)):q(f,d,m,C,b,w,R,_,E)},Ct=(f,d,m,g,b,w,R,_,E)=>{d.slotScopeIds=_,f==null?d.shapeFlag&512?b.ctx.activate(d,m,g,R,E):un(d,m,g,b,w,R,E):br(f,d,E)},un=(f,d,m,g,b,w,R)=>{const _=f.component=vl(f,g,b);if(so(f)&&(_.ctx.renderer=lt),Ll(_),_.asyncDep){if(b&&b.registerDep(_,te,R),!f.el){const E=_.subTree=ke(wt);U(null,E,d,m)}}else te(_,f,d,m,b,w,R)},br=(f,d,m)=>{const g=d.component=f.component;if(ji(f,d,m))if(g.asyncDep&&!g.asyncResolved){k(g,d,m);return}else g.next=d,Pi(g.update),g.effect.dirty=!0,g.update();else d.el=f.el,g.vnode=d},te=(f,d,m,g,b,w,R)=>{const _=()=>{if(f.isMounted){let{next:C,bu:P,u:A,parent:N,vnode:j}=f;{const Ye=to(f);if(Ye){C&&(C.el=j.el,k(f,C,R)),Ye.asyncDep.then(()=>{f.isUnmounted||_()});return}}let K=C,B;Ve(f,!1),C?(C.el=j.el,k(f,C,R)):C=j,P&&hn(P),(B=C.props&&C.props.onVnodeBeforeUpdate)&&Ee(B,N,C,j),Ve(f,!0);const X=mn(f),he=f.subTree;f.subTree=X,O(he,X,p(he.el),Pt(he),f,b,w),C.el=X.el,K===null&&Ui(f,X.el),A&&oe(A,b),(B=C.props&&C.props.onVnodeUpdated)&&oe(()=>Ee(B,N,C,j),b)}else{let C;const{el:P,props:A}=d,{bm:N,m:j,parent:K}=f,B=jt(d);if(Ve(f,!1),N&&hn(N),!B&&(C=A&&A.onVnodeBeforeMount)&&Ee(C,K,d),Ve(f,!0),P&&Er){const X=()=>{f.subTree=mn(f),Er(P,f.subTree,f,b,null)};B?d.type.__asyncLoader().then(()=>!f.isUnmounted&&X()):X()}else{const X=f.subTree=mn(f);O(null,X,m,g,f,b,w),d.el=X.el}if(j&&oe(j,b),!B&&(C=A&&A.onVnodeMounted)){const X=d;oe(()=>Ee(C,K,X),b)}(d.shapeFlag&256||K&&jt(K.vnode)&&K.vnode.shapeFlag&256)&&f.a&&oe(f.a,b),f.isMounted=!0,d=m=g=null}},E=f.effect=new Yn(_,ae,()=>lr(y),f.scope),y=f.update=()=>{E.dirty&&E.run()};y.id=f.uid,Ve(f,!0),y()},k=(f,d,m)=>{d.component=f;const g=f.vnode.props;f.vnode=d,f.next=null,il(f,d.props,g,m),fl(f,d.children,m),je(),Lr(f),Ue()},q=(f,d,m,g,b,w,R,_,E=!1)=>{const y=f&&f.children,C=f?f.shapeFlag:0,P=d.children,{patchFlag:A,shapeFlag:N}=d;if(A>0){if(A&128){At(y,P,m,g,b,w,R,_,E);return}else if(A&256){Be(y,P,m,g,b,w,R,_,E);return}}N&8?(C&16&&Oe(y,b,w),P!==y&&u(m,P)):C&16?N&16?At(y,P,m,g,b,w,R,_,E):Oe(y,b,w,!0):(C&8&&u(m,""),N&16&&ce(P,m,g,b,w,R,_,E))},Be=(f,d,m,g,b,w,R,_,E)=>{f=f||Ze,d=d||Ze;const y=f.length,C=d.length,P=Math.min(y,C);let A;for(A=0;AC?Oe(f,b,w,!0,!1,P):ce(d,m,g,b,w,R,_,E,P)},At=(f,d,m,g,b,w,R,_,E)=>{let y=0;const C=d.length;let P=f.length-1,A=C-1;for(;y<=P&&y<=A;){const N=f[y],j=d[y]=E?Le(d[y]):xe(d[y]);if(ft(N,j))O(N,j,m,null,b,w,R,_,E);else break;y++}for(;y<=P&&y<=A;){const N=f[P],j=d[A]=E?Le(d[A]):xe(d[A]);if(ft(N,j))O(N,j,m,null,b,w,R,_,E);else break;P--,A--}if(y>P){if(y<=A){const N=A+1,j=NA)for(;y<=P;)_e(f[y],b,w,!0),y++;else{const N=y,j=y,K=new Map;for(y=j;y<=A;y++){const fe=d[y]=E?Le(d[y]):xe(d[y]);fe.key!=null&&K.set(fe.key,y)}let B,X=0;const he=A-j+1;let Ye=!1,xr=0;const ct=new Array(he);for(y=0;y=he){_e(fe,b,w,!0);continue}let we;if(fe.key!=null)we=K.get(fe.key);else for(B=j;B<=A;B++)if(ct[B-j]===0&&ft(fe,d[B])){we=B;break}we===void 0?_e(fe,b,w,!0):(ct[we-j]=y+1,we>=xr?xr=we:Ye=!0,O(fe,d[we],m,null,b,w,R,_,E),X++)}const Sr=Ye?hl(ct):Ze;for(B=Sr.length-1,y=he-1;y>=0;y--){const fe=j+y,we=d[fe],Rr=fe+1{const{el:w,type:R,transition:_,children:E,shapeFlag:y}=f;if(y&6){He(f.component.subTree,d,m,g);return}if(y&128){f.suspense.move(d,m,g);return}if(y&64){R.move(f,d,m,lt);return}if(R===Ce){r(w,d,m);for(let P=0;P_.enter(w),b);else{const{leave:P,delayLeave:A,afterLeave:N}=_,j=()=>r(w,d,m),K=()=>{P(w,()=>{j(),N&&N()})};A?A(w,j,K):K()}else r(w,d,m)},_e=(f,d,m,g=!1,b=!1)=>{const{type:w,props:R,ref:_,children:E,dynamicChildren:y,shapeFlag:C,patchFlag:P,dirs:A,memoIndex:N}=f;if(P===-2&&(b=!1),_!=null&&jn(_,null,m,f,!0),N!=null&&(d.renderCache[N]=void 0),C&256){d.ctx.deactivate(f);return}const j=C&1&&A,K=!jt(f);let B;if(K&&(B=R&&R.onVnodeBeforeUnmount)&&Ee(B,d,f),C&6)jo(f.component,m,g);else{if(C&128){f.suspense.unmount(m,g);return}j&&$e(f,null,d,"beforeUnmount"),C&64?f.type.remove(f,d,m,lt,g):y&&(w!==Ce||P>0&&P&64)?Oe(y,d,m,!1,!0):(w===Ce&&P&384||!b&&C&16)&&Oe(E,d,m),g&&yr(f)}(K&&(B=R&&R.onVnodeUnmounted)||j)&&oe(()=>{B&&Ee(B,d,f),j&&$e(f,null,d,"unmounted")},m)},yr=f=>{const{type:d,el:m,anchor:g,transition:b}=f;if(d===Ce){Mo(m,g);return}if(d===_n){W(f);return}const w=()=>{s(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(f.shapeFlag&1&&b&&!b.persisted){const{leave:R,delayLeave:_}=b,E=()=>R(m,w);_?_(f.el,w,E):E()}else w()},Mo=(f,d)=>{let m;for(;f!==d;)m=x(f),s(f),f=m;s(d)},jo=(f,d,m)=>{const{bum:g,scope:b,update:w,subTree:R,um:_,m:E,a:y}=f;qr(E),qr(y),g&&hn(g),b.stop(),w&&(w.active=!1,_e(R,f,d,m)),_&&oe(_,d),oe(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Oe=(f,d,m,g=!1,b=!1,w=0)=>{for(let R=w;Rf.shapeFlag&6?Pt(f.component.subTree):f.shapeFlag&128?f.suspense.next():x(f.anchor||f.el);let an=!1;const _r=(f,d,m)=>{f==null?d._vnode&&_e(d._vnode,null,null,!0):O(d._vnode||null,f,d,null,null,null,m),an||(an=!0,Lr(),Bs(),an=!1),d._vnode=f},lt={p:O,um:_e,m:He,r:yr,mt:un,mc:ce,pc:q,pbc:De,n:Pt,o:e};let wr,Er;return{render:_r,hydrate:wr,createApp:rl(_r,wr)}}function bn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ve({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function dl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function eo(e,t,n=!1){const r=e.children,s=t.children;if(L(r)&&L(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function to(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:to(t)}function qr(e){if(e)for(let t=0;tUt(pl),Mt={};function yn(e,t,n){return no(e,t,n)}function no(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=z){if(t&&o){const I=t;t=(...Q)=>{I(...Q),se()}}const c=re,a=I=>r===!0?I:Ke(I,r===!1?1:void 0);let u,p=!1,x=!1;if(ue(e)?(u=()=>e.value,p=Fn(e)):pt(e)?(u=()=>a(e),p=!0):L(e)?(x=!0,p=e.some(I=>pt(I)||Fn(I)),u=()=>e.map(I=>{if(ue(I))return I.value;if(pt(I))return a(I);if(M(I))return Me(I,c,2)})):M(e)?t?u=()=>Me(e,c,2):u=()=>(T&&T(),ge(e,c,3,[S])):u=ae,t&&r){const I=u;u=()=>Ke(I())}let T,S=I=>{T=F.onStop=()=>{Me(I,c,4),T=F.onStop=void 0}},O;if(nn)if(S=ae,t?n&&ge(t,c,3,[u(),x?[]:void 0,S]):u(),s==="sync"){const I=ml();O=I.__watcherHandles||(I.__watcherHandles=[])}else return ae;let H=x?new Array(e.length).fill(Mt):Mt;const U=()=>{if(!(!F.active||!F.dirty))if(t){const I=F.run();(r||p||(x?I.some((Q,ce)=>Ge(Q,H[ce])):Ge(I,H)))&&(T&&T(),ge(t,c,3,[I,H===Mt?void 0:x&&H[0]===Mt?[]:H,S]),H=I)}else F.run()};U.allowRecurse=!!t;let V;s==="sync"?V=U:s==="post"?V=()=>oe(U,c&&c.suspense):(U.pre=!0,c&&(U.id=c.uid),V=()=>lr(U));const F=new Yn(u,ae,V),W=ei(),se=()=>{F.stop(),W&&kn(W.effects,F)};return t?n?U():H=F.run():s==="post"?oe(F.run.bind(F),c&&c.suspense):F.run(),O&&O.push(se),se}function gl(e,t,n){const r=this.proxy,s=Z(e)?e.includes(".")?ro(r,e):()=>r[e]:e.bind(r,r);let o;M(t)?o=t:(o=t.handler,n=t);const i=St(this),l=no(s,o.bind(r),n);return i(),l}function ro(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ke(r,t,n)});else if(Vo(e)){for(const r in e)Ke(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ke(e[r],t,n)}return e}const so=e=>e.type.__isKeepAlive;function bl(e,t){oo(e,"a",t)}function yl(e,t){oo(e,"da",t)}function oo(e,t,n=re){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(en(t,r,n),n){let s=n.parent;for(;s&&s.parent;)so(s.parent.vnode)&&_l(r,t,n,s),s=s.parent}}function _l(e,t,n,r){const s=en(t,e,r,!0);qs(()=>{kn(r[t],s)},n)}function io(e,t){e.shapeFlag&6&&e.component?io(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}const wl=e=>e.__isTeleport,Ce=Symbol.for("v-fgt"),tn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),_n=Symbol.for("v-stc"),bt=[];let me=null;function El(e=!1){bt.push(me=e?null:[])}function xl(){bt.pop(),me=bt[bt.length-1]||null}let Et=1;function Kr(e){Et+=e}function Sl(e){return e.dynamicChildren=Et>0?me||Ze:null,xl(),Et>0&&me&&me.push(e),e}function Rl(e,t,n,r,s,o){return Sl(co(e,t,n,r,s,o,!0))}function Ol(e){return e?e.__v_isVNode===!0:!1}function ft(e,t){return e.type===t.type&&e.key===t.key}const lo=({key:e})=>e??null,Dt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Z(e)||ue(e)||M(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function co(e,t=null,n=null,r=0,s=null,o=e===Ce?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lo(t),ref:t&&Dt(t),scopeId:Vs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Re};return l?(ur(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Z(n)?8:16),Et>0&&!i&&me&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&me.push(c),c}const ke=Tl;function Tl(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Di)&&(e=wt),Ol(e)){const l=tt(e,t,!0);return n&&ur(l,n),Et>0&&!o&&me&&(l.shapeFlag&6?me[me.indexOf(e)]=l:me.push(l)),l.patchFlag=-2,l}if(Ul(e)&&(e=e.__vccOpts),t){t=Cl(t);let{class:l,style:c}=t;l&&!Z(l)&&(t.class=Xn(l)),J(c)&&(Is(c)&&!L(c)&&(c=Y({},c)),t.style=Gn(c))}const i=Z(e)?1:Bi(e)?128:wl(e)?64:J(e)?4:M(e)?2:0;return co(e,t,n,r,s,i,o,!0)}function Cl(e){return e?Is(e)||Js(e)?Y({},e):e:null}function tt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?Pl(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&lo(a),ref:t&&t.ref?n&&o?L(o)?o.concat(Dt(t)):[o,Dt(t)]:Dt(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tt(e.ssContent),ssFallback:e.ssFallback&&tt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&io(u,c.clone(u)),u}function Al(e=" ",t=0){return ke(tn,null,e,t)}function xe(e){return e==null||typeof e=="boolean"?ke(wt):L(e)?ke(Ce,null,e.slice()):typeof e=="object"?Le(e):ke(tn,null,String(e))}function Le(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tt(e)}function ur(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ur(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Js(t)?t._ctx=Re:s===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else M(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[Al(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pl(...e){const t={};for(let n=0;n{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Wt=t("__VUE_INSTANCE_SETTERS__",n=>re=n),Un=t("__VUE_SSR_SETTERS__",n=>nn=n)}const St=e=>{const t=re;return Wt(e),e.scope.on(),()=>{e.scope.off(),Wt(t)}},Wr=()=>{re&&re.scope.off(),Wt(null)};function fo(e){return e.vnode.shapeFlag&4}let nn=!1;function Ll(e,t=!1){t&&Un(t);const{props:n,children:r}=e.vnode,s=fo(e);ol(e,n,s,t),cl(e,r);const o=s?Il(e,t):void 0;return t&&Un(!1),o}function Il(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xi);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?jl(e):null,o=St(e);je();const i=Me(r,e,0,[e.props,s]);if(Ue(),o(),bs(i)){if(i.then(Wr,Wr),t)return i.then(l=>{zr(e,l,t)}).catch(l=>{Zt(l,e,0)});e.asyncDep=i}else zr(e,i,t)}else uo(e,t)}function zr(e,t,n){M(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:J(t)&&(e.setupState=js(t)),uo(e,n)}let kr;function uo(e,t,n){const r=e.type;if(!e.render){if(!t&&kr&&!r.render){const s=r.template||cr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,a=Y(Y({isCustomElement:o,delimiters:l},i),c);r.render=kr(s,a)}}e.render=r.render||ae}{const s=St(e);je();try{Yi(e)}finally{Ue(),s()}}}const Ml={get(e,t){return le(e,"get",""),e[t]}};function jl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ml),slots:e.slots,emit:e.emit,expose:t}}function ar(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(js(Ei(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mt)return mt[n](e)},has(t,n){return n in t||n in mt}})):e.proxy}function Ul(e){return M(e)&&"__vccOpts"in e}const Dl=(e,t)=>xi(e,t,nn),Bl="3.4.31";/** -* @vue/runtime-dom v3.4.31 +**/function li(t,e,s,i){try{return i?t(...i):t()}catch(n){Gi(n,e,s)}}function ht(t,e,s,i){if(ue(t)){const n=li(t,e,s,i);return n&&ya(n)&&n.catch(r=>{Gi(r,e,s)}),n}if(le(t)){const n=[];for(let r=0;r>>1,n=Ge[i],r=Js(n);r=Js(s)?Ge.push(t):Ge.splice(Ru(e),0,t),t.flags|=1,Za()}}function Za(){!Zs&&!jn&&(jn=!0,Ar=Ka.then(Qa))}function zu(t){le(t)?xs.push(...t):qt&&t.id===-1?qt.splice(ws+1,0,t):t.flags&1||(xs.push(t),t.flags|=1),Za()}function to(t,e,s=Zs?bt+1:0){for(;sJs(s)-Js(i));if(xs.length=0,qt){qt.push(...e);return}for(qt=e,ws=0;wst.id==null?t.flags&2?-1:1/0:t.id;function Qa(t){jn=!1,Zs=!0;try{for(bt=0;bt{i._d&&fo(-1);const r=Li(e);let o;try{o=t(...n)}finally{Li(r),i._d&&fo(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function tl(t,e){if(De===null)return t;const s=Qi(De),i=t.dirs||(t.dirs=[]);for(let n=0;nt.__isTeleport,Vt=Symbol("_leaveCb"),yi=Symbol("_enterCb");function Du(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ci(()=>{t.isMounted=!0}),dl(()=>{t.isUnmounting=!0}),t}const at=[Function,Array],il={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:at,onEnter:at,onAfterEnter:at,onEnterCancelled:at,onBeforeLeave:at,onLeave:at,onAfterLeave:at,onLeaveCancelled:at,onBeforeAppear:at,onAppear:at,onAfterAppear:at,onAppearCancelled:at},nl=t=>{const e=t.subTree;return e.component?nl(e.component):e},$u={name:"BaseTransition",props:il,setup(t,{slots:e}){const s=kd(),i=Du();return()=>{const n=e.default&&al(e.default(),!0);if(!n||!n.length)return;const r=rl(n),o=ge(t),{mode:l}=o;if(i.isLeaving)return wn(r);const a=so(r);if(!a)return wn(r);let d=qn(a,o,i,s,f=>d=f);a.type!==Ue&&Qs(a,d);const c=s.subTree,u=c&&so(c);if(u&&u.type!==Ue&&!rs(a,u)&&nl(s).type!==Ue){const f=qn(u,o,i,s);if(Qs(u,f),l==="out-in"&&a.type!==Ue)return i.isLeaving=!0,f.afterLeave=()=>{i.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave},wn(r);l==="in-out"&&a.type!==Ue&&(f.delayLeave=(p,h,m)=>{const v=ol(i,u);v[String(u.key)]=u,p[Vt]=()=>{h(),p[Vt]=void 0,delete d.delayedLeave},d.delayedLeave=m})}return r}}};function rl(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==Ue){e=s;break}}return e}const Nu=$u;function ol(t,e){const{leavingVNodes:s}=t;let i=s.get(e.type);return i||(i=Object.create(null),s.set(e.type,i)),i}function qn(t,e,s,i,n){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:d,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:b,onAfterAppear:w,onAppearCancelled:g}=e,y=String(t.key),T=ol(s,t),A=(E,M)=>{E&&ht(E,i,9,M)},L=(E,M)=>{const z=M[1];A(E,M),le(E)?E.every(C=>C.length<=1)&&z():E.length<=1&&z()},P={mode:o,persisted:l,beforeEnter(E){let M=a;if(!s.isMounted)if(r)M=v||a;else return;E[Vt]&&E[Vt](!0);const z=T[y];z&&rs(t,z)&&z.el[Vt]&&z.el[Vt](),A(M,[E])},enter(E){let M=d,z=c,C=u;if(!s.isMounted)if(r)M=b||d,z=w||c,C=g||u;else return;let _=!1;const R=E[yi]=N=>{_||(_=!0,N?A(C,[E]):A(z,[E]),P.delayedLeave&&P.delayedLeave(),E[yi]=void 0)};M?L(M,[E,R]):R()},leave(E,M){const z=String(t.key);if(E[yi]&&E[yi](!0),s.isUnmounting)return M();A(f,[E]);let C=!1;const _=E[Vt]=R=>{C||(C=!0,M(),R?A(m,[E]):A(h,[E]),E[Vt]=void 0,T[z]===t&&delete T[z])};T[z]=t,p?L(p,[E,_]):_()},clone(E){const M=qn(E,e,s,i,n);return n&&n(M),M}};return P}function wn(t){if(Xi(t))return t=Kt(t),t.children=null,t}function so(t){if(!Xi(t))return sl(t.type)&&t.children?rl(t.children):t;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&ue(s.default))return s.default()}}function Qs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Qs(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function al(t,e=!1,s){let i=[],n=0;for(let r=0;r1)for(let r=0;rVn(h,e&&(le(e)?e[m]:e),s,i,n));return}if(Ts(i)&&!n)return;const r=i.shapeFlag&4?Qi(i.component):i.el,o=n?null:r,{i:l,r:a}=t,d=e&&e.r,c=l.refs===xe?l.refs={}:l.refs,u=l.setupState,f=ge(u),p=u===xe?()=>!1:h=>be(f,h);if(d!=null&&d!==a&&(ze(d)?(c[d]=null,p(d)&&(u[d]=null)):Ie(d)&&(d.value=null)),ue(a))li(a,l,12,[o,c]);else{const h=ze(a),m=Ie(a);if(h||m){const v=()=>{if(t.f){const b=h?p(a)?u[a]:c[a]:a.value;n?le(b)&&vr(b,r):le(b)?b.includes(r)||b.push(r):h?(c[a]=[r],p(a)&&(u[a]=c[a])):(a.value=[r],t.k&&(c[t.k]=a.value))}else h?(c[a]=o,p(a)&&(u[a]=o)):m&&(a.value=o,t.k&&(c[t.k]=o))};o?(v.id=-1,tt(v,s)):v()}}}const Ts=t=>!!t.type.__asyncLoader,Xi=t=>t.type.__isKeepAlive;function Fu(t,e){ul(t,"a",e)}function Hu(t,e){ul(t,"da",e)}function ul(t,e,s=Ne){const i=t.__wdc||(t.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(Yi(e,i,s),s){let n=s.parent;for(;n&&n.parent;)Xi(n.parent.vnode)&&Bu(i,e,s,n),n=n.parent}}function Bu(t,e,s,i){const n=Yi(e,t,i,!0);fl(()=>{vr(i[e],n)},s)}function Yi(t,e,s=Ne,i=!1){if(s){const n=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{Jt();const l=ui(s),a=ht(e,s,t,o);return l(),Qt(),a});return i?n.unshift(r):n.push(r),r}}const zt=t=>(e,s=Ne)=>{(!Ji||t==="sp")&&Yi(t,(...i)=>e(...i),s)},ju=zt("bm"),ci=zt("m"),qu=zt("bu"),Vu=zt("u"),dl=zt("bum"),fl=zt("um"),Wu=zt("sp"),Gu=zt("rtg"),Uu=zt("rtc");function Xu(t,e=Ne){Yi("ec",t,e)}const pl="components",Yu="directives";function Oi(t,e){return hl(pl,t,!0,e)||t}const Ku=Symbol.for("v-ndc");function Zu(t){return hl(Yu,t)}function hl(t,e,s=!0,i=!1){const n=De||Ne;if(n){const r=n.type;if(t===pl){const l=Hd(r,!1);if(l&&(l===e||l===dt(e)||l===qi(dt(e))))return r}const o=io(n[t]||r[t],e)||io(n.appContext[t],e);return!o&&i?r:o}}function io(t,e){return t&&(t[e]||t[dt(e)]||t[qi(dt(e))])}function Rt(t,e,s,i){let n;const r=s,o=le(t);if(o||ze(t)){const l=o&&Lt(t);let a=!1;l&&(a=!ct(t),t=Vi(t)),n=new Array(t.length);for(let d=0,c=t.length;de(l,a,void 0,r));else{const l=Object.keys(t);n=new Array(l.length);for(let a=0,d=l.length;ati(e)?!(e.type===Ue||e.type===Te&&!ml(e.children)):!0)?t:null}const Wn=t=>t?kl(t)?Qi(t):Wn(t.parent):null,qs=$e(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Wn(t.parent),$root:t=>Wn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Or(t),$forceUpdate:t=>t.f||(t.f=()=>{Lr(t.update)}),$nextTick:t=>t.n||(t.n=Ui.bind(t.proxy)),$watch:t=>yd.bind(t)}),bn=(t,e)=>t!==xe&&!t.__isScriptSetup&&be(t,e),Qu={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:i,data:n,props:r,accessCache:o,type:l,appContext:a}=t;let d;if(e[0]!=="$"){const p=o[e];if(p!==void 0)switch(p){case 1:return i[e];case 2:return n[e];case 4:return s[e];case 3:return r[e]}else{if(bn(i,e))return o[e]=1,i[e];if(n!==xe&&be(n,e))return o[e]=2,n[e];if((d=t.propsOptions[0])&&be(d,e))return o[e]=3,r[e];if(s!==xe&&be(s,e))return o[e]=4,s[e];Gn&&(o[e]=0)}}const c=qs[e];let u,f;if(c)return e==="$attrs"&&qe(t.attrs,"get",""),c(t);if((u=l.__cssModules)&&(u=u[e]))return u;if(s!==xe&&be(s,e))return o[e]=4,s[e];if(f=a.config.globalProperties,be(f,e))return f[e]},set({_:t},e,s){const{data:i,setupState:n,ctx:r}=t;return bn(n,e)?(n[e]=s,!0):i!==xe&&be(i,e)?(i[e]=s,!0):be(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:i,appContext:n,propsOptions:r}},o){let l;return!!s[o]||t!==xe&&be(t,o)||bn(e,o)||(l=r[0])&&be(l,o)||be(i,o)||be(qs,o)||be(n.config.globalProperties,o)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:be(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function no(t){return le(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Gn=!0;function ed(t){const e=Or(t),s=t.proxy,i=t.ctx;Gn=!1,e.beforeCreate&&ro(e.beforeCreate,t,"bc");const{data:n,computed:r,methods:o,watch:l,provide:a,inject:d,created:c,beforeMount:u,mounted:f,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:b,beforeUnmount:w,destroyed:g,unmounted:y,render:T,renderTracked:A,renderTriggered:L,errorCaptured:P,serverPrefetch:E,expose:M,inheritAttrs:z,components:C,directives:_,filters:R}=e;if(d&&td(d,i,null),o)for(const O in o){const I=o[O];ue(I)&&(i[O]=I.bind(s))}if(n){const O=n.call(s,s);Pe(O)&&(t.data=ai(O))}if(Gn=!0,r)for(const O in r){const I=r[O],X=ue(I)?I.bind(s,s):ue(I.get)?I.get.bind(s,s):xt,oe=!ue(I)&&ue(I.set)?I.set.bind(s):xt,B=Ye({get:X,set:oe});Object.defineProperty(i,O,{enumerable:!0,configurable:!0,get:()=>B.value,set:W=>B.value=W})}if(l)for(const O in l)gl(l[O],i,s,O);if(a){const O=ue(a)?a.call(s):a;Reflect.ownKeys(O).forEach(I=>{Si(I,O[I])})}c&&ro(c,t,"c");function H(O,I){le(I)?I.forEach(X=>O(X.bind(s))):I&&O(I.bind(s))}if(H(ju,u),H(ci,f),H(qu,p),H(Vu,h),H(Fu,m),H(Hu,v),H(Xu,P),H(Uu,A),H(Gu,L),H(dl,w),H(fl,y),H(Wu,E),le(M))if(M.length){const O=t.exposed||(t.exposed={});M.forEach(I=>{Object.defineProperty(O,I,{get:()=>s[I],set:X=>s[I]=X})})}else t.exposed||(t.exposed={});T&&t.render===xt&&(t.render=T),z!=null&&(t.inheritAttrs=z),C&&(t.components=C),_&&(t.directives=_),E&&cl(t)}function td(t,e,s=xt){le(t)&&(t=Un(t));for(const i in t){const n=t[i];let r;Pe(n)?"default"in n?r=ut(n.from||i,n.default,!0):r=ut(n.from||i):r=ut(n),Ie(r)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[i]=r}}function ro(t,e,s){ht(le(t)?t.map(i=>i.bind(e.proxy)):t.bind(e.proxy),e,s)}function gl(t,e,s,i){let n=i.includes(".")?Ll(s,i):()=>s[i];if(ze(t)){const r=e[t];ue(r)&&Et(n,r)}else if(ue(t))Et(n,t.bind(s));else if(Pe(t))if(le(t))t.forEach(r=>gl(r,e,s,i));else{const r=ue(t.handler)?t.handler.bind(s):e[t.handler];ue(r)&&Et(n,r,t)}}function Or(t){const e=t.type,{mixins:s,extends:i}=e,{mixins:n,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,l=r.get(e);let a;return l?a=l:!n.length&&!s&&!i?a=e:(a={},n.length&&n.forEach(d=>Ii(a,d,o,!0)),Ii(a,e,o)),Pe(e)&&r.set(e,a),a}function Ii(t,e,s,i=!1){const{mixins:n,extends:r}=e;r&&Ii(t,r,s,!0),n&&n.forEach(o=>Ii(t,o,s,!0));for(const o in e)if(!(i&&o==="expose")){const l=sd[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const sd={data:oo,props:ao,emits:ao,methods:Ns,computed:Ns,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:Ns,directives:Ns,watch:nd,provide:oo,inject:id};function oo(t,e){return e?t?function(){return $e(ue(t)?t.call(this,this):t,ue(e)?e.call(this,this):e)}:e:t}function id(t,e){return Ns(Un(t),Un(e))}function Un(t){if(le(t)){const e={};for(let s=0;s1)return s&&ue(e)?e.call(i&&i.proxy):e}}function ad(){return!!(Ne||De||ls)}const wl={},bl=()=>Object.create(wl),yl=t=>Object.getPrototypeOf(t)===wl;function ld(t,e,s,i=!1){const n={},r=bl();t.propsDefaults=Object.create(null),Sl(t,e,n,r);for(const o in t.propsOptions[0])o in n||(n[o]=void 0);s?t.props=i?n:Wa(n):t.type.props?t.props=n:t.props=r,t.attrs=r}function cd(t,e,s,i){const{props:n,attrs:r,vnode:{patchFlag:o}}=t,l=ge(n),[a]=t.propsOptions;let d=!1;if((i||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let u=0;u{a=!0;const[f,p]=El(u,e,!0);$e(o,f),p&&l.push(...p)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!r&&!a)return Pe(t)&&i.set(t,Ss),Ss;if(le(r))for(let c=0;ct[0]==="_"||t==="$stable",Ir=t=>le(t)?t.map(St):[St(t)],dd=(t,e,s)=>{if(e._n)return e;const i=It((...n)=>Ir(e(...n)),s);return i._c=!1,i},Tl=(t,e,s)=>{const i=t._ctx;for(const n in t){if(xl(n))continue;const r=t[n];if(ue(r))e[n]=dd(n,r,i);else if(r!=null){const o=Ir(r);e[n]=()=>o}}},Cl=(t,e)=>{const s=Ir(e);t.slots.default=()=>s},_l=(t,e,s)=>{for(const i in e)(s||i!=="_")&&(t[i]=e[i])},fd=(t,e,s)=>{const i=t.slots=bl();if(t.vnode.shapeFlag&32){const n=e._;n?(_l(i,e,s),s&&xa(i,"_",n,!0)):Tl(e,i)}else e&&Cl(t,e)},pd=(t,e,s)=>{const{vnode:i,slots:n}=t;let r=!0,o=xe;if(i.shapeFlag&32){const l=e._;l?s&&l===1?r=!1:_l(n,e,s):(r=!e.$stable,Tl(e,n)),o=e}else e&&(Cl(t,e),o={default:1});if(r)for(const l in n)!xl(l)&&o[l]==null&&delete n[l]},tt=Md;function hd(t){return md(t)}function md(t,e){const s=Ta();s.__VUE__=!0;const{insert:i,remove:n,patchProp:r,createElement:o,createText:l,createComment:a,setText:d,setElementText:c,parentNode:u,nextSibling:f,setScopeId:p=xt,insertStaticContent:h}=t,m=(S,x,k,j=null,F=null,q=null,K=void 0,U=null,G=!!x.dynamicChildren)=>{if(S===x)return;S&&!rs(S,x)&&(j=$(S),W(S,F,q,!0),S=null),x.patchFlag===-2&&(G=!1,x.dynamicChildren=null);const{type:V,ref:ae,shapeFlag:J}=x;switch(V){case Zi:v(S,x,k,j);break;case Ue:b(S,x,k,j);break;case En:S==null&&w(x,k,j,K);break;case Te:C(S,x,k,j,F,q,K,U,G);break;default:J&1?T(S,x,k,j,F,q,K,U,G):J&6?_(S,x,k,j,F,q,K,U,G):(J&64||J&128)&&V.process(S,x,k,j,F,q,K,U,G,te)}ae!=null&&F&&Vn(ae,S&&S.ref,q,x||S,!x)},v=(S,x,k,j)=>{if(S==null)i(x.el=l(x.children),k,j);else{const F=x.el=S.el;x.children!==S.children&&d(F,x.children)}},b=(S,x,k,j)=>{S==null?i(x.el=a(x.children||""),k,j):x.el=S.el},w=(S,x,k,j)=>{[S.el,S.anchor]=h(S.children,x,k,j,S.el,S.anchor)},g=({el:S,anchor:x},k,j)=>{let F;for(;S&&S!==x;)F=f(S),i(S,k,j),S=F;i(x,k,j)},y=({el:S,anchor:x})=>{let k;for(;S&&S!==x;)k=f(S),n(S),S=k;n(x)},T=(S,x,k,j,F,q,K,U,G)=>{x.type==="svg"?K="svg":x.type==="math"&&(K="mathml"),S==null?A(x,k,j,F,q,K,U,G):E(S,x,F,q,K,U,G)},A=(S,x,k,j,F,q,K,U)=>{let G,V;const{props:ae,shapeFlag:J,transition:ne,dirs:ce}=S;if(G=S.el=o(S.type,q,ae&&ae.is,ae),J&8?c(G,S.children):J&16&&P(S.children,G,null,j,F,yn(S,q),K,U),ce&&es(S,null,j,"created"),L(G,S,S.scopeId,K,j),ae){for(const _e in ae)_e!=="value"&&!js(_e)&&r(G,_e,null,ae[_e],q,j);"value"in ae&&r(G,"value",null,ae.value,q),(V=ae.onVnodeBeforeMount)&&wt(V,j,S)}ce&&es(S,null,j,"beforeMount");const me=gd(F,ne);me&&ne.beforeEnter(G),i(G,x,k),((V=ae&&ae.onVnodeMounted)||me||ce)&&tt(()=>{V&&wt(V,j,S),me&&ne.enter(G),ce&&es(S,null,j,"mounted")},F)},L=(S,x,k,j,F)=>{if(k&&p(S,k),j)for(let q=0;q{for(let V=G;V{const U=x.el=S.el;let{patchFlag:G,dynamicChildren:V,dirs:ae}=x;G|=S.patchFlag&16;const J=S.props||xe,ne=x.props||xe;let ce;if(k&&ts(k,!1),(ce=ne.onVnodeBeforeUpdate)&&wt(ce,k,x,S),ae&&es(x,S,k,"beforeUpdate"),k&&ts(k,!0),(J.innerHTML&&ne.innerHTML==null||J.textContent&&ne.textContent==null)&&c(U,""),V?M(S.dynamicChildren,V,U,k,j,yn(x,F),q):K||I(S,x,U,null,k,j,yn(x,F),q,!1),G>0){if(G&16)z(U,J,ne,k,F);else if(G&2&&J.class!==ne.class&&r(U,"class",null,ne.class,F),G&4&&r(U,"style",J.style,ne.style,F),G&8){const me=x.dynamicProps;for(let _e=0;_e{ce&&wt(ce,k,x,S),ae&&es(x,S,k,"updated")},j)},M=(S,x,k,j,F,q,K)=>{for(let U=0;U{if(x!==k){if(x!==xe)for(const q in x)!js(q)&&!(q in k)&&r(S,q,x[q],null,F,j);for(const q in k){if(js(q))continue;const K=k[q],U=x[q];K!==U&&q!=="value"&&r(S,q,U,K,F,j)}"value"in k&&r(S,"value",x.value,k.value,F)}},C=(S,x,k,j,F,q,K,U,G)=>{const V=x.el=S?S.el:l(""),ae=x.anchor=S?S.anchor:l("");let{patchFlag:J,dynamicChildren:ne,slotScopeIds:ce}=x;ce&&(U=U?U.concat(ce):ce),S==null?(i(V,k,j),i(ae,k,j),P(x.children||[],k,ae,F,q,K,U,G)):J>0&&J&64&&ne&&S.dynamicChildren?(M(S.dynamicChildren,ne,k,F,q,K,U),(x.key!=null||F&&x===F.subTree)&&Ml(S,x,!0)):I(S,x,k,ae,F,q,K,U,G)},_=(S,x,k,j,F,q,K,U,G)=>{x.slotScopeIds=U,S==null?x.shapeFlag&512?F.ctx.activate(x,k,j,K,G):R(x,k,j,F,q,K,G):N(S,x,G)},R=(S,x,k,j,F,q,K)=>{const U=S.component=zd(S,j,F);if(Xi(S)&&(U.ctx.renderer=te),Dd(U,!1,K),U.asyncDep){if(F&&F.registerDep(U,H,K),!S.el){const G=U.subTree=Oe(Ue);b(null,G,x,k)}}else H(U,S,x,k,F,q,K)},N=(S,x,k)=>{const j=x.component=S.component;if(Cd(S,x,k))if(j.asyncDep&&!j.asyncResolved){O(j,x,k);return}else j.next=x,j.update();else x.el=S.el,j.vnode=x},H=(S,x,k,j,F,q,K)=>{const U=()=>{if(S.isMounted){let{next:J,bu:ne,u:ce,parent:me,vnode:_e}=S;{const Qe=Pl(S);if(Qe){J&&(J.el=_e.el,O(S,J,K)),Qe.asyncDep.then(()=>{S.isUnmounted||U()});return}}let ye=J,Je;ts(S,!1),J?(J.el=_e.el,O(S,J,K)):J=_e,ne&&pn(ne),(Je=J.props&&J.props.onVnodeBeforeUpdate)&&wt(Je,me,J,_e),ts(S,!0);const Be=Sn(S),ft=S.subTree;S.subTree=Be,m(ft,Be,u(ft.el),$(ft),S,F,q),J.el=Be.el,ye===null&&_d(S,Be.el),ce&&tt(ce,F),(Je=J.props&&J.props.onVnodeUpdated)&&tt(()=>wt(Je,me,J,_e),F)}else{let J;const{el:ne,props:ce}=x,{bm:me,m:_e,parent:ye,root:Je,type:Be}=S,ft=Ts(x);if(ts(S,!1),me&&pn(me),!ft&&(J=ce&&ce.onVnodeBeforeMount)&&wt(J,ye,x),ts(S,!0),ne&&Ce){const Qe=()=>{S.subTree=Sn(S),Ce(ne,S.subTree,S,F,null)};ft&&Be.__asyncHydrate?Be.__asyncHydrate(ne,S,Qe):Qe()}else{Je.ce&&Je.ce._injectChildStyle(Be);const Qe=S.subTree=Sn(S);m(null,Qe,k,j,S,F,q),x.el=Qe.el}if(_e&&tt(_e,F),!ft&&(J=ce&&ce.onVnodeMounted)){const Qe=x;tt(()=>wt(J,ye,Qe),F)}(x.shapeFlag&256||ye&&Ts(ye.vnode)&&ye.vnode.shapeFlag&256)&&S.a&&tt(S.a,F),S.isMounted=!0,x=k=j=null}};S.scope.on();const G=S.effect=new Oa(U);S.scope.off();const V=S.update=G.run.bind(G),ae=S.job=G.runIfDirty.bind(G);ae.i=S,ae.id=S.uid,G.scheduler=()=>Lr(ae),ts(S,!0),V()},O=(S,x,k)=>{x.component=S;const j=S.vnode.props;S.vnode=x,S.next=null,cd(S,x.props,j,k),pd(S,x.children,k),Jt(),to(S),Qt()},I=(S,x,k,j,F,q,K,U,G=!1)=>{const V=S&&S.children,ae=S?S.shapeFlag:0,J=x.children,{patchFlag:ne,shapeFlag:ce}=x;if(ne>0){if(ne&128){oe(V,J,k,j,F,q,K,U,G);return}else if(ne&256){X(V,J,k,j,F,q,K,U,G);return}}ce&8?(ae&16&&de(V,F,q),J!==V&&c(k,J)):ae&16?ce&16?oe(V,J,k,j,F,q,K,U,G):de(V,F,q,!0):(ae&8&&c(k,""),ce&16&&P(J,k,j,F,q,K,U,G))},X=(S,x,k,j,F,q,K,U,G)=>{S=S||Ss,x=x||Ss;const V=S.length,ae=x.length,J=Math.min(V,ae);let ne;for(ne=0;neae?de(S,F,q,!0,!1,J):P(x,k,j,F,q,K,U,G,J)},oe=(S,x,k,j,F,q,K,U,G)=>{let V=0;const ae=x.length;let J=S.length-1,ne=ae-1;for(;V<=J&&V<=ne;){const ce=S[V],me=x[V]=G?Gt(x[V]):St(x[V]);if(rs(ce,me))m(ce,me,k,null,F,q,K,U,G);else break;V++}for(;V<=J&&V<=ne;){const ce=S[J],me=x[ne]=G?Gt(x[ne]):St(x[ne]);if(rs(ce,me))m(ce,me,k,null,F,q,K,U,G);else break;J--,ne--}if(V>J){if(V<=ne){const ce=ne+1,me=cene)for(;V<=J;)W(S[V],F,q,!0),V++;else{const ce=V,me=V,_e=new Map;for(V=me;V<=ne;V++){const et=x[V]=G?Gt(x[V]):St(x[V]);et.key!=null&&_e.set(et.key,V)}let ye,Je=0;const Be=ne-me+1;let ft=!1,Qe=0;const Is=new Array(Be);for(V=0;V=Be){W(et,F,q,!0);continue}let vt;if(et.key!=null)vt=_e.get(et.key);else for(ye=me;ye<=ne;ye++)if(Is[ye-me]===0&&rs(et,x[ye])){vt=ye;break}vt===void 0?W(et,F,q,!0):(Is[vt-me]=V+1,vt>=Qe?Qe=vt:ft=!0,m(et,x[vt],k,null,F,q,K,U,G),Je++)}const Gr=ft?vd(Is):Ss;for(ye=Gr.length-1,V=Be-1;V>=0;V--){const et=me+V,vt=x[et],Ur=et+1{const{el:q,type:K,transition:U,children:G,shapeFlag:V}=S;if(V&6){B(S.component.subTree,x,k,j);return}if(V&128){S.suspense.move(x,k,j);return}if(V&64){K.move(S,x,k,te);return}if(K===Te){i(q,x,k);for(let J=0;JU.enter(q),F);else{const{leave:J,delayLeave:ne,afterLeave:ce}=U,me=()=>i(q,x,k),_e=()=>{J(q,()=>{me(),ce&&ce()})};ne?ne(q,me,_e):_e()}else i(q,x,k)},W=(S,x,k,j=!1,F=!1)=>{const{type:q,props:K,ref:U,children:G,dynamicChildren:V,shapeFlag:ae,patchFlag:J,dirs:ne,cacheIndex:ce}=S;if(J===-2&&(F=!1),U!=null&&Vn(U,null,k,S,!0),ce!=null&&(x.renderCache[ce]=void 0),ae&256){x.ctx.deactivate(S);return}const me=ae&1&&ne,_e=!Ts(S);let ye;if(_e&&(ye=K&&K.onVnodeBeforeUnmount)&&wt(ye,x,S),ae&6)ie(S.component,k,j);else{if(ae&128){S.suspense.unmount(k,j);return}me&&es(S,null,x,"beforeUnmount"),ae&64?S.type.remove(S,x,k,te,j):V&&!V.hasOnce&&(q!==Te||J>0&&J&64)?de(V,x,k,!1,!0):(q===Te&&J&384||!F&&ae&16)&&de(G,x,k),j&&Q(S)}(_e&&(ye=K&&K.onVnodeUnmounted)||me)&&tt(()=>{ye&&wt(ye,x,S),me&&es(S,null,x,"unmounted")},k)},Q=S=>{const{type:x,el:k,anchor:j,transition:F}=S;if(x===Te){ve(k,j);return}if(x===En){y(S);return}const q=()=>{n(k),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(S.shapeFlag&1&&F&&!F.persisted){const{leave:K,delayLeave:U}=F,G=()=>K(k,q);U?U(S.el,q,G):G()}else q()},ve=(S,x)=>{let k;for(;S!==x;)k=f(S),n(S),S=k;n(x)},ie=(S,x,k)=>{const{bum:j,scope:F,job:q,subTree:K,um:U,m:G,a:V}=S;co(G),co(V),j&&pn(j),F.stop(),q&&(q.flags|=8,W(K,S,x,k)),U&&tt(U,x),tt(()=>{S.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},de=(S,x,k,j=!1,F=!1,q=0)=>{for(let K=q;K{if(S.shapeFlag&6)return $(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const x=f(S.anchor||S.el),k=x&&x[ku];return k?f(k):x};let ee=!1;const Y=(S,x,k)=>{S==null?x._vnode&&W(x._vnode,null,null,!0):m(x._vnode||null,S,x,null,null,null,k),x._vnode=S,ee||(ee=!0,to(),Ja(),ee=!1)},te={p:m,um:W,m:B,r:Q,mt:R,mc:P,pc:I,pbc:M,n:$,o:t};let pe,Ce;return{render:Y,hydrate:pe,createApp:od(Y,pe)}}function yn({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function ts({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function gd(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ml(t,e,s=!1){const i=t.children,n=e.children;if(le(i)&&le(n))for(let r=0;r>1,t[s[l]]0&&(e[i]=s[r-1]),s[r]=i)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function Pl(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Pl(e)}function co(t){if(t)for(let e=0;eut(wd);function Et(t,e,s){return Al(t,e,s)}function Al(t,e,s=xe){const{immediate:i,deep:n,flush:r,once:o}=s,l=$e({},s);let a;if(Ji)if(r==="sync"){const f=bd();a=f.__watcherHandles||(f.__watcherHandles=[])}else if(!e||i)l.once=!0;else{const f=()=>{};return f.stop=xt,f.resume=xt,f.pause=xt,f}const d=Ne;l.call=(f,p,h)=>ht(f,d,p,h);let c=!1;r==="post"?l.scheduler=f=>{tt(f,d&&d.suspense)}:r!=="sync"&&(c=!0,l.scheduler=(f,p)=>{p?f():Lr(f)}),l.augmentJob=f=>{e&&(f.flags|=4),c&&(f.flags|=2,d&&(f.id=d.uid,f.i=d))};const u=Ou(t,e,l);return a&&a.push(u),u}function yd(t,e,s){const i=this.proxy,n=ze(t)?t.includes(".")?Ll(i,t):()=>i[t]:t.bind(i,i);let r;ue(e)?r=e:(r=e.handler,s=e);const o=ui(this),l=Al(n,r.bind(i),s);return o(),l}function Ll(t,e){const s=e.split(".");return()=>{let i=t;for(let n=0;ne==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${dt(e)}Modifiers`]||t[`${hs(e)}Modifiers`];function Ed(t,e,...s){if(t.isUnmounted)return;const i=t.vnode.props||xe;let n=s;const r=e.startsWith("update:"),o=r&&Sd(i,e.slice(7));o&&(o.trim&&(n=s.map(c=>ze(c)?c.trim():c)),o.number&&(n=s.map(Vc)));let l,a=i[l=fn(e)]||i[l=fn(dt(e))];!a&&r&&(a=i[l=fn(hs(e))]),a&&ht(a,t,6,n);const d=i[l+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,ht(d,t,6,n)}}function Ol(t,e,s=!1){const i=e.emitsCache,n=i.get(t);if(n!==void 0)return n;const r=t.emits;let o={},l=!1;if(!ue(t)){const a=d=>{const c=Ol(d,e,!0);c&&(l=!0,$e(o,c))};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!r&&!l?(Pe(t)&&i.set(t,null),null):(le(r)?r.forEach(a=>o[a]=null):$e(o,r),Pe(t)&&i.set(t,o),o)}function Ki(t,e){return!t||!Hi(e)?!1:(e=e.slice(2).replace(/Once$/,""),be(t,e[0].toLowerCase()+e.slice(1))||be(t,hs(e))||be(t,e))}function Sn(t){const{type:e,vnode:s,proxy:i,withProxy:n,propsOptions:[r],slots:o,attrs:l,emit:a,render:d,renderCache:c,props:u,data:f,setupState:p,ctx:h,inheritAttrs:m}=t,v=Li(t);let b,w;try{if(s.shapeFlag&4){const y=n||i,T=y;b=St(d.call(T,y,c,u,p,f,h)),w=l}else{const y=e;b=St(y.length>1?y(u,{attrs:l,slots:o,emit:a}):y(u,null)),w=e.props?l:xd(l)}}catch(y){Vs.length=0,Gi(y,t,1),b=Oe(Ue)}let g=b;if(w&&m!==!1){const y=Object.keys(w),{shapeFlag:T}=g;y.length&&T&7&&(r&&y.some(gr)&&(w=Td(w,r)),g=Kt(g,w,!1,!0))}return s.dirs&&(g=Kt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(s.dirs):s.dirs),s.transition&&Qs(g,s.transition),b=g,Li(v),b}const xd=t=>{let e;for(const s in t)(s==="class"||s==="style"||Hi(s))&&((e||(e={}))[s]=t[s]);return e},Td=(t,e)=>{const s={};for(const i in t)(!gr(i)||!(i.slice(9)in e))&&(s[i]=t[i]);return s};function Cd(t,e,s){const{props:i,children:n,component:r}=t,{props:o,children:l,patchFlag:a}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return i?uo(i,o,d):!!o;if(a&8){const c=e.dynamicProps;for(let u=0;ut.__isSuspense;function Md(t,e){e&&e.pendingBranch?le(t)?e.effects.push(...t):e.effects.push(t):zu(t)}const Te=Symbol.for("v-fgt"),Zi=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),En=Symbol.for("v-stc"),Vs=[];let nt=null;function se(t=!1){Vs.push(nt=t?null:[])}function Pd(){Vs.pop(),nt=Vs[Vs.length-1]||null}let ei=1;function fo(t){ei+=t,t<0&&nt&&(nt.hasOnce=!0)}function Rl(t){return t.dynamicChildren=ei>0?nt||Ss:null,Pd(),ei>0&&nt&&nt.push(t),t}function re(t,e,s,i,n,r){return Rl(Z(t,e,s,i,n,r,!0))}function Xe(t,e,s,i,n){return Rl(Oe(t,e,s,i,n,!0))}function ti(t){return t?t.__v_isVNode===!0:!1}function rs(t,e){return t.type===e.type&&t.key===e.key}const zl=({key:t})=>t??null,Ei=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ze(t)||Ie(t)||ue(t)?{i:De,r:t,k:e,f:!!s}:t:null);function Z(t,e=null,s=null,i=0,n=null,r=t===Te?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&zl(e),ref:e&&Ei(e),scopeId:el,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:De};return l?(Rr(a,s),r&128&&t.normalize(a)):s&&(a.shapeFlag|=ze(s)?8:16),ei>0&&!o&&nt&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&nt.push(a),a}const Oe=Ad;function Ad(t,e=null,s=null,i=0,n=null,r=!1){if((!t||t===Ku)&&(t=Ue),ti(t)){const l=Kt(t,e,!0);return s&&Rr(l,s),ei>0&&!r&&nt&&(l.shapeFlag&6?nt[nt.indexOf(t)]=l:nt.push(l)),l.patchFlag=-2,l}if(Bd(t)&&(t=t.__vccOpts),e){e=Ld(e);let{class:l,style:a}=e;l&&!ze(l)&&(e.class=yt(l)),Pe(a)&&(_r(a)&&!le(a)&&(a=$e({},a)),e.style=Le(a))}const o=ze(t)?1:Il(t)?128:sl(t)?64:Pe(t)?4:ue(t)?2:0;return Z(t,e,s,i,n,o,r,!0)}function Ld(t){return t?_r(t)||yl(t)?$e({},t):t:null}function Kt(t,e,s=!1,i=!1){const{props:n,ref:r,patchFlag:o,children:l,transition:a}=t,d=e?Od(n||{},e):n,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&zl(d),ref:e&&e.ref?s&&r?le(r)?r.concat(Ei(e)):[r,Ei(e)]:Ei(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Te?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Kt(t.ssContent),ssFallback:t.ssFallback&&Kt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&i&&Qs(c,a.clone(c)),c}function Wt(t=" ",e=0){return Oe(Zi,null,t,e)}function Ae(t="",e=!1){return e?(se(),Xe(Ue,null,t)):Oe(Ue,null,t)}function St(t){return t==null||typeof t=="boolean"?Oe(Ue):le(t)?Oe(Te,null,t.slice()):ti(t)?Gt(t):Oe(Zi,null,String(t))}function Gt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Kt(t)}function Rr(t,e){let s=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(le(e))s=16;else if(typeof e=="object")if(i&65){const n=e.default;n&&(n._c&&(n._d=!1),Rr(t,n()),n._c&&(n._d=!0));return}else{s=32;const n=e._;!n&&!yl(e)?e._ctx=De:n===3&&De&&(De.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ue(e)?(e={default:e,_ctx:De},s=32):(e=String(e),i&64?(s=16,e=[Wt(e)]):s=8);t.children=e,t.shapeFlag|=s}function Od(...t){const e={};for(let s=0;sNe||De;let Ri,Yn;{const t=Ta(),e=(s,i)=>{let n;return(n=t[s])||(n=t[s]=[]),n.push(i),r=>{n.length>1?n.forEach(o=>o(r)):n[0](r)}};Ri=e("__VUE_INSTANCE_SETTERS__",s=>Ne=s),Yn=e("__VUE_SSR_SETTERS__",s=>Ji=s)}const ui=t=>{const e=Ne;return Ri(t),t.scope.on(),()=>{t.scope.off(),Ri(e)}},po=()=>{Ne&&Ne.scope.off(),Ri(null)};function kl(t){return t.vnode.shapeFlag&4}let Ji=!1;function Dd(t,e=!1,s=!1){e&&Yn(e);const{props:i,children:n}=t.vnode,r=kl(t);ld(t,i,r,e),fd(t,n,s);const o=r?$d(t,e):void 0;return e&&Yn(!1),o}function $d(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Qu);const{setup:i}=s;if(i){const n=t.setupContext=i.length>1?Fd(t):null,r=ui(t);Jt();const o=li(i,t,0,[t.props,n]);if(Qt(),r(),ya(o)){if(Ts(t)||cl(t),o.then(po,po),e)return o.then(l=>{ho(t,l,e)}).catch(l=>{Gi(l,t,0)});t.asyncDep=o}else ho(t,o,e)}else Dl(t,e)}function ho(t,e,s){ue(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Pe(e)&&(t.setupState=Xa(e)),Dl(t,s)}let mo;function Dl(t,e,s){const i=t.type;if(!t.render){if(!e&&mo&&!i.render){const n=i.template||Or(t).template;if(n){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:l,compilerOptions:a}=i,d=$e($e({isCustomElement:r,delimiters:l},o),a);i.render=mo(n,d)}}t.render=i.render||xt}{const n=ui(t);Jt();try{ed(t)}finally{Qt(),n()}}}const Nd={get(t,e){return qe(t,"get",""),t[e]}};function Fd(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Nd),slots:t.slots,emit:t.emit,expose:e}}function Qi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Xa(Mr(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in qs)return qs[s](t)},has(e,s){return s in e||s in qs}})):t.proxy}function Hd(t,e=!0){return ue(t)?t.displayName||t.name:t.name||e&&t.__name}function Bd(t){return ue(t)&&"__vccOpts"in t}const Ye=(t,e)=>Au(t,e,Ji);function zr(t,e,s){const i=arguments.length;return i===2?Pe(e)&&!le(e)?ti(e)?Oe(t,null,[e]):Oe(t,e):Oe(t,null,e):(i>3?s=Array.prototype.slice.call(arguments,2):i===3&&ti(s)&&(s=[s]),Oe(t,e,s))}const jd="3.5.10";/** +* @vue/runtime-dom v3.5.10 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Hl="http://www.w3.org/2000/svg",$l="http://www.w3.org/1998/Math/MathML",Te=typeof document<"u"?document:null,Jr=Te&&Te.createElement("template"),Vl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Te.createElementNS(Hl,e):t==="mathml"?Te.createElementNS($l,e):n?Te.createElement(e,{is:n}):Te.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Te.createTextNode(e),createComment:e=>Te.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Te.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Jr.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=Jr.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ql=Symbol("_vtc");function Kl(e,t,n){const r=e[ql];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Gr=Symbol("_vod"),Wl=Symbol("_vsh"),zl=Symbol(""),kl=/(^|;)\s*display\s*:/;function Jl(e,t,n){const r=e.style,s=Z(n);let o=!1;if(n&&!s){if(t)if(Z(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Bt(r,l,"")}else for(const i in t)n[i]==null&&Bt(r,i,"");for(const i in n)i==="display"&&(o=!0),Bt(r,i,n[i])}else if(s){if(t!==n){const i=r[zl];i&&(n+=";"+i),r.cssText=n,o=kl.test(n)}}else t&&e.removeAttribute("style");Gr in e&&(e[Gr]=o?r.display:"",e[Wl]&&(r.display="none"))}const Xr=/\s*!important$/;function Bt(e,t,n){if(L(n))n.forEach(r=>Bt(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Gl(e,t);Xr.test(n)?e.setProperty(rt(r),n.replace(Xr,""),"important"):e[r]=n}}const Yr=["Webkit","Moz","ms"],wn={};function Gl(e,t){const n=wn[t];if(n)return n;let r=et(t);if(r!=="filter"&&r in e)return wn[t]=r;r=ys(r);for(let s=0;sEn||(tc.then(()=>En=0),En=Date.now());function rc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ge(sc(r,n.value),t,5,[r])};return n.value=e,n.attached=nc(),n}function sc(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oc=(e,t,n,r,s,o,i,l,c)=>{const a=s==="svg";t==="class"?Kl(e,r,a):t==="style"?Jl(e,n,r):Jt(t)?zn(t)||Ql(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ic(e,t,r,a))?(Xl(e,t,r,o,i,l,c),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qr(e,t,r,a,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Qr(e,t,r,a))};function ic(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ns(t)&&M(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ns(t)&&Z(n)?!1:t in e}const lc=Y({patchProp:oc},Vl);let rs;function cc(){return rs||(rs=ul(lc))}const fc=(...e)=>{const t=cc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ac(r);if(!s)return;const o=t._component;!M(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,uc(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function uc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ac(e){return Z(e)?document.querySelector(e):e}const dc=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hc={};function pc(e,t){return El(),Rl("div",null," hello HMR alors :) ")}const mc=dc(hc,[["render",pc]]);function ao(e,t){return function(){return e.apply(t,arguments)}}const{toString:gc}=Object.prototype,{getPrototypeOf:dr}=Object,rn=(e=>t=>{const n=gc.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ye=e=>(e=e.toLowerCase(),t=>rn(t)===e),sn=e=>t=>typeof t===e,{isArray:st}=Array,xt=sn("undefined");function bc(e){return e!==null&&!xt(e)&&e.constructor!==null&&!xt(e.constructor)&&de(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ho=ye("ArrayBuffer");function yc(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ho(e.buffer),t}const _c=sn("string"),de=sn("function"),po=sn("number"),on=e=>e!==null&&typeof e=="object",wc=e=>e===!0||e===!1,Ht=e=>{if(rn(e)!=="object")return!1;const t=dr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ec=ye("Date"),xc=ye("File"),Sc=ye("Blob"),Rc=ye("FileList"),Oc=e=>on(e)&&de(e.pipe),Tc=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||de(e.append)&&((t=rn(e))==="formdata"||t==="object"&&de(e.toString)&&e.toString()==="[object FormData]"))},Cc=ye("URLSearchParams"),[Ac,Pc,Fc,Nc]=["ReadableStream","Request","Response","Headers"].map(ye),vc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),st(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bo=e=>!xt(e)&&e!==go;function Dn(){const{caseless:e}=bo(this)&&this||{},t={},n=(r,s)=>{const o=e&&mo(t,s)||s;Ht(t[o])&&Ht(r)?t[o]=Dn(t[o],r):Ht(r)?t[o]=Dn({},r):st(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(Rt(t,(s,o)=>{n&&de(s)?e[o]=ao(s,n):e[o]=s},{allOwnKeys:r}),e),Ic=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Mc=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},jc=(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&dr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Uc=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Dc=e=>{if(!e)return null;if(st(e))return e;let t=e.length;if(!po(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Bc=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&dr(Uint8Array)),Hc=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},$c=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Vc=ye("HTMLFormElement"),qc=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ss=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Kc=ye("RegExp"),yo=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Rt(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Wc=e=>{yo(e,(t,n)=>{if(de(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(de(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},zc=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return st(e)?r(e):r(String(e).split(t)),n},kc=()=>{},Jc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,xn="abcdefghijklmnopqrstuvwxyz",os="0123456789",_o={DIGIT:os,ALPHA:xn,ALPHA_DIGIT:xn+xn.toUpperCase()+os},Gc=(e=16,t=_o.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Xc(e){return!!(e&&de(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Yc=e=>{const t=new Array(10),n=(r,s)=>{if(on(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=st(r)?[]:{};return Rt(r,(i,l)=>{const c=n(i,s+1);!xt(c)&&(o[l]=c)}),t[s]=void 0,o}}return r};return n(e,0)},Zc=ye("AsyncFunction"),Qc=e=>e&&(on(e)||de(e))&&de(e.then)&&de(e.catch),h={isArray:st,isArrayBuffer:ho,isBuffer:bc,isFormData:Tc,isArrayBufferView:yc,isString:_c,isNumber:po,isBoolean:wc,isObject:on,isPlainObject:Ht,isReadableStream:Ac,isRequest:Pc,isResponse:Fc,isHeaders:Nc,isUndefined:xt,isDate:Ec,isFile:xc,isBlob:Sc,isRegExp:Kc,isFunction:de,isStream:Oc,isURLSearchParams:Cc,isTypedArray:Bc,isFileList:Rc,forEach:Rt,merge:Dn,extend:Lc,trim:vc,stripBOM:Ic,inherits:Mc,toFlatObject:jc,kindOf:rn,kindOfTest:ye,endsWith:Uc,toArray:Dc,forEachEntry:Hc,matchAll:$c,isHTMLForm:Vc,hasOwnProperty:ss,hasOwnProp:ss,reduceDescriptors:yo,freezeMethods:Wc,toObjectSet:zc,toCamelCase:qc,noop:kc,toFiniteNumber:Jc,findKey:mo,global:go,isContextDefined:bo,ALPHABET:_o,generateString:Gc,isSpecCompliantForm:Xc,toJSONObject:Yc,isAsyncFn:Zc,isThenable:Qc};function v(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}h.inherits(v,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:h.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const wo=v.prototype,Eo={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Eo[e]={value:e}});Object.defineProperties(v,Eo);Object.defineProperty(wo,"isAxiosError",{value:!0});v.from=(e,t,n,r,s,o)=>{const i=Object.create(wo);return h.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),v.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const ef=null;function Bn(e){return h.isPlainObject(e)||h.isArray(e)}function xo(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function is(e,t,n){return e?e.concat(t).map(function(s,o){return s=xo(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function tf(e){return h.isArray(e)&&!e.some(Bn)}const nf=h.toFlatObject(h,{},null,function(t){return/^is[A-Z]/.test(t)});function ln(e,t,n){if(!h.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=h.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,H){return!h.isUndefined(H[O])});const r=n.metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(t);if(!h.isFunction(s))throw new TypeError("visitor must be a function");function a(S){if(S===null)return"";if(h.isDate(S))return S.toISOString();if(!c&&h.isBlob(S))throw new v("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(S)||h.isTypedArray(S)?c&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function u(S,O,H){let U=S;if(S&&!H&&typeof S=="object"){if(h.endsWith(O,"{}"))O=r?O:O.slice(0,-2),S=JSON.stringify(S);else if(h.isArray(S)&&tf(S)||(h.isFileList(S)||h.endsWith(O,"[]"))&&(U=h.toArray(S)))return O=xo(O),U.forEach(function(F,W){!(h.isUndefined(F)||F===null)&&t.append(i===!0?is([O],W,o):i===null?O:O+"[]",a(F))}),!1}return Bn(S)?!0:(t.append(is(H,O,o),a(S)),!1)}const p=[],x=Object.assign(nf,{defaultVisitor:u,convertValue:a,isVisitable:Bn});function T(S,O){if(!h.isUndefined(S)){if(p.indexOf(S)!==-1)throw Error("Circular reference detected in "+O.join("."));p.push(S),h.forEach(S,function(U,V){(!(h.isUndefined(U)||U===null)&&s.call(t,U,h.isString(V)?V.trim():V,O,x))===!0&&T(U,O?O.concat(V):[V])}),p.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return T(e),t}function ls(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hr(e,t){this._pairs=[],e&&ln(e,this,t)}const So=hr.prototype;So.append=function(t,n){this._pairs.push([t,n])};So.toString=function(t){const n=t?function(r){return t.call(this,r,ls)}:ls;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function rf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ro(e,t,n){if(!t)return e;const r=n&&n.encode||rf,s=n&&n.serialize;let o;if(s?o=s(t,n):o=h.isURLSearchParams(t)?t.toString():new hr(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class cs{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){h.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Oo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sf=typeof URLSearchParams<"u"?URLSearchParams:hr,of=typeof FormData<"u"?FormData:null,lf=typeof Blob<"u"?Blob:null,cf={isBrowser:!0,classes:{URLSearchParams:sf,FormData:of,Blob:lf},protocols:["http","https","file","blob","url","data"]},pr=typeof window<"u"&&typeof document<"u",ff=(e=>pr&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),uf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",af=pr&&window.location.href||"http://localhost",df=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pr,hasStandardBrowserEnv:ff,hasStandardBrowserWebWorkerEnv:uf,origin:af},Symbol.toStringTag,{value:"Module"})),be={...df,...cf};function hf(e,t){return ln(e,new be.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return be.isNode&&h.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function pf(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function mf(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&h.isArray(s)?s.length:i,c?(h.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!l):((!s[i]||!h.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&h.isArray(s[i])&&(s[i]=mf(s[i])),!l)}if(h.isFormData(e)&&h.isFunction(e.entries)){const n={};return h.forEachEntry(e,(r,s)=>{t(pf(r),s,n,0)}),n}return null}function gf(e,t,n){if(h.isString(e))try{return(t||JSON.parse)(e),h.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ot={transitional:Oo,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=h.isObject(t);if(o&&h.isHTMLForm(t)&&(t=new FormData(t)),h.isFormData(t))return s?JSON.stringify(To(t)):t;if(h.isArrayBuffer(t)||h.isBuffer(t)||h.isStream(t)||h.isFile(t)||h.isBlob(t)||h.isReadableStream(t))return t;if(h.isArrayBufferView(t))return t.buffer;if(h.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return hf(t,this.formSerializer).toString();if((l=h.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ln(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),gf(t)):t}],transformResponse:[function(t){const n=this.transitional||Ot.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(h.isResponse(t)||h.isReadableStream(t))return t;if(t&&h.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?v.from(l,v.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{Ot.headers[e]={}});const bf=h.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yf=e=>{const t={};let n,r,s;return e&&e.split(` -`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&bf[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},fs=Symbol("internals");function ut(e){return e&&String(e).trim().toLowerCase()}function $t(e){return e===!1||e==null?e:h.isArray(e)?e.map($t):String(e)}function _f(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const wf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sn(e,t,n,r,s){if(h.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!h.isString(t)){if(h.isString(r))return t.indexOf(r)!==-1;if(h.isRegExp(r))return r.test(t)}}function Ef(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function xf(e,t){const n=h.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class ie{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,c,a){const u=ut(c);if(!u)throw new Error("header name must be a non-empty string");const p=h.findKey(s,u);(!p||s[p]===void 0||a===!0||a===void 0&&s[p]!==!1)&&(s[p||c]=$t(l))}const i=(l,c)=>h.forEach(l,(a,u)=>o(a,u,c));if(h.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(h.isString(t)&&(t=t.trim())&&!wf(t))i(yf(t),n);else if(h.isHeaders(t))for(const[l,c]of t.entries())o(c,l,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=ut(t),t){const r=h.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return _f(s);if(h.isFunction(n))return n.call(this,s,r);if(h.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ut(t),t){const r=h.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Sn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=ut(i),i){const l=h.findKey(r,i);l&&(!n||Sn(r,r[l],l,n))&&(delete r[l],s=!0)}}return h.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Sn(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return h.forEach(this,(s,o)=>{const i=h.findKey(r,o);if(i){n[i]=$t(s),delete n[o];return}const l=t?Ef(o):String(o).trim();l!==o&&delete n[o],n[l]=$t(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return h.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&h.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[fs]=this[fs]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=ut(i);r[l]||(xf(s,i),r[l]=!0)}return h.isArray(t)?t.forEach(o):o(t),this}}ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);h.reduceDescriptors(ie.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});h.freezeMethods(ie);function Rn(e,t){const n=this||Ot,r=t||n,s=ie.from(r.headers);let o=r.data;return h.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Co(e){return!!(e&&e.__CANCEL__)}function ot(e,t,n){v.call(this,e??"canceled",v.ERR_CANCELED,t,n),this.name="CanceledError"}h.inherits(ot,v,{__CANCEL__:!0});function Ao(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new v("Request failed with status code "+n.status,[v.ERR_BAD_REQUEST,v.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Sf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Rf(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const a=Date.now(),u=r[o];i||(i=a),n[s]=c,r[s]=a;let p=o,x=0;for(;p!==s;)x+=n[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),a-ir)return s&&(clearTimeout(s),s=null),n=l,e.apply(null,arguments);s||(s=setTimeout(()=>(s=null,n=Date.now(),e.apply(null,arguments)),r-(l-n)))}}const zt=(e,t,n=3)=>{let r=0;const s=Rf(50,250);return Of(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-r,a=s(c),u=i<=l;r=i;const p={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o,lengthComputable:l!=null};p[t?"download":"upload"]=!0,e(p)},n)},Tf=be.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const l=h.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),Cf=be.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];h.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),h.isString(r)&&i.push("path="+r),h.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Af(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Pf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Po(e,t){return e&&!Af(t)?Pf(e,t):t}const us=e=>e instanceof ie?{...e}:e;function Xe(e,t){t=t||{};const n={};function r(a,u,p){return h.isPlainObject(a)&&h.isPlainObject(u)?h.merge.call({caseless:p},a,u):h.isPlainObject(u)?h.merge({},u):h.isArray(u)?u.slice():u}function s(a,u,p){if(h.isUndefined(u)){if(!h.isUndefined(a))return r(void 0,a,p)}else return r(a,u,p)}function o(a,u){if(!h.isUndefined(u))return r(void 0,u)}function i(a,u){if(h.isUndefined(u)){if(!h.isUndefined(a))return r(void 0,a)}else return r(void 0,u)}function l(a,u,p){if(p in t)return r(a,u);if(p in e)return r(void 0,a)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(a,u)=>s(us(a),us(u),!0)};return h.forEach(Object.keys(Object.assign({},e,t)),function(u){const p=c[u]||s,x=p(e[u],t[u],u);h.isUndefined(x)&&p!==l||(n[u]=x)}),n}const Fo=e=>{const t=Xe({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=ie.from(i),t.url=Ro(Po(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(h.isFormData(n)){if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[a,...u]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];i.setContentType([a||"multipart/form-data",...u].join("; "))}}if(be.hasStandardBrowserEnv&&(r&&h.isFunction(r)&&(r=r(t)),r||r!==!1&&Tf(t.url))){const a=s&&o&&Cf.read(o);a&&i.set(s,a)}return t},Ff=typeof XMLHttpRequest<"u",Nf=Ff&&function(e){return new Promise(function(n,r){const s=Fo(e);let o=s.data;const i=ie.from(s.headers).normalize();let{responseType:l}=s,c;function a(){s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let u=new XMLHttpRequest;u.open(s.method.toUpperCase(),s.url,!0),u.timeout=s.timeout;function p(){if(!u)return;const T=ie.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),O={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:T,config:e,request:u};Ao(function(U){n(U),a()},function(U){r(U),a()},O),u=null}"onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){u&&(r(new v("Request aborted",v.ECONNABORTED,s,u)),u=null)},u.onerror=function(){r(new v("Network Error",v.ERR_NETWORK,s,u)),u=null},u.ontimeout=function(){let S=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const O=s.transitional||Oo;s.timeoutErrorMessage&&(S=s.timeoutErrorMessage),r(new v(S,O.clarifyTimeoutError?v.ETIMEDOUT:v.ECONNABORTED,s,u)),u=null},o===void 0&&i.setContentType(null),"setRequestHeader"in u&&h.forEach(i.toJSON(),function(S,O){u.setRequestHeader(O,S)}),h.isUndefined(s.withCredentials)||(u.withCredentials=!!s.withCredentials),l&&l!=="json"&&(u.responseType=s.responseType),typeof s.onDownloadProgress=="function"&&u.addEventListener("progress",zt(s.onDownloadProgress,!0)),typeof s.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",zt(s.onUploadProgress)),(s.cancelToken||s.signal)&&(c=T=>{u&&(r(!T||T.type?new ot(null,e,u):T),u.abort(),u=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const x=Sf(s.url);if(x&&be.protocols.indexOf(x)===-1){r(new v("Unsupported protocol "+x+":",v.ERR_BAD_REQUEST,e));return}u.send(o||null)})},vf=(e,t)=>{let n=new AbortController,r;const s=function(c){if(!r){r=!0,i();const a=c instanceof Error?c:this.reason;n.abort(a instanceof v?a:new ot(a instanceof Error?a.message:a))}};let o=t&&setTimeout(()=>{s(new v(`timeout ${t} of ms exceeded`,v.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",s):c.unsubscribe(s))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=i,[l,()=>{o&&clearTimeout(o),o=null}]},Lf=function*(e,t){let n=e.byteLength;if(!t||n{const o=If(e,t,s);let i=0;return new ReadableStream({type:"bytes",async pull(l){const{done:c,value:a}=await o.next();if(c){l.close(),r();return}let u=a.byteLength;n&&n(i+=u),l.enqueue(new Uint8Array(a))},cancel(l){return r(l),o.return()}},{highWaterMark:2})},ds=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},cn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",No=cn&&typeof ReadableStream=="function",Hn=cn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Mf=No&&(()=>{let e=!1;const t=new Request(be.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),hs=64*1024,$n=No&&!!(()=>{try{return h.isReadableStream(new Response("").body)}catch{}})(),kt={stream:$n&&(e=>e.body)};cn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!kt[t]&&(kt[t]=h.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new v(`Response type '${t}' is not supported`,v.ERR_NOT_SUPPORT,r)})})})(new Response);const jf=async e=>{if(e==null)return 0;if(h.isBlob(e))return e.size;if(h.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(h.isArrayBufferView(e))return e.byteLength;if(h.isURLSearchParams(e)&&(e=e+""),h.isString(e))return(await Hn(e)).byteLength},Uf=async(e,t)=>{const n=h.toFiniteNumber(e.getContentLength());return n??jf(t)},Df=cn&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:a,headers:u,withCredentials:p="same-origin",fetchOptions:x}=Fo(e);a=a?(a+"").toLowerCase():"text";let[T,S]=s||o||i?vf([s,o],i):[],O,H;const U=()=>{!O&&setTimeout(()=>{T&&T.unsubscribe()}),O=!0};let V;try{if(c&&Mf&&n!=="get"&&n!=="head"&&(V=await Uf(u,r))!==0){let I=new Request(t,{method:"POST",body:r,duplex:"half"}),Q;h.isFormData(r)&&(Q=I.headers.get("content-type"))&&u.setContentType(Q),I.body&&(r=as(I.body,hs,ds(V,zt(c)),null,Hn))}h.isString(p)||(p=p?"cors":"omit"),H=new Request(t,{...x,signal:T,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:p});let F=await fetch(H);const W=$n&&(a==="stream"||a==="response");if($n&&(l||W)){const I={};["status","statusText","headers"].forEach(ce=>{I[ce]=F[ce]});const Q=h.toFiniteNumber(F.headers.get("content-length"));F=new Response(as(F.body,hs,l&&ds(Q,zt(l,!0)),W&&U,Hn),I)}a=a||"text";let se=await kt[h.findKey(kt,a)||"text"](F,e);return!W&&U(),S&&S(),await new Promise((I,Q)=>{Ao(I,Q,{data:se,headers:ie.from(F.headers),status:F.status,statusText:F.statusText,config:e,request:H})})}catch(F){throw U(),F&&F.name==="TypeError"&&/fetch/i.test(F.message)?Object.assign(new v("Network Error",v.ERR_NETWORK,e,H),{cause:F.cause||F}):v.from(F,F&&F.code,e,H)}}),Vn={http:ef,xhr:Nf,fetch:Df};h.forEach(Vn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ps=e=>`- ${e}`,Bf=e=>h.isFunction(e)||e===null||e===!1,vo={getAdapter:e=>{e=h.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(ps).join(` -`):" "+ps(o[0]):"as no adapter specified";throw new v("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Vn};function On(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ot(null,e)}function ms(e){return On(e),e.headers=ie.from(e.headers),e.data=Rn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vo.getAdapter(e.adapter||Ot.adapter)(e).then(function(r){return On(e),r.data=Rn.call(e,e.transformResponse,r),r.headers=ie.from(r.headers),r},function(r){return Co(r)||(On(e),r&&r.response&&(r.response.data=Rn.call(e,e.transformResponse,r.response),r.response.headers=ie.from(r.response.headers))),Promise.reject(r)})}const Lo="1.7.2",mr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const gs={};mr.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Lo+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new v(s(i," has been removed"+(n?" in "+n:"")),v.ERR_DEPRECATED);return n&&!gs[i]&&(gs[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function Hf(e,t,n){if(typeof e!="object")throw new v("options must be an object",v.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new v("option "+o+" must be "+c,v.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new v("Unknown option "+o,v.ERR_BAD_OPTION)}}const qn={assertOptions:Hf,validators:mr},Ne=qn.validators;class Je{constructor(t){this.defaults=t,this.interceptors={request:new cs,response:new cs}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Xe(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&qn.assertOptions(r,{silentJSONParsing:Ne.transitional(Ne.boolean),forcedJSONParsing:Ne.transitional(Ne.boolean),clarifyTimeoutError:Ne.transitional(Ne.boolean)},!1),s!=null&&(h.isFunction(s)?n.paramsSerializer={serialize:s}:qn.assertOptions(s,{encode:Ne.function,serialize:Ne.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&h.merge(o.common,o[n.method]);o&&h.forEach(["delete","get","head","post","put","patch","common"],S=>{delete o[S]}),n.headers=ie.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(O){typeof O.runWhen=="function"&&O.runWhen(n)===!1||(c=c&&O.synchronous,l.unshift(O.fulfilled,O.rejected))});const a=[];this.interceptors.response.forEach(function(O){a.push(O.fulfilled,O.rejected)});let u,p=0,x;if(!c){const S=[ms.bind(this),void 0];for(S.unshift.apply(S,l),S.push.apply(S,a),x=S.length,u=Promise.resolve(n);p{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new ot(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new gr(function(s){t=s}),cancel:t}}}function $f(e){return function(n){return e.apply(null,n)}}function Vf(e){return h.isObject(e)&&e.isAxiosError===!0}const Kn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Kn).forEach(([e,t])=>{Kn[t]=e});function Io(e){const t=new Je(e),n=ao(Je.prototype.request,t);return h.extend(n,Je.prototype,t,{allOwnKeys:!0}),h.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Io(Xe(e,s))},n}const G=Io(Ot);G.Axios=Je;G.CanceledError=ot;G.CancelToken=gr;G.isCancel=Co;G.VERSION=Lo;G.toFormData=ln;G.AxiosError=v;G.Cancel=G.CanceledError;G.all=function(t){return Promise.all(t)};G.spread=$f;G.isAxiosError=Vf;G.mergeConfig=Xe;G.AxiosHeaders=ie;G.formToJSON=e=>To(h.isHTMLForm(e)?new FormData(e):e);G.getAdapter=vo.getAdapter;G.HttpStatusCode=Kn;G.default=G;const qf=G.create({baseURL:`${window.location.origin}/api`,withCredentials:!0,headers:{"Content-Type":"application/json"}});qf.interceptors.response.use(e=>Promise.resolve(e),e=>{const{status:t}=e.response;return console.warn("error in rest-axios",t),Promise.reject(e)});(function(e,t){(function(){t.path.isFront,console.log("drupalSettings",t);function r(){console.log("CaravaneTheme init()"),s()}function s(){o()}function o(){fc(mc).mount("#etape-modale")}r()})()})(Drupal,drupalSettings); +**/let Kn;const go=typeof window<"u"&&window.trustedTypes;if(go)try{Kn=go.createPolicy("vue",{createHTML:t=>t})}catch{}const $l=Kn?t=>Kn.createHTML(t):t=>t,qd="http://www.w3.org/2000/svg",Vd="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,vo=_t&&_t.createElement("template"),Wd={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,i)=>{const n=e==="svg"?_t.createElementNS(qd,t):e==="mathml"?_t.createElementNS(Vd,t):s?_t.createElement(t,{is:s}):_t.createElement(t);return t==="select"&&i&&i.multiple!=null&&n.setAttribute("multiple",i.multiple),n},createText:t=>_t.createTextNode(t),createComment:t=>_t.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>_t.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,i,n,r){const o=s?s.previousSibling:e.lastChild;if(n&&(n===r||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),s),!(n===r||!(n=n.nextSibling)););else{vo.innerHTML=$l(i==="svg"?`${t}`:i==="mathml"?`${t}`:t);const l=vo.content;if(i==="svg"||i==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Dt="transition",zs="animation",si=Symbol("_vtc"),Nl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Gd=$e({},il,Nl),Ud=t=>(t.displayName="Transition",t.props=Gd,t),zi=Ud((t,{slots:e})=>zr(Nu,Xd(t),e)),ss=(t,e=[])=>{le(t)?t.forEach(s=>s(...e)):t&&t(...e)},wo=t=>t?le(t)?t.some(e=>e.length>1):t.length>1:!1;function Xd(t){const e={};for(const C in t)C in Nl||(e[C]=t[C]);if(t.css===!1)return e;const{name:s="v",type:i,duration:n,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:l=`${s}-enter-to`,appearFromClass:a=r,appearActiveClass:d=o,appearToClass:c=l,leaveFromClass:u=`${s}-leave-from`,leaveActiveClass:f=`${s}-leave-active`,leaveToClass:p=`${s}-leave-to`}=t,h=Yd(n),m=h&&h[0],v=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:g,onLeave:y,onLeaveCancelled:T,onBeforeAppear:A=b,onAppear:L=w,onAppearCancelled:P=g}=e,E=(C,_,R)=>{is(C,_?c:l),is(C,_?d:o),R&&R()},M=(C,_)=>{C._isLeaving=!1,is(C,u),is(C,p),is(C,f),_&&_()},z=C=>(_,R)=>{const N=C?L:w,H=()=>E(_,C,R);ss(N,[_,H]),bo(()=>{is(_,C?a:r),$t(_,C?c:l),wo(N)||yo(_,i,m,H)})};return $e(e,{onBeforeEnter(C){ss(b,[C]),$t(C,r),$t(C,o)},onBeforeAppear(C){ss(A,[C]),$t(C,a),$t(C,d)},onEnter:z(!1),onAppear:z(!0),onLeave(C,_){C._isLeaving=!0;const R=()=>M(C,_);$t(C,u),$t(C,f),Jd(),bo(()=>{C._isLeaving&&(is(C,u),$t(C,p),wo(y)||yo(C,i,v,R))}),ss(y,[C,R])},onEnterCancelled(C){E(C,!1),ss(g,[C])},onAppearCancelled(C){E(C,!0),ss(P,[C])},onLeaveCancelled(C){M(C),ss(T,[C])}})}function Yd(t){if(t==null)return null;if(Pe(t))return[xn(t.enter),xn(t.leave)];{const e=xn(t);return[e,e]}}function xn(t){return Wc(t)}function $t(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[si]||(t[si]=new Set)).add(e)}function is(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.remove(i));const s=t[si];s&&(s.delete(e),s.size||(t[si]=void 0))}function bo(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Kd=0;function yo(t,e,s,i){const n=t._endId=++Kd,r=()=>{n===t._endId&&i()};if(s!=null)return setTimeout(r,s);const{type:o,timeout:l,propCount:a}=Zd(t,e);if(!o)return i();const d=o+"end";let c=0;const u=()=>{t.removeEventListener(d,f),r()},f=p=>{p.target===t&&++c>=a&&u()};setTimeout(()=>{c(s[h]||"").split(", "),n=i(`${Dt}Delay`),r=i(`${Dt}Duration`),o=So(n,r),l=i(`${zs}Delay`),a=i(`${zs}Duration`),d=So(l,a);let c=null,u=0,f=0;e===Dt?o>0&&(c=Dt,u=o,f=r.length):e===zs?d>0&&(c=zs,u=d,f=a.length):(u=Math.max(o,d),c=u>0?o>d?Dt:zs:null,f=c?c===Dt?r.length:a.length:0);const p=c===Dt&&/\b(transform|all)(,|$)/.test(i(`${Dt}Property`).toString());return{type:c,timeout:u,propCount:f,hasTransform:p}}function So(t,e){for(;t.lengthEo(s)+Eo(t[i])))}function Eo(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Jd(){return document.body.offsetHeight}function Qd(t,e,s){const i=t[si];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const ki=Symbol("_vod"),Fl=Symbol("_vsh"),ef={beforeMount(t,{value:e},{transition:s}){t[ki]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):ks(t,e)},mounted(t,{value:e},{transition:s}){s&&e&&s.enter(t)},updated(t,{value:e,oldValue:s},{transition:i}){!e!=!s&&(i?e?(i.beforeEnter(t),ks(t,!0),i.enter(t)):i.leave(t,()=>{ks(t,!1)}):ks(t,e))},beforeUnmount(t,{value:e}){ks(t,e)}};function ks(t,e){t.style.display=e?t[ki]:"none",t[Fl]=!e}const tf=Symbol(""),sf=/(^|;)\s*display\s*:/;function nf(t,e,s){const i=t.style,n=ze(s);let r=!1;if(s&&!n){if(e)if(ze(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&xi(i,l,"")}else for(const o in e)s[o]==null&&xi(i,o,"");for(const o in s)o==="display"&&(r=!0),xi(i,o,s[o])}else if(n){if(e!==s){const o=i[tf];o&&(s+=";"+o),i.cssText=s,r=sf.test(s)}}else e&&t.removeAttribute("style");ki in t&&(t[ki]=r?i.display:"",t[Fl]&&(i.display="none"))}const xo=/\s*!important$/;function xi(t,e,s){if(le(s))s.forEach(i=>xi(t,e,i));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const i=rf(t,e);xo.test(s)?t.setProperty(hs(i),s.replace(xo,""),"important"):t[i]=s}}const To=["Webkit","Moz","ms"],Tn={};function rf(t,e){const s=Tn[e];if(s)return s;let i=dt(e);if(i!=="filter"&&i in t)return Tn[e]=i;i=qi(i);for(let n=0;nCn||(uf.then(()=>Cn=0),Cn=Date.now());function ff(t,e){const s=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=s.attached)return;ht(pf(i,s.value),e,5,[i])};return s.value=t,s.attached=df(),s}function pf(t,e){if(le(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(i=>n=>!n._stopped&&i&&i(n))}else return e}const Lo=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,hf=(t,e,s,i,n,r)=>{const o=n==="svg";e==="class"?Qd(t,i,o):e==="style"?nf(t,s,i):Hi(e)?gr(e)||lf(t,e,s,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):mf(t,e,i,o))?(Mo(t,e,i),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&_o(t,e,i,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ze(i))?Mo(t,dt(e),i):(e==="true-value"?t._trueValue=i:e==="false-value"&&(t._falseValue=i),_o(t,e,i,o))};function mf(t,e,s,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in t&&Lo(e)&&ue(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=t.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return Lo(e)&&ze(s)?!1:e in t}const gf=["ctrl","shift","alt","meta"],vf={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>gf.some(s=>t[`${s}Key`]&&!e.includes(s))},wf=(t,e)=>{const s=t._withMods||(t._withMods={}),i=e.join(".");return s[i]||(s[i]=(n,...r)=>{for(let o=0;o{const e=yf().createApp(...t),{mount:s}=e;return e.mount=i=>{const n=xf(i);if(!n)return;const r=e._component;!ue(r)&&!r.render&&!r.template&&(r.template=n.innerHTML),n.nodeType===1&&(n.textContent="");const o=s(n,!1,Ef(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},e};function Ef(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function xf(t){return ze(t)?document.querySelector(t):t}var Tf=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Hl;const en=t=>Hl=t,Bl=Symbol();function Zn(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Ws;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Ws||(Ws={}));function Cf(){const t=Aa(!0),e=t.run(()=>Ot({}));let s=[],i=[];const n=Mr({install(r){en(n),n._a=r,r.provide(Bl,n),r.config.globalProperties.$pinia=n,i.forEach(o=>s.push(o)),i=[]},use(r){return!this._a&&!Tf?i.push(r):s.push(r),this},_p:s,_a:null,_e:t,_s:new Map,state:e});return n}const jl=()=>{};function Io(t,e,s,i=jl){t.push(e);const n=()=>{const r=t.indexOf(e);r>-1&&(t.splice(r,1),i())};return!s&&La()&&Jc(n),n}function vs(t,...e){t.slice().forEach(s=>{s(...e)})}const _f=t=>t();function Jn(t,e){t instanceof Map&&e instanceof Map&&e.forEach((s,i)=>t.set(i,s)),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const s in e){if(!e.hasOwnProperty(s))continue;const i=e[s],n=t[s];Zn(n)&&Zn(i)&&t.hasOwnProperty(s)&&!Ie(i)&&!Lt(i)?t[s]=Jn(n,i):t[s]=i}return t}const Mf=Symbol();function Pf(t){return!Zn(t)||!t.hasOwnProperty(Mf)}const{assign:Bt}=Object;function Af(t){return!!(Ie(t)&&t.effect)}function Lf(t,e,s,i){const{state:n,actions:r,getters:o}=e,l=s.state.value[t];let a;function d(){l||(s.state.value[t]=n?n():{});const c=Tu(s.state.value[t]);return Bt(c,r,Object.keys(o||{}).reduce((u,f)=>(u[f]=Mr(Ye(()=>{en(s);const p=s._s.get(t);return o[f].call(p,p)})),u),{}))}return a=ql(t,d,e,s,i,!0),a}function ql(t,e,s={},i,n,r){let o;const l=Bt({actions:{}},s),a={deep:!0};let d,c,u=[],f=[],p;const h=i.state.value[t];!r&&!h&&(i.state.value[t]={}),Ot({});let m;function v(P){let E;d=c=!1,typeof P=="function"?(P(i.state.value[t]),E={type:Ws.patchFunction,storeId:t,events:p}):(Jn(i.state.value[t],P),E={type:Ws.patchObject,payload:P,storeId:t,events:p});const M=m=Symbol();Ui().then(()=>{m===M&&(d=!0)}),c=!0,vs(u,E,i.state.value[t])}const b=r?function(){const{state:E}=s,M=E?E():{};this.$patch(z=>{Bt(z,M)})}:jl;function w(){o.stop(),u=[],f=[],i._s.delete(t)}function g(P,E){return function(){en(i);const M=Array.from(arguments),z=[],C=[];function _(H){z.push(H)}function R(H){C.push(H)}vs(f,{args:M,name:P,store:T,after:_,onError:R});let N;try{N=E.apply(this&&this.$id===t?this:T,M)}catch(H){throw vs(C,H),H}return N instanceof Promise?N.then(H=>(vs(z,H),H)).catch(H=>(vs(C,H),Promise.reject(H))):(vs(z,N),N)}}const y={_p:i,$id:t,$onAction:Io.bind(null,f),$patch:v,$reset:b,$subscribe(P,E={}){const M=Io(u,P,E.detached,()=>z()),z=o.run(()=>Et(()=>i.state.value[t],C=>{(E.flush==="sync"?c:d)&&P({storeId:t,type:Ws.direct,events:p},C)},Bt({},a,E)));return M},$dispose:w},T=ai(y);i._s.set(t,T);const L=(i._a&&i._a.runWithContext||_f)(()=>i._e.run(()=>(o=Aa()).run(e)));for(const P in L){const E=L[P];if(Ie(E)&&!Af(E)||Lt(E))r||(h&&Pf(E)&&(Ie(E)?E.value=h[P]:Jn(E,h[P])),i.state.value[t][P]=E);else if(typeof E=="function"){const M=g(P,E);L[P]=M,l.actions[P]=E}}return Bt(T,L),Bt(ge(T),L),Object.defineProperty(T,"$state",{get:()=>i.state.value[t],set:P=>{v(E=>{Bt(E,P)})}}),i._p.forEach(P=>{Bt(T,o.run(()=>P({store:T,app:i._a,pinia:i,options:l})))}),h&&r&&s.hydrate&&s.hydrate(T.$state,h),d=!0,c=!0,T}function Vl(t,e,s){let i,n;const r=typeof e=="function";typeof t=="string"?(i=t,n=r?s:e):(n=t,i=t.id);function o(l,a){const d=ad();return l=l||(d?ut(Bl,null):null),l&&en(l),l=Hl,l._s.has(i)||(r?ql(i,e,n,l):Lf(i,n,l)),l._s.get(i)}return o.$id=i,o}function Ro(t){{t=ge(t);const e={};for(const s in t){const i=t[s];(Ie(i)||Lt(i))&&(e[s]=Mu(t,s))}return e}}function Wl(t,e){return function(){return t.apply(e,arguments)}}const{toString:Of}=Object.prototype,{getPrototypeOf:kr}=Object,tn=(t=>e=>{const s=Of.call(e);return t[s]||(t[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),gt=t=>(t=t.toLowerCase(),e=>tn(e)===t),sn=t=>e=>typeof e===t,{isArray:As}=Array,ii=sn("undefined");function If(t){return t!==null&&!ii(t)&&t.constructor!==null&&!ii(t.constructor)&&ot(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Gl=gt("ArrayBuffer");function Rf(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Gl(t.buffer),e}const zf=sn("string"),ot=sn("function"),Ul=sn("number"),nn=t=>t!==null&&typeof t=="object",kf=t=>t===!0||t===!1,Ti=t=>{if(tn(t)!=="object")return!1;const e=kr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Df=gt("Date"),$f=gt("File"),Nf=gt("Blob"),Ff=gt("FileList"),Hf=t=>nn(t)&&ot(t.pipe),Bf=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ot(t.append)&&((e=tn(t))==="formdata"||e==="object"&&ot(t.toString)&&t.toString()==="[object FormData]"))},jf=gt("URLSearchParams"),[qf,Vf,Wf,Gf]=["ReadableStream","Request","Response","Headers"].map(gt),Uf=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function di(t,e,{allOwnKeys:s=!1}={}){if(t===null||typeof t>"u")return;let i,n;if(typeof t!="object"&&(t=[t]),As(t))for(i=0,n=t.length;i0;)if(n=s[i],e===n.toLowerCase())return n;return null}const os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Yl=t=>!ii(t)&&t!==os;function Qn(){const{caseless:t}=Yl(this)&&this||{},e={},s=(i,n)=>{const r=t&&Xl(e,n)||n;Ti(e[r])&&Ti(i)?e[r]=Qn(e[r],i):Ti(i)?e[r]=Qn({},i):As(i)?e[r]=i.slice():e[r]=i};for(let i=0,n=arguments.length;i(di(e,(n,r)=>{s&&ot(n)?t[r]=Wl(n,s):t[r]=n},{allOwnKeys:i}),t),Yf=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Kf=(t,e,s,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),s&&Object.assign(t.prototype,s)},Zf=(t,e,s,i)=>{let n,r,o;const l={};if(e=e||{},t==null)return e;do{for(n=Object.getOwnPropertyNames(t),r=n.length;r-- >0;)o=n[r],(!i||i(o,t,e))&&!l[o]&&(e[o]=t[o],l[o]=!0);t=s!==!1&&kr(t)}while(t&&(!s||s(t,e))&&t!==Object.prototype);return e},Jf=(t,e,s)=>{t=String(t),(s===void 0||s>t.length)&&(s=t.length),s-=e.length;const i=t.indexOf(e,s);return i!==-1&&i===s},Qf=t=>{if(!t)return null;if(As(t))return t;let e=t.length;if(!Ul(e))return null;const s=new Array(e);for(;e-- >0;)s[e]=t[e];return s},ep=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&kr(Uint8Array)),tp=(t,e)=>{const i=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=i.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},sp=(t,e)=>{let s;const i=[];for(;(s=t.exec(e))!==null;)i.push(s);return i},ip=gt("HTMLFormElement"),np=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,i,n){return i.toUpperCase()+n}),zo=(({hasOwnProperty:t})=>(e,s)=>t.call(e,s))(Object.prototype),rp=gt("RegExp"),Kl=(t,e)=>{const s=Object.getOwnPropertyDescriptors(t),i={};di(s,(n,r)=>{let o;(o=e(n,r,t))!==!1&&(i[r]=o||n)}),Object.defineProperties(t,i)},op=t=>{Kl(t,(e,s)=>{if(ot(t)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const i=t[s];if(ot(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},ap=(t,e)=>{const s={},i=n=>{n.forEach(r=>{s[r]=!0})};return As(t)?i(t):i(String(t).split(e)),s},lp=()=>{},cp=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,_n="abcdefghijklmnopqrstuvwxyz",ko="0123456789",Zl={DIGIT:ko,ALPHA:_n,ALPHA_DIGIT:_n+_n.toUpperCase()+ko},up=(t=16,e=Zl.ALPHA_DIGIT)=>{let s="";const{length:i}=e;for(;t--;)s+=e[Math.random()*i|0];return s};function dp(t){return!!(t&&ot(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const fp=t=>{const e=new Array(10),s=(i,n)=>{if(nn(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[n]=i;const r=As(i)?[]:{};return di(i,(o,l)=>{const a=s(o,n+1);!ii(a)&&(r[l]=a)}),e[n]=void 0,r}}return i};return s(t,0)},pp=gt("AsyncFunction"),hp=t=>t&&(nn(t)||ot(t))&&ot(t.then)&&ot(t.catch),Jl=((t,e)=>t?setImmediate:e?((s,i)=>(os.addEventListener("message",({source:n,data:r})=>{n===os&&r===s&&i.length&&i.shift()()},!1),n=>{i.push(n),os.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",ot(os.postMessage)),mp=typeof queueMicrotask<"u"?queueMicrotask.bind(os):typeof process<"u"&&process.nextTick||Jl,D={isArray:As,isArrayBuffer:Gl,isBuffer:If,isFormData:Bf,isArrayBufferView:Rf,isString:zf,isNumber:Ul,isBoolean:kf,isObject:nn,isPlainObject:Ti,isReadableStream:qf,isRequest:Vf,isResponse:Wf,isHeaders:Gf,isUndefined:ii,isDate:Df,isFile:$f,isBlob:Nf,isRegExp:rp,isFunction:ot,isStream:Hf,isURLSearchParams:jf,isTypedArray:ep,isFileList:Ff,forEach:di,merge:Qn,extend:Xf,trim:Uf,stripBOM:Yf,inherits:Kf,toFlatObject:Zf,kindOf:tn,kindOfTest:gt,endsWith:Jf,toArray:Qf,forEachEntry:tp,matchAll:sp,isHTMLForm:ip,hasOwnProperty:zo,hasOwnProp:zo,reduceDescriptors:Kl,freezeMethods:op,toObjectSet:ap,toCamelCase:np,noop:lp,toFiniteNumber:cp,findKey:Xl,global:os,isContextDefined:Yl,ALPHABET:Zl,generateString:up,isSpecCompliantForm:dp,toJSONObject:fp,isAsyncFn:pp,isThenable:hp,setImmediate:Jl,asap:mp};function fe(t,e,s,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),s&&(this.config=s),i&&(this.request=i),n&&(this.response=n,this.status=n.status?n.status:null)}D.inherits(fe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:D.toJSONObject(this.config),code:this.code,status:this.status}}});const Ql=fe.prototype,ec={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ec[t]={value:t}});Object.defineProperties(fe,ec);Object.defineProperty(Ql,"isAxiosError",{value:!0});fe.from=(t,e,s,i,n,r)=>{const o=Object.create(Ql);return D.toFlatObject(t,o,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),fe.call(o,t.message,e,s,i,n),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const gp=null;function er(t){return D.isPlainObject(t)||D.isArray(t)}function tc(t){return D.endsWith(t,"[]")?t.slice(0,-2):t}function Do(t,e,s){return t?t.concat(e).map(function(n,r){return n=tc(n),!s&&r?"["+n+"]":n}).join(s?".":""):e}function vp(t){return D.isArray(t)&&!t.some(er)}const wp=D.toFlatObject(D,{},null,function(e){return/^is[A-Z]/.test(e)});function rn(t,e,s){if(!D.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,s=D.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!D.isUndefined(v[m])});const i=s.metaTokens,n=s.visitor||c,r=s.dots,o=s.indexes,a=(s.Blob||typeof Blob<"u"&&Blob)&&D.isSpecCompliantForm(e);if(!D.isFunction(n))throw new TypeError("visitor must be a function");function d(h){if(h===null)return"";if(D.isDate(h))return h.toISOString();if(!a&&D.isBlob(h))throw new fe("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(h)||D.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,m,v){let b=h;if(h&&!v&&typeof h=="object"){if(D.endsWith(m,"{}"))m=i?m:m.slice(0,-2),h=JSON.stringify(h);else if(D.isArray(h)&&vp(h)||(D.isFileList(h)||D.endsWith(m,"[]"))&&(b=D.toArray(h)))return m=tc(m),b.forEach(function(g,y){!(D.isUndefined(g)||g===null)&&e.append(o===!0?Do([m],y,r):o===null?m:m+"[]",d(g))}),!1}return er(h)?!0:(e.append(Do(v,m,r),d(h)),!1)}const u=[],f=Object.assign(wp,{defaultVisitor:c,convertValue:d,isVisitable:er});function p(h,m){if(!D.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));u.push(h),D.forEach(h,function(b,w){(!(D.isUndefined(b)||b===null)&&n.call(e,b,D.isString(w)?w.trim():w,m,f))===!0&&p(b,m?m.concat(w):[w])}),u.pop()}}if(!D.isObject(t))throw new TypeError("data must be an object");return p(t),e}function $o(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function Dr(t,e){this._pairs=[],t&&rn(t,this,e)}const sc=Dr.prototype;sc.append=function(e,s){this._pairs.push([e,s])};sc.toString=function(e){const s=e?function(i){return e.call(this,i,$o)}:$o;return this._pairs.map(function(n){return s(n[0])+"="+s(n[1])},"").join("&")};function bp(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ic(t,e,s){if(!e)return t;const i=s&&s.encode||bp,n=s&&s.serialize;let r;if(n?r=n(e,s):r=D.isURLSearchParams(e)?e.toString():new Dr(e,s).toString(i),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class No{constructor(){this.handlers=[]}use(e,s,i){return this.handlers.push({fulfilled:e,rejected:s,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){D.forEach(this.handlers,function(i){i!==null&&e(i)})}}const nc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yp=typeof URLSearchParams<"u"?URLSearchParams:Dr,Sp=typeof FormData<"u"?FormData:null,Ep=typeof Blob<"u"?Blob:null,xp={isBrowser:!0,classes:{URLSearchParams:yp,FormData:Sp,Blob:Ep},protocols:["http","https","file","blob","url","data"]},$r=typeof window<"u"&&typeof document<"u",tr=typeof navigator=="object"&&navigator||void 0,Tp=$r&&(!tr||["ReactNative","NativeScript","NS"].indexOf(tr.product)<0),Cp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",_p=$r&&window.location.href||"http://localhost",Mp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$r,hasStandardBrowserEnv:Tp,hasStandardBrowserWebWorkerEnv:Cp,navigator:tr,origin:_p},Symbol.toStringTag,{value:"Module"})),Ke={...Mp,...xp};function Pp(t,e){return rn(t,new Ke.classes.URLSearchParams,Object.assign({visitor:function(s,i,n,r){return Ke.isNode&&D.isBuffer(s)?(this.append(i,s.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function Ap(t){return D.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Lp(t){const e={},s=Object.keys(t);let i;const n=s.length;let r;for(i=0;i=s.length;return o=!o&&D.isArray(n)?n.length:o,a?(D.hasOwnProp(n,o)?n[o]=[n[o],i]:n[o]=i,!l):((!n[o]||!D.isObject(n[o]))&&(n[o]=[]),e(s,i,n[o],r)&&D.isArray(n[o])&&(n[o]=Lp(n[o])),!l)}if(D.isFormData(t)&&D.isFunction(t.entries)){const s={};return D.forEachEntry(t,(i,n)=>{e(Ap(i),n,s,0)}),s}return null}function Op(t,e,s){if(D.isString(t))try{return(e||JSON.parse)(t),D.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(t)}const fi={transitional:nc,adapter:["xhr","http","fetch"],transformRequest:[function(e,s){const i=s.getContentType()||"",n=i.indexOf("application/json")>-1,r=D.isObject(e);if(r&&D.isHTMLForm(e)&&(e=new FormData(e)),D.isFormData(e))return n?JSON.stringify(rc(e)):e;if(D.isArrayBuffer(e)||D.isBuffer(e)||D.isStream(e)||D.isFile(e)||D.isBlob(e)||D.isReadableStream(e))return e;if(D.isArrayBufferView(e))return e.buffer;if(D.isURLSearchParams(e))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(r){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Pp(e,this.formSerializer).toString();if((l=D.isFileList(e))||i.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return rn(l?{"files[]":e}:e,a&&new a,this.formSerializer)}}return r||n?(s.setContentType("application/json",!1),Op(e)):e}],transformResponse:[function(e){const s=this.transitional||fi.transitional,i=s&&s.forcedJSONParsing,n=this.responseType==="json";if(D.isResponse(e)||D.isReadableStream(e))return e;if(e&&D.isString(e)&&(i&&!this.responseType||n)){const o=!(s&&s.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(l){if(o)throw l.name==="SyntaxError"?fe.from(l,fe.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch"],t=>{fi.headers[t]={}});const Ip=D.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Rp=t=>{const e={};let s,i,n;return t&&t.split(` +`).forEach(function(o){n=o.indexOf(":"),s=o.substring(0,n).trim().toLowerCase(),i=o.substring(n+1).trim(),!(!s||e[s]&&Ip[s])&&(s==="set-cookie"?e[s]?e[s].push(i):e[s]=[i]:e[s]=e[s]?e[s]+", "+i:i)}),e},Fo=Symbol("internals");function Ds(t){return t&&String(t).trim().toLowerCase()}function Ci(t){return t===!1||t==null?t:D.isArray(t)?t.map(Ci):String(t)}function zp(t){const e=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=s.exec(t);)e[i[1]]=i[2];return e}const kp=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Mn(t,e,s,i,n){if(D.isFunction(i))return i.call(this,e,s);if(n&&(e=s),!!D.isString(e)){if(D.isString(i))return e.indexOf(i)!==-1;if(D.isRegExp(i))return i.test(e)}}function Dp(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,s,i)=>s.toUpperCase()+i)}function $p(t,e){const s=D.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+s,{value:function(n,r,o){return this[i].call(this,e,n,r,o)},configurable:!0})})}class Ze{constructor(e){e&&this.set(e)}set(e,s,i){const n=this;function r(l,a,d){const c=Ds(a);if(!c)throw new Error("header name must be a non-empty string");const u=D.findKey(n,c);(!u||n[u]===void 0||d===!0||d===void 0&&n[u]!==!1)&&(n[u||a]=Ci(l))}const o=(l,a)=>D.forEach(l,(d,c)=>r(d,c,a));if(D.isPlainObject(e)||e instanceof this.constructor)o(e,s);else if(D.isString(e)&&(e=e.trim())&&!kp(e))o(Rp(e),s);else if(D.isHeaders(e))for(const[l,a]of e.entries())r(a,l,i);else e!=null&&r(s,e,i);return this}get(e,s){if(e=Ds(e),e){const i=D.findKey(this,e);if(i){const n=this[i];if(!s)return n;if(s===!0)return zp(n);if(D.isFunction(s))return s.call(this,n,i);if(D.isRegExp(s))return s.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,s){if(e=Ds(e),e){const i=D.findKey(this,e);return!!(i&&this[i]!==void 0&&(!s||Mn(this,this[i],i,s)))}return!1}delete(e,s){const i=this;let n=!1;function r(o){if(o=Ds(o),o){const l=D.findKey(i,o);l&&(!s||Mn(i,i[l],l,s))&&(delete i[l],n=!0)}}return D.isArray(e)?e.forEach(r):r(e),n}clear(e){const s=Object.keys(this);let i=s.length,n=!1;for(;i--;){const r=s[i];(!e||Mn(this,this[r],r,e,!0))&&(delete this[r],n=!0)}return n}normalize(e){const s=this,i={};return D.forEach(this,(n,r)=>{const o=D.findKey(i,r);if(o){s[o]=Ci(n),delete s[r];return}const l=e?Dp(r):String(r).trim();l!==r&&delete s[r],s[l]=Ci(n),i[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const s=Object.create(null);return D.forEach(this,(i,n)=>{i!=null&&i!==!1&&(s[n]=e&&D.isArray(i)?i.join(", "):i)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,s])=>e+": "+s).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...s){const i=new this(e);return s.forEach(n=>i.set(n)),i}static accessor(e){const i=(this[Fo]=this[Fo]={accessors:{}}).accessors,n=this.prototype;function r(o){const l=Ds(o);i[l]||($p(n,o),i[l]=!0)}return D.isArray(e)?e.forEach(r):r(e),this}}Ze.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);D.reduceDescriptors(Ze.prototype,({value:t},e)=>{let s=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[s]=i}}});D.freezeMethods(Ze);function Pn(t,e){const s=this||fi,i=e||s,n=Ze.from(i.headers);let r=i.data;return D.forEach(t,function(l){r=l.call(s,r,n.normalize(),e?e.status:void 0)}),n.normalize(),r}function oc(t){return!!(t&&t.__CANCEL__)}function Ls(t,e,s){fe.call(this,t??"canceled",fe.ERR_CANCELED,e,s),this.name="CanceledError"}D.inherits(Ls,fe,{__CANCEL__:!0});function ac(t,e,s){const i=s.config.validateStatus;!s.status||!i||i(s.status)?t(s):e(new fe("Request failed with status code "+s.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function Np(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Fp(t,e){t=t||10;const s=new Array(t),i=new Array(t);let n=0,r=0,o;return e=e!==void 0?e:1e3,function(a){const d=Date.now(),c=i[r];o||(o=d),s[n]=a,i[n]=d;let u=r,f=0;for(;u!==n;)f+=s[u++],u=u%t;if(n=(n+1)%t,n===r&&(r=(r+1)%t),d-o{s=c,n=null,r&&(clearTimeout(r),r=null),t.apply(null,d)};return[(...d)=>{const c=Date.now(),u=c-s;u>=i?o(d,c):(n=d,r||(r=setTimeout(()=>{r=null,o(n)},i-u)))},()=>n&&o(n)]}const Di=(t,e,s=3)=>{let i=0;const n=Fp(50,250);return Hp(r=>{const o=r.loaded,l=r.lengthComputable?r.total:void 0,a=o-i,d=n(a),c=o<=l;i=o;const u={loaded:o,total:l,progress:l?o/l:void 0,bytes:a,rate:d||void 0,estimated:d&&l&&c?(l-o)/d:void 0,event:r,lengthComputable:l!=null,[e?"download":"upload"]:!0};t(u)},s)},Ho=(t,e)=>{const s=t!=null;return[i=>e[0]({lengthComputable:s,total:t,loaded:i}),e[1]]},Bo=t=>(...e)=>D.asap(()=>t(...e)),Bp=Ke.hasStandardBrowserEnv?function(){const e=Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent),s=document.createElement("a");let i;function n(r){let o=r;return e&&(s.setAttribute("href",o),o=s.href),s.setAttribute("href",o),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return i=n(window.location.href),function(o){const l=D.isString(o)?n(o):o;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),jp=Ke.hasStandardBrowserEnv?{write(t,e,s,i,n,r){const o=[t+"="+encodeURIComponent(e)];D.isNumber(s)&&o.push("expires="+new Date(s).toGMTString()),D.isString(i)&&o.push("path="+i),D.isString(n)&&o.push("domain="+n),r===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function qp(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Vp(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function lc(t,e){return t&&!qp(e)?Vp(t,e):e}const jo=t=>t instanceof Ze?{...t}:t;function fs(t,e){e=e||{};const s={};function i(d,c,u){return D.isPlainObject(d)&&D.isPlainObject(c)?D.merge.call({caseless:u},d,c):D.isPlainObject(c)?D.merge({},c):D.isArray(c)?c.slice():c}function n(d,c,u){if(D.isUndefined(c)){if(!D.isUndefined(d))return i(void 0,d,u)}else return i(d,c,u)}function r(d,c){if(!D.isUndefined(c))return i(void 0,c)}function o(d,c){if(D.isUndefined(c)){if(!D.isUndefined(d))return i(void 0,d)}else return i(void 0,c)}function l(d,c,u){if(u in e)return i(d,c);if(u in t)return i(void 0,d)}const a={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(d,c)=>n(jo(d),jo(c),!0)};return D.forEach(Object.keys(Object.assign({},t,e)),function(c){const u=a[c]||n,f=u(t[c],e[c],c);D.isUndefined(f)&&u!==l||(s[c]=f)}),s}const cc=t=>{const e=fs({},t);let{data:s,withXSRFToken:i,xsrfHeaderName:n,xsrfCookieName:r,headers:o,auth:l}=e;e.headers=o=Ze.from(o),e.url=ic(lc(e.baseURL,e.url),t.params,t.paramsSerializer),l&&o.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let a;if(D.isFormData(s)){if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((a=o.getContentType())!==!1){const[d,...c]=a?a.split(";").map(u=>u.trim()).filter(Boolean):[];o.setContentType([d||"multipart/form-data",...c].join("; "))}}if(Ke.hasStandardBrowserEnv&&(i&&D.isFunction(i)&&(i=i(e)),i||i!==!1&&Bp(e.url))){const d=n&&r&&jp.read(r);d&&o.set(n,d)}return e},Wp=typeof XMLHttpRequest<"u",Gp=Wp&&function(t){return new Promise(function(s,i){const n=cc(t);let r=n.data;const o=Ze.from(n.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:d}=n,c,u,f,p,h;function m(){p&&p(),h&&h(),n.cancelToken&&n.cancelToken.unsubscribe(c),n.signal&&n.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(n.method.toUpperCase(),n.url,!0),v.timeout=n.timeout;function b(){if(!v)return;const g=Ze.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),T={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:g,config:t,request:v};ac(function(L){s(L),m()},function(L){i(L),m()},T),v=null}"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(b)},v.onabort=function(){v&&(i(new fe("Request aborted",fe.ECONNABORTED,t,v)),v=null)},v.onerror=function(){i(new fe("Network Error",fe.ERR_NETWORK,t,v)),v=null},v.ontimeout=function(){let y=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const T=n.transitional||nc;n.timeoutErrorMessage&&(y=n.timeoutErrorMessage),i(new fe(y,T.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,t,v)),v=null},r===void 0&&o.setContentType(null),"setRequestHeader"in v&&D.forEach(o.toJSON(),function(y,T){v.setRequestHeader(T,y)}),D.isUndefined(n.withCredentials)||(v.withCredentials=!!n.withCredentials),l&&l!=="json"&&(v.responseType=n.responseType),d&&([f,h]=Di(d,!0),v.addEventListener("progress",f)),a&&v.upload&&([u,p]=Di(a),v.upload.addEventListener("progress",u),v.upload.addEventListener("loadend",p)),(n.cancelToken||n.signal)&&(c=g=>{v&&(i(!g||g.type?new Ls(null,t,v):g),v.abort(),v=null)},n.cancelToken&&n.cancelToken.subscribe(c),n.signal&&(n.signal.aborted?c():n.signal.addEventListener("abort",c)));const w=Np(n.url);if(w&&Ke.protocols.indexOf(w)===-1){i(new fe("Unsupported protocol "+w+":",fe.ERR_BAD_REQUEST,t));return}v.send(r||null)})},Up=(t,e)=>{const{length:s}=t=t?t.filter(Boolean):[];if(e||s){let i=new AbortController,n;const r=function(d){if(!n){n=!0,l();const c=d instanceof Error?d:this.reason;i.abort(c instanceof fe?c:new Ls(c instanceof Error?c.message:c))}};let o=e&&setTimeout(()=>{o=null,r(new fe(`timeout ${e} of ms exceeded`,fe.ETIMEDOUT))},e);const l=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(d=>{d.unsubscribe?d.unsubscribe(r):d.removeEventListener("abort",r)}),t=null)};t.forEach(d=>d.addEventListener("abort",r));const{signal:a}=i;return a.unsubscribe=()=>D.asap(l),a}},Xp=function*(t,e){let s=t.byteLength;if(s{const n=Yp(t,e);let r=0,o,l=a=>{o||(o=!0,i&&i(a))};return new ReadableStream({async pull(a){try{const{done:d,value:c}=await n.next();if(d){l(),a.close();return}let u=c.byteLength;if(s){let f=r+=u;s(f)}a.enqueue(new Uint8Array(c))}catch(d){throw l(d),d}},cancel(a){return l(a),n.return()}},{highWaterMark:2})},on=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",uc=on&&typeof ReadableStream=="function",Zp=on&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),dc=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Jp=uc&&dc(()=>{let t=!1;const e=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Vo=64*1024,sr=uc&&dc(()=>D.isReadableStream(new Response("").body)),$i={stream:sr&&(t=>t.body)};on&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!$i[e]&&($i[e]=D.isFunction(t[e])?s=>s[e]():(s,i)=>{throw new fe(`Response type '${e}' is not supported`,fe.ERR_NOT_SUPPORT,i)})})})(new Response);const Qp=async t=>{if(t==null)return 0;if(D.isBlob(t))return t.size;if(D.isSpecCompliantForm(t))return(await new Request(Ke.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(D.isArrayBufferView(t)||D.isArrayBuffer(t))return t.byteLength;if(D.isURLSearchParams(t)&&(t=t+""),D.isString(t))return(await Zp(t)).byteLength},eh=async(t,e)=>{const s=D.toFiniteNumber(t.getContentLength());return s??Qp(e)},th=on&&(async t=>{let{url:e,method:s,data:i,signal:n,cancelToken:r,timeout:o,onDownloadProgress:l,onUploadProgress:a,responseType:d,headers:c,withCredentials:u="same-origin",fetchOptions:f}=cc(t);d=d?(d+"").toLowerCase():"text";let p=Up([n,r&&r.toAbortSignal()],o),h;const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let v;try{if(a&&Jp&&s!=="get"&&s!=="head"&&(v=await eh(c,i))!==0){let T=new Request(e,{method:"POST",body:i,duplex:"half"}),A;if(D.isFormData(i)&&(A=T.headers.get("content-type"))&&c.setContentType(A),T.body){const[L,P]=Ho(v,Di(Bo(a)));i=qo(T.body,Vo,L,P)}}D.isString(u)||(u=u?"include":"omit");const b="credentials"in Request.prototype;h=new Request(e,{...f,signal:p,method:s.toUpperCase(),headers:c.normalize().toJSON(),body:i,duplex:"half",credentials:b?u:void 0});let w=await fetch(h);const g=sr&&(d==="stream"||d==="response");if(sr&&(l||g&&m)){const T={};["status","statusText","headers"].forEach(E=>{T[E]=w[E]});const A=D.toFiniteNumber(w.headers.get("content-length")),[L,P]=l&&Ho(A,Di(Bo(l),!0))||[];w=new Response(qo(w.body,Vo,L,()=>{P&&P(),m&&m()}),T)}d=d||"text";let y=await $i[D.findKey($i,d)||"text"](w,t);return!g&&m&&m(),await new Promise((T,A)=>{ac(T,A,{data:y,headers:Ze.from(w.headers),status:w.status,statusText:w.statusText,config:t,request:h})})}catch(b){throw m&&m(),b&&b.name==="TypeError"&&/fetch/i.test(b.message)?Object.assign(new fe("Network Error",fe.ERR_NETWORK,t,h),{cause:b.cause||b}):fe.from(b,b&&b.code,t,h)}}),ir={http:gp,xhr:Gp,fetch:th};D.forEach(ir,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Wo=t=>`- ${t}`,sh=t=>D.isFunction(t)||t===null||t===!1,fc={getAdapter:t=>{t=D.isArray(t)?t:[t];const{length:e}=t;let s,i;const n={};for(let r=0;r`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=e?r.length>1?`since : +`+r.map(Wo).join(` +`):" "+Wo(r[0]):"as no adapter specified";throw new fe("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return i},adapters:ir};function An(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ls(null,t)}function Go(t){return An(t),t.headers=Ze.from(t.headers),t.data=Pn.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),fc.getAdapter(t.adapter||fi.adapter)(t).then(function(i){return An(t),i.data=Pn.call(t,t.transformResponse,i),i.headers=Ze.from(i.headers),i},function(i){return oc(i)||(An(t),i&&i.response&&(i.response.data=Pn.call(t,t.transformResponse,i.response),i.response.headers=Ze.from(i.response.headers))),Promise.reject(i)})}const pc="1.7.7",Nr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Nr[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const Uo={};Nr.transitional=function(e,s,i){function n(r,o){return"[Axios v"+pc+"] Transitional option '"+r+"'"+o+(i?". "+i:"")}return(r,o,l)=>{if(e===!1)throw new fe(n(o," has been removed"+(s?" in "+s:"")),fe.ERR_DEPRECATED);return s&&!Uo[o]&&(Uo[o]=!0,console.warn(n(o," has been deprecated since v"+s+" and will be removed in the near future"))),e?e(r,o,l):!0}};function ih(t,e,s){if(typeof t!="object")throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let n=i.length;for(;n-- >0;){const r=i[n],o=e[r];if(o){const l=t[r],a=l===void 0||o(l,r,t);if(a!==!0)throw new fe("option "+r+" must be "+a,fe.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new fe("Unknown option "+r,fe.ERR_BAD_OPTION)}}const nr={assertOptions:ih,validators:Nr},Nt=nr.validators;class cs{constructor(e){this.defaults=e,this.interceptors={request:new No,response:new No}}async request(e,s){try{return await this._request(e,s)}catch(i){if(i instanceof Error){let n;Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error;const r=n.stack?n.stack.replace(/^.+\n/,""):"";try{i.stack?r&&!String(i.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(i.stack+=` +`+r):i.stack=r}catch{}}throw i}}_request(e,s){typeof e=="string"?(s=s||{},s.url=e):s=e||{},s=fs(this.defaults,s);const{transitional:i,paramsSerializer:n,headers:r}=s;i!==void 0&&nr.assertOptions(i,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean)},!1),n!=null&&(D.isFunction(n)?s.paramsSerializer={serialize:n}:nr.assertOptions(n,{encode:Nt.function,serialize:Nt.function},!0)),s.method=(s.method||this.defaults.method||"get").toLowerCase();let o=r&&D.merge(r.common,r[s.method]);r&&D.forEach(["delete","get","head","post","put","patch","common"],h=>{delete r[h]}),s.headers=Ze.concat(o,r);const l=[];let a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(s)===!1||(a=a&&m.synchronous,l.unshift(m.fulfilled,m.rejected))});const d=[];this.interceptors.response.forEach(function(m){d.push(m.fulfilled,m.rejected)});let c,u=0,f;if(!a){const h=[Go.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,d),f=h.length,c=Promise.resolve(s);u{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](n);i._listeners=null}),this.promise.then=n=>{let r;const o=new Promise(l=>{i.subscribe(l),r=l}).then(n);return o.cancel=function(){i.unsubscribe(r)},o},e(function(r,o,l){i.reason||(i.reason=new Ls(r,o,l),s(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const s=this._listeners.indexOf(e);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const e=new AbortController,s=i=>{e.abort(i)};return this.subscribe(s),e.signal.unsubscribe=()=>this.unsubscribe(s),e.signal}static source(){let e;return{token:new Fr(function(n){e=n}),cancel:e}}}function nh(t){return function(s){return t.apply(null,s)}}function rh(t){return D.isObject(t)&&t.isAxiosError===!0}const rr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(rr).forEach(([t,e])=>{rr[e]=t});function hc(t){const e=new cs(t),s=Wl(cs.prototype.request,e);return D.extend(s,cs.prototype,e,{allOwnKeys:!0}),D.extend(s,e,null,{allOwnKeys:!0}),s.create=function(n){return hc(fs(t,n))},s}const ke=hc(fi);ke.Axios=cs;ke.CanceledError=Ls;ke.CancelToken=Fr;ke.isCancel=oc;ke.VERSION=pc;ke.toFormData=rn;ke.AxiosError=fe;ke.Cancel=ke.CanceledError;ke.all=function(e){return Promise.all(e)};ke.spread=nh;ke.isAxiosError=rh;ke.mergeConfig=fs;ke.AxiosHeaders=Ze;ke.formToJSON=t=>rc(D.isHTMLForm(t)?new FormData(t):t);ke.getAdapter=fc.getAdapter;ke.HttpStatusCode=rr;ke.default=ke;const Fs=ke.create({baseURL:`${window.location.origin}`,withCredentials:!0,headers:{"Content-Type":"application/json"}});Fs.interceptors.response.use(t=>Promise.resolve(t),t=>{const{status:e}=t.response;return console.warn("error in rest-axios",e),Promise.reject(t)});const Hr=Vl("content",{state:()=>({href:"",map:{},etape:{title:"",adresse:{},coordinates:{},etape_number:"",vignette:{},couleur:"",previous:{},next:{},dates:{start:{d:"",m:"",y:""},end:{d:"",m:"",y:""}},parties:[]},page:{title:"",vignette:{},parties:[]},loading:!1,error:null}),actions:{async fetchEtapeData(t,e){var s,i;this.resetStore(),this.map=e;try{const n=await Fs.get("/jsonapi/node/etape/");for(let r of n.data.data)if(r.attributes.drupal_internal__nid==t){for(let d of r.attributes.metatag)d.tag==="link"&&(this.href=d.attributes.href);this.etape.coordinates={lat:r.attributes.field_geofield.lat,lon:r.attributes.field_geofield.lon},this.etape.title=r.attributes.title,this.etape.adresse=r.attributes.field_adresse,this.etape.etape_number=r.attributes.field_arret_numero;const o=await this.fetchContent("field_vignette",r.relationships);o&&(this.etape.vignette={url:o.attributes.uri.url,alt:r.relationships.field_vignette.data.meta.alt}),this.etape.couleur=r.attributes.field_couleur,this.etape.dates={start:this.getCleanDate(r.attributes.field_dates.value),end:this.getCleanDate(r.attributes.field_dates.end_value)};const l=await this.fetchContent("field_parties",r.relationships);if(l){this.etape.parties=[];for(let d of l){const c=d.type.replace(/^paragraph--/,"");let u={type:c};switch(c){case"carte_sensible":const f=await this.fetchContent("field_image_carte",d.relationships);f&&(u.carteSensible={url:f.attributes.uri.url,alt:d.relationships.field_image_carte.data.meta.alt});break;case"titre_texte":u.titre=d.attributes.field_titre,u.texte=d.attributes.field_texte.value;break;case"chiffres_cles":const p=await this.fetchContent("field_chiffres_clefs",d.relationships);if(p){u.chiffresCles=[];for(let b of p)u.chiffresCles.push({chiffre:b.attributes.field_chiffre,description:b.attributes.field_description})}break;case"diaporama":const h=await this.fetchContent("field_diaporama",d.relationships);if(h){u.diaporama=[];for(let[b,w]of h.entries())u.diaporama.push({url:w.attributes.uri.url,alt:d.relationships.field_diaporama.data[b].meta.alt})}break;case"entretien":u.entretien={};const m=await this.fetchContent("field_personne_s",d.relationships),v=await this.fetchContent("field_questions_reponses",d.relationships);if(m&&v){u.entretien.personnes=[];for(let b of m){const w=await this.fetchContent("field_portrait",b.relationships);w&&u.entretien.personnes.push({portrait:w.attributes.uri.url,alt:b.relationships.field_portrait.data.meta.alt,description:b.attributes.field_description})}u.entretien.questionsReponses=[];for(let b of v)u.entretien.questionsReponses.push({question:b.attributes.field_question,reponse:b.attributes.field_reponse.value})}break;case"exergue":u.exergue=d.attributes.field_texte_exergue.value;break;case"video":u.videos=[];for(let b of d.attributes.field_videos){const g=`https://www.youtube.com/embed/${b.split("?v=")[1]}`;u.videos.push(g)}break}this.etape.parties.push(u)}}const a=document.querySelectorAll("#etapes-liste li");if(a){const d=async(c,u,f)=>{for(let p of u)if(p.attributes.drupal_internal__nid==c){const h=await Fs.get(p.relationships.field_vignette.links.related.href);this.etape[f]={nid:p.attributes.drupal_internal__nid,couleur:p.attributes.field_couleur,title:p.attributes.title,postalCode:p.attributes.field_adresse.postal_code,dates:{start:this.getCleanDate(p.attributes.field_dates.value),end:this.getCleanDate(p.attributes.field_dates.end_value)},vignette:{url:h.data.data.attributes.uri.url,alt:p.relationships.field_vignette.data.meta.alt}};break}};for(let c of a)if(c.querySelector("a").dataset.nodeNid==t){const u=(s=c.previousElementSibling)==null?void 0:s.querySelector("a").dataset.nodeNid,f=(i=c.nextElementSibling)==null?void 0:i.querySelector("a").dataset.nodeNid;u&&await d(u,n.data.data,"previous"),f&&await d(f,n.data.data,"next")}}break}this.setActiveItemInMenu(t)}catch(n){this.error="Failed to fetch data",console.error("Issue with getNodeData",n)}finally{this.loading=!1}},async fetchStaticData(t,e){this.resetStore(),this.map=e;try{const s=await Fs.get("/jsonapi/node/static/");for(let i of s.data.data)if(i.attributes.drupal_internal__nid==t){for(let o of i.attributes.metatag)o.tag==="link"&&(this.href=o.attributes.href);this.page.title=i.attributes.title;const n=await this.fetchContent("field_vignette",i.relationships);n&&(this.page.vignette={url:n.attributes.uri.url,alt:i.relationships.field_vignette.data.meta.alt});const r=await this.fetchContent("field_parties_static",i.relationships);if(r){this.page.parties=[];for(let o of r){const l=o.type.replace(/^paragraph--/,"");let a={type:l};switch(l){case"titre_texte":a.titre=o.attributes.field_titre,a.texte=o.attributes.field_texte.value;break;case"diaporama":const d=await this.fetchContent("field_diaporama",o.relationships);if(d){a.diaporama=[];for(let[c,u]of d.entries())a.diaporama.push({url:u.attributes.uri.url,alt:o.relationships.field_diaporama.data[c].meta.alt})}break;case"exergue":a.exergue=o.attributes.field_texte_exergue.value;break;case"video":a.videos=[];for(let c of o.attributes.field_videos){const f=`https://www.youtube.com/embed/${c.split("?v=")[1]}`;a.videos.push(f)}break}this.page.parties.push(a)}}}this.setActiveItemInMenu(t)}catch(s){this.error="Failed to fetch data",console.error("Issue with getNodeData",s)}finally{this.loading=!1}},async fetchContent(t,e){if(e[t].data)try{const s=e[t].links.related.href;return(await Fs.get(s)).data.data}catch(s){this.error="Failed to fetch data",console.error("Issue with getNodeData",s)}},emptyAll(t,e){this.href="",this.map=e,this.etape={},this.page={},this.setActiveItemInMenu(t)},setActiveItemInMenu(t){const e=this.etape.title||this.page.title,s=document.querySelectorAll("#menu > ul > li > a");if(Object.entries(this.etape).length===0&&Object.entries(this.page).length===0){for(let r of s)r.classList.remove("is-active");s[0].classList.add("is-active")}else for(let r of s)r.dataset.nodeNid==t?r.classList.add("is-active"):r.classList.remove("is-active");const i=document.querySelectorAll("#etapes-liste li");for(let r of i)r.querySelector("a").innerText===e?r.classList.remove("inactive"):r.classList.add("inactive");const n=document.querySelectorAll("#etapes-liste li.inactive");if(n.length===i.length)for(let r of n)r.classList.remove("inactive")},resetStore(){this.loading=!0,this.error=null,this.etape={},this.page={}},getCleanDate(t){return{d:t.split("-")[2],m:new Intl.DateTimeFormat("fr-FR",{month:"long"}).format(new Date(t)),y:t.split("-")[0]}}}}),mc=Vl("mapState",{state:()=>({defaultZoom:Number,defaultMapCenter:Object,currentPlace:Object,maxZoom:Number,currentZoom:Number,duration:3}),actions:{zoomToPlace(t,e,s){t.flyTo([e,s],this.maxZoom,{duration:this.duration}),this.currentZoom=this.maxZoom},resetMap(t){t.flyTo(this.defaultMapCenter,this.defaultZoom,{duration:this.duration}),this.currentZoom=this.defaultZoom},lockMap(t){setTimeout(()=>{t.options.minZoom=this.currentZoom,t.options.maxZoom=this.currentZoom},this.duration*1e3+100),t.dragging.disable(),t.touchZoom.disable(),t.doubleClickZoom.disable(),t.scrollWheelZoom.disable(),t.boxZoom.disable(),t.keyboard.disable()},unlockMap(t){t.options.minZoom=this.defaultZoom,t.options.maxZoom=this.maxZoom,t.dragging.enable(),t.touchZoom.enable(),t.doubleClickZoom.enable(),t.scrollWheelZoom.enable(),t.boxZoom.enable(),t.keyboard.enable()}}});/*! + * vue-router v4.4.3 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const bs=typeof document<"u";function oh(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Se=Object.assign;function Ln(t,e){const s={};for(const i in e){const n=e[i];s[i]=mt(n)?n.map(t):t(n)}return s}const Gs=()=>{},mt=Array.isArray,gc=/#/g,ah=/&/g,lh=/\//g,ch=/=/g,uh=/\?/g,vc=/\+/g,dh=/%5B/g,fh=/%5D/g,wc=/%5E/g,ph=/%60/g,bc=/%7B/g,hh=/%7C/g,yc=/%7D/g,mh=/%20/g;function Br(t){return encodeURI(""+t).replace(hh,"|").replace(dh,"[").replace(fh,"]")}function gh(t){return Br(t).replace(bc,"{").replace(yc,"}").replace(wc,"^")}function or(t){return Br(t).replace(vc,"%2B").replace(mh,"+").replace(gc,"%23").replace(ah,"%26").replace(ph,"`").replace(bc,"{").replace(yc,"}").replace(wc,"^")}function vh(t){return or(t).replace(ch,"%3D")}function wh(t){return Br(t).replace(gc,"%23").replace(uh,"%3F")}function bh(t){return t==null?"":wh(t).replace(lh,"%2F")}function ni(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const yh=/\/$/,Sh=t=>t.replace(yh,"");function On(t,e,s="/"){let i,n={},r="",o="";const l=e.indexOf("#");let a=e.indexOf("?");return l=0&&(a=-1),a>-1&&(i=e.slice(0,a),r=e.slice(a+1,l>-1?l:e.length),n=t(r)),l>-1&&(i=i||e.slice(0,l),o=e.slice(l,e.length)),i=Ch(i??e,s),{fullPath:i+(r&&"?")+r+o,path:i,query:n,hash:ni(o)}}function Eh(t,e){const s=e.query?t(e.query):"";return e.path+(s&&"?")+s+(e.hash||"")}function Xo(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function xh(t,e,s){const i=e.matched.length-1,n=s.matched.length-1;return i>-1&&i===n&&Cs(e.matched[i],s.matched[n])&&Sc(e.params,s.params)&&t(e.query)===t(s.query)&&e.hash===s.hash}function Cs(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Sc(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(!Th(t[s],e[s]))return!1;return!0}function Th(t,e){return mt(t)?Yo(t,e):mt(e)?Yo(e,t):t===e}function Yo(t,e){return mt(e)?t.length===e.length&&t.every((s,i)=>s===e[i]):t.length===1&&t[0]===e}function Ch(t,e){if(t.startsWith("/"))return t;if(!t)return e;const s=e.split("/"),i=t.split("/"),n=i[i.length-1];(n===".."||n===".")&&i.push("");let r=s.length-1,o,l;for(o=0;o1&&r--;else break;return s.slice(0,r).join("/")+"/"+i.slice(o).join("/")}const Ft={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ri;(function(t){t.pop="pop",t.push="push"})(ri||(ri={}));var Us;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Us||(Us={}));function _h(t){if(!t)if(bs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Sh(t)}const Mh=/^[^#]+#/;function Ph(t,e){return t.replace(Mh,"#")+e}function Ah(t,e){const s=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-s.left-(e.left||0),top:i.top-s.top-(e.top||0)}}const an=()=>({left:window.scrollX,top:window.scrollY});function Lh(t){let e;if("el"in t){const s=t.el,i=typeof s=="string"&&s.startsWith("#"),n=typeof s=="string"?i?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!n)return;e=Ah(n,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Ko(t,e){return(history.state?history.state.position-e:-1)+t}const ar=new Map;function Oh(t,e){ar.set(t,e)}function Ih(t){const e=ar.get(t);return ar.delete(t),e}let Rh=()=>location.protocol+"//"+location.host;function Ec(t,e){const{pathname:s,search:i,hash:n}=e,r=t.indexOf("#");if(r>-1){let l=n.includes(t.slice(r))?t.slice(r).length:1,a=n.slice(l);return a[0]!=="/"&&(a="/"+a),Xo(a,"")}return Xo(s,t)+i+n}function zh(t,e,s,i){let n=[],r=[],o=null;const l=({state:f})=>{const p=Ec(t,location),h=s.value,m=e.value;let v=0;if(f){if(s.value=p,e.value=f,o&&o===h){o=null;return}v=m?f.position-m.position:0}else i(p);n.forEach(b=>{b(s.value,h,{delta:v,type:ri.pop,direction:v?v>0?Us.forward:Us.back:Us.unknown})})};function a(){o=s.value}function d(f){n.push(f);const p=()=>{const h=n.indexOf(f);h>-1&&n.splice(h,1)};return r.push(p),p}function c(){const{history:f}=window;f.state&&f.replaceState(Se({},f.state,{scroll:an()}),"")}function u(){for(const f of r)f();r=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:a,listen:d,destroy:u}}function Zo(t,e,s,i=!1,n=!1){return{back:t,current:e,forward:s,replaced:i,position:window.history.length,scroll:n?an():null}}function kh(t){const{history:e,location:s}=window,i={value:Ec(t,s)},n={value:e.state};n.value||r(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(a,d,c){const u=t.indexOf("#"),f=u>-1?(s.host&&document.querySelector("base")?t:t.slice(u))+a:Rh()+t+a;try{e[c?"replaceState":"pushState"](d,"",f),n.value=d}catch(p){console.error(p),s[c?"replace":"assign"](f)}}function o(a,d){const c=Se({},e.state,Zo(n.value.back,a,n.value.forward,!0),d,{position:n.value.position});r(a,c,!0),i.value=a}function l(a,d){const c=Se({},n.value,e.state,{forward:a,scroll:an()});r(c.current,c,!0);const u=Se({},Zo(i.value,a,null),{position:c.position+1},d);r(a,u,!1),i.value=a}return{location:i,state:n,push:l,replace:o}}function Dh(t){t=_h(t);const e=kh(t),s=zh(t,e.state,e.location,e.replace);function i(r,o=!0){o||s.pauseListeners(),history.go(r)}const n=Se({location:"",base:t,go:i,createHref:Ph.bind(null,t)},e,s);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>e.state.value}),n}function $h(t){return typeof t=="string"||t&&typeof t=="object"}function xc(t){return typeof t=="string"||typeof t=="symbol"}const Tc=Symbol("");var Jo;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Jo||(Jo={}));function _s(t,e){return Se(new Error,{type:t,[Tc]:!0},e)}function Ct(t,e){return t instanceof Error&&Tc in t&&(e==null||!!(t.type&e))}const Qo="[^/]+?",Nh={sensitive:!1,strict:!1,start:!0,end:!0},Fh=/[.+*?^${}()[\]/\\]/g;function Hh(t,e){const s=Se({},Nh,e),i=[];let n=s.start?"^":"";const r=[];for(const d of t){const c=d.length?[]:[90];s.strict&&!d.length&&(n+="/");for(let u=0;ue.length?e.length===1&&e[0]===80?1:-1:0}function Cc(t,e){let s=0;const i=t.score,n=e.score;for(;s0&&e[e.length-1]<0}const jh={type:0,value:""},qh=/[a-zA-Z0-9_]/;function Vh(t){if(!t)return[[]];if(t==="/")return[[jh]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${s})/"${d}": ${p}`)}let s=0,i=s;const n=[];let r;function o(){r&&n.push(r),r=[]}let l=0,a,d="",c="";function u(){d&&(s===0?r.push({type:0,value:d}):s===1||s===2||s===3?(r.length>1&&(a==="*"||a==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):e("Invalid state to consume buffer"),d="")}function f(){d+=a}for(;l{o(g)}:Gs}function o(u){if(xc(u)){const f=i.get(u);f&&(i.delete(u),s.splice(s.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=s.indexOf(u);f>-1&&(s.splice(f,1),u.record.name&&i.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return s}function a(u){const f=Kh(u,s);s.splice(f,0,u),u.record.name&&!sa(u)&&i.set(u.record.name,u)}function d(u,f){let p,h={},m,v;if("name"in u&&u.name){if(p=i.get(u.name),!p)throw _s(1,{location:u});v=p.record.name,h=Se(ta(f.params,p.keys.filter(g=>!g.optional).concat(p.parent?p.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&ta(u.params,p.keys.map(g=>g.name))),m=p.stringify(h)}else if(u.path!=null)m=u.path,p=s.find(g=>g.re.test(m)),p&&(h=p.parse(m),v=p.record.name);else{if(p=f.name?i.get(f.name):s.find(g=>g.re.test(f.path)),!p)throw _s(1,{location:u,currentLocation:f});v=p.record.name,h=Se({},f.params,u.params),m=p.stringify(h)}const b=[];let w=p;for(;w;)b.unshift(w.record),w=w.parent;return{name:v,path:m,params:h,matched:b,meta:Yh(b)}}t.forEach(u=>r(u));function c(){s.length=0,i.clear()}return{addRoute:r,resolve:d,removeRoute:o,clearRoutes:c,getRoutes:l,getRecordMatcher:n}}function ta(t,e){const s={};for(const i of e)i in t&&(s[i]=t[i]);return s}function Uh(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Xh(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function Xh(t){const e={},s=t.props||!1;if("component"in t)e.default=s;else for(const i in t.components)e[i]=typeof s=="object"?s[i]:s;return e}function sa(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Yh(t){return t.reduce((e,s)=>Se(e,s.meta),{})}function ia(t,e){const s={};for(const i in t)s[i]=i in e?e[i]:t[i];return s}function Kh(t,e){let s=0,i=e.length;for(;s!==i;){const r=s+i>>1;Cc(t,e[r])<0?i=r:s=r+1}const n=Zh(t);return n&&(i=e.lastIndexOf(n,i-1)),i}function Zh(t){let e=t;for(;e=e.parent;)if(_c(e)&&Cc(t,e)===0)return e}function _c({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Jh(t){const e={};if(t===""||t==="?")return e;const i=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;nr&&or(r)):[i&&or(i)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+s,r!=null&&(e+="="+r))})}return e}function Qh(t){const e={};for(const s in t){const i=t[s];i!==void 0&&(e[s]=mt(i)?i.map(n=>n==null?null:""+n):i==null?i:""+i)}return e}const em=Symbol(""),ra=Symbol(""),ln=Symbol(""),jr=Symbol(""),lr=Symbol("");function $s(){let t=[];function e(i){return t.push(i),()=>{const n=t.indexOf(i);n>-1&&t.splice(n,1)}}function s(){t=[]}return{add:e,list:()=>t.slice(),reset:s}}function Ut(t,e,s,i,n,r=o=>o()){const o=i&&(i.enterCallbacks[n]=i.enterCallbacks[n]||[]);return()=>new Promise((l,a)=>{const d=f=>{f===!1?a(_s(4,{from:s,to:e})):f instanceof Error?a(f):$h(f)?a(_s(2,{from:e,to:f})):(o&&i.enterCallbacks[n]===o&&typeof f=="function"&&o.push(f),l())},c=r(()=>t.call(i&&i.instances[n],e,s,d));let u=Promise.resolve(c);t.length<3&&(u=u.then(d)),u.catch(f=>a(f))})}function In(t,e,s,i,n=r=>r()){const r=[];for(const o of t)for(const l in o.components){let a=o.components[l];if(!(e!=="beforeRouteEnter"&&!o.instances[l]))if(tm(a)){const c=(a.__vccOpts||a)[e];c&&r.push(Ut(c,s,i,o,l,n))}else{let d=a();r.push(()=>d.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${o.path}"`));const u=oh(c)?c.default:c;o.components[l]=u;const p=(u.__vccOpts||u)[e];return p&&Ut(p,s,i,o,l,n)()}))}}return r}function tm(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function oa(t){const e=ut(ln),s=ut(jr),i=Ye(()=>{const a=we(t.to);return e.resolve(a)}),n=Ye(()=>{const{matched:a}=i.value,{length:d}=a,c=a[d-1],u=s.matched;if(!c||!u.length)return-1;const f=u.findIndex(Cs.bind(null,c));if(f>-1)return f;const p=aa(a[d-2]);return d>1&&aa(c)===p&&u[u.length-1].path!==p?u.findIndex(Cs.bind(null,a[d-2])):f}),r=Ye(()=>n.value>-1&&rm(s.params,i.value.params)),o=Ye(()=>n.value>-1&&n.value===s.matched.length-1&&Sc(s.params,i.value.params));function l(a={}){return nm(a)?e[we(t.replace)?"replace":"push"](we(t.to)).catch(Gs):Promise.resolve()}return{route:i,href:Ye(()=>i.value.href),isActive:r,isExactActive:o,navigate:l}}const sm=ll({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:oa,setup(t,{slots:e}){const s=ai(oa(t)),{options:i}=ut(ln),n=Ye(()=>({[la(t.activeClass,i.linkActiveClass,"router-link-active")]:s.isActive,[la(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=e.default&&e.default(s);return t.custom?r:zr("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:n.value},r)}}}),im=sm;function nm(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function rm(t,e){for(const s in e){const i=e[s],n=t[s];if(typeof i=="string"){if(i!==n)return!1}else if(!mt(n)||n.length!==i.length||i.some((r,o)=>r!==n[o]))return!1}return!0}function aa(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const la=(t,e,s)=>t??e??s,om=ll({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:s}){const i=ut(lr),n=Ye(()=>t.route||i.value),r=ut(ra,0),o=Ye(()=>{let d=we(r);const{matched:c}=n.value;let u;for(;(u=c[d])&&!u.components;)d++;return d}),l=Ye(()=>n.value.matched[o.value]);Si(ra,Ye(()=>o.value+1)),Si(em,l),Si(lr,n);const a=Ot();return Et(()=>[a.value,l.value,t.name],([d,c,u],[f,p,h])=>{c&&(c.instances[u]=d,p&&p!==c&&d&&d===f&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),d&&c&&(!p||!Cs(c,p)||!f)&&(c.enterCallbacks[u]||[]).forEach(m=>m(d))},{flush:"post"}),()=>{const d=n.value,c=t.name,u=l.value,f=u&&u.components[c];if(!f)return ca(s.default,{Component:f,route:d});const p=u.props[c],h=p?p===!0?d.params:typeof p=="function"?p(d):p:null,v=zr(f,Se({},h,e,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(u.instances[c]=null)},ref:a}));return ca(s.default,{Component:v,route:d})||v}}});function ca(t,e){if(!t)return null;const s=t(e);return s.length===1?s[0]:s}const am=om;function lm(t){const e=Gh(t.routes,t),s=t.parseQuery||Jh,i=t.stringifyQuery||na,n=t.history,r=$s(),o=$s(),l=$s(),a=Su(Ft);let d=Ft;bs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ln.bind(null,$=>""+$),u=Ln.bind(null,bh),f=Ln.bind(null,ni);function p($,ee){let Y,te;return xc($)?(Y=e.getRecordMatcher($),te=ee):te=$,e.addRoute(te,Y)}function h($){const ee=e.getRecordMatcher($);ee&&e.removeRoute(ee)}function m(){return e.getRoutes().map($=>$.record)}function v($){return!!e.getRecordMatcher($)}function b($,ee){if(ee=Se({},ee||a.value),typeof $=="string"){const x=On(s,$,ee.path),k=e.resolve({path:x.path},ee),j=n.createHref(x.fullPath);return Se(x,k,{params:f(k.params),hash:ni(x.hash),redirectedFrom:void 0,href:j})}let Y;if($.path!=null)Y=Se({},$,{path:On(s,$.path,ee.path).path});else{const x=Se({},$.params);for(const k in x)x[k]==null&&delete x[k];Y=Se({},$,{params:u(x)}),ee.params=u(ee.params)}const te=e.resolve(Y,ee),pe=$.hash||"";te.params=c(f(te.params));const Ce=Eh(i,Se({},$,{hash:gh(pe),path:te.path})),S=n.createHref(Ce);return Se({fullPath:Ce,hash:pe,query:i===na?Qh($.query):$.query||{}},te,{redirectedFrom:void 0,href:S})}function w($){return typeof $=="string"?On(s,$,a.value.path):Se({},$)}function g($,ee){if(d!==$)return _s(8,{from:ee,to:$})}function y($){return L($)}function T($){return y(Se(w($),{replace:!0}))}function A($){const ee=$.matched[$.matched.length-1];if(ee&&ee.redirect){const{redirect:Y}=ee;let te=typeof Y=="function"?Y($):Y;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=w(te):{path:te},te.params={}),Se({query:$.query,hash:$.hash,params:te.path!=null?{}:$.params},te)}}function L($,ee){const Y=d=b($),te=a.value,pe=$.state,Ce=$.force,S=$.replace===!0,x=A(Y);if(x)return L(Se(w(x),{state:typeof x=="object"?Se({},pe,x.state):pe,force:Ce,replace:S}),ee||Y);const k=Y;k.redirectedFrom=ee;let j;return!Ce&&xh(i,te,Y)&&(j=_s(16,{to:k,from:te}),B(te,te,!0,!1)),(j?Promise.resolve(j):M(k,te)).catch(F=>Ct(F)?Ct(F,2)?F:oe(F):I(F,k,te)).then(F=>{if(F){if(Ct(F,2))return L(Se({replace:S},w(F.to),{state:typeof F.to=="object"?Se({},pe,F.to.state):pe,force:Ce}),ee||k)}else F=C(k,te,!0,S,pe);return z(k,te,F),F})}function P($,ee){const Y=g($,ee);return Y?Promise.reject(Y):Promise.resolve()}function E($){const ee=ve.values().next().value;return ee&&typeof ee.runWithContext=="function"?ee.runWithContext($):$()}function M($,ee){let Y;const[te,pe,Ce]=cm($,ee);Y=In(te.reverse(),"beforeRouteLeave",$,ee);for(const x of te)x.leaveGuards.forEach(k=>{Y.push(Ut(k,$,ee))});const S=P.bind(null,$,ee);return Y.push(S),de(Y).then(()=>{Y=[];for(const x of r.list())Y.push(Ut(x,$,ee));return Y.push(S),de(Y)}).then(()=>{Y=In(pe,"beforeRouteUpdate",$,ee);for(const x of pe)x.updateGuards.forEach(k=>{Y.push(Ut(k,$,ee))});return Y.push(S),de(Y)}).then(()=>{Y=[];for(const x of Ce)if(x.beforeEnter)if(mt(x.beforeEnter))for(const k of x.beforeEnter)Y.push(Ut(k,$,ee));else Y.push(Ut(x.beforeEnter,$,ee));return Y.push(S),de(Y)}).then(()=>($.matched.forEach(x=>x.enterCallbacks={}),Y=In(Ce,"beforeRouteEnter",$,ee,E),Y.push(S),de(Y))).then(()=>{Y=[];for(const x of o.list())Y.push(Ut(x,$,ee));return Y.push(S),de(Y)}).catch(x=>Ct(x,8)?x:Promise.reject(x))}function z($,ee,Y){l.list().forEach(te=>E(()=>te($,ee,Y)))}function C($,ee,Y,te,pe){const Ce=g($,ee);if(Ce)return Ce;const S=ee===Ft,x=bs?history.state:{};Y&&(te||S?n.replace($.fullPath,Se({scroll:S&&x&&x.scroll},pe)):n.push($.fullPath,pe)),a.value=$,B($,ee,Y,S),oe()}let _;function R(){_||(_=n.listen(($,ee,Y)=>{if(!ie.listening)return;const te=b($),pe=A(te);if(pe){L(Se(pe,{replace:!0}),te).catch(Gs);return}d=te;const Ce=a.value;bs&&Oh(Ko(Ce.fullPath,Y.delta),an()),M(te,Ce).catch(S=>Ct(S,12)?S:Ct(S,2)?(L(S.to,te).then(x=>{Ct(x,20)&&!Y.delta&&Y.type===ri.pop&&n.go(-1,!1)}).catch(Gs),Promise.reject()):(Y.delta&&n.go(-Y.delta,!1),I(S,te,Ce))).then(S=>{S=S||C(te,Ce,!1),S&&(Y.delta&&!Ct(S,8)?n.go(-Y.delta,!1):Y.type===ri.pop&&Ct(S,20)&&n.go(-1,!1)),z(te,Ce,S)}).catch(Gs)}))}let N=$s(),H=$s(),O;function I($,ee,Y){oe($);const te=H.list();return te.length?te.forEach(pe=>pe($,ee,Y)):console.error($),Promise.reject($)}function X(){return O&&a.value!==Ft?Promise.resolve():new Promise(($,ee)=>{N.add([$,ee])})}function oe($){return O||(O=!$,R(),N.list().forEach(([ee,Y])=>$?Y($):ee()),N.reset()),$}function B($,ee,Y,te){const{scrollBehavior:pe}=t;if(!bs||!pe)return Promise.resolve();const Ce=!Y&&Ih(Ko($.fullPath,0))||(te||!Y)&&history.state&&history.state.scroll||null;return Ui().then(()=>pe($,ee,Ce)).then(S=>S&&Lh(S)).catch(S=>I(S,$,ee))}const W=$=>n.go($);let Q;const ve=new Set,ie={currentRoute:a,listening:!0,addRoute:p,removeRoute:h,clearRoutes:e.clearRoutes,hasRoute:v,getRoutes:m,resolve:b,options:t,push:y,replace:T,go:W,back:()=>W(-1),forward:()=>W(1),beforeEach:r.add,beforeResolve:o.add,afterEach:l.add,onError:H.add,isReady:X,install($){const ee=this;$.component("RouterLink",im),$.component("RouterView",am),$.config.globalProperties.$router=ee,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>we(a)}),bs&&!Q&&a.value===Ft&&(Q=!0,y(n.location).catch(pe=>{}));const Y={};for(const pe in Ft)Object.defineProperty(Y,pe,{get:()=>a.value[pe],enumerable:!0});$.provide(ln,ee),$.provide(jr,Wa(Y)),$.provide(lr,a);const te=$.unmount;ve.add($),$.unmount=function(){ve.delete($),ve.size<1&&(d=Ft,_&&_(),_=null,a.value=Ft,Q=!1,O=!1),te()}}};function de($){return $.reduce((ee,Y)=>ee.then(()=>E(Y)),Promise.resolve())}return ie}function cm(t,e){const s=[],i=[],n=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;oCs(d,l))?i.push(l):s.push(l));const a=t.matched[o];a&&(e.matched.find(d=>Cs(d,a))||n.push(a))}return[s,i,n]}function um(){return ut(ln)}function dm(t){return ut(jr)}const fm={class:"cover"},pm=["src","alt"],hm={class:"locality"},mm={class:"locality-title"},gm={key:0},vm={__name:"ModaleHeader",props:{content:Object,couleur:String},setup(t){return(e,s)=>(se(),re("header",{style:Le(t.content.vignette?"":{marginTop:"20vh"})},[Z("div",fm,[t.content.vignette?(se(),re("img",{key:0,src:t.content.vignette.url,alt:t.content.vignette.alt},null,8,pm)):Ae("",!0)]),t.content.dates?(se(),re("div",{key:0,class:"cartouche",style:Le({backgroundColor:t.couleur})},[Z("p",null,"Étape n°"+Ee(t.content.etape_number),1),Z("p",null,"Du "+Ee(t.content.dates.start.d)+" "+Ee(t.content.dates.start.m)+" au "+Ee(t.content.dates.end.d)+" "+Ee(t.content.dates.end.m)+" "+Ee(t.content.dates.end.y),1)],4)):Ae("",!0),Z("div",{class:"brand-pattern",style:Le({backgroundColor:t.couleur})},s[0]||(s[0]=[Z("div",{class:"pattern"},null,-1)]),4),Z("div",hm,[s[1]||(s[1]=Z("div",{class:"top-triangle"},null,-1)),Z("div",mm,[Z("h1",null,[Wt(Ee(t.content.title)+" ",1),t.content.adresse?(se(),re("em",gm,"("+Ee(t.content.adresse.postal_code.slice(0,2))+")",1)):Ae("",!0)])])])],4))}},wm={key:0,class:"related-etape-links"},bm={class:"icon"},ym={class:"card-content"},Sm={class:"infos"},Em={class:"titre"},xm={class:"date"},Tm={class:"vignette"},Cm=["src","alt"],_m={class:"icon"},Mm={class:"card-content"},Pm={class:"infos"},Am={class:"titre"},Lm={class:"date"},Om={class:"vignette"},Im=["src","alt"],Rm={__name:"ModaleFooter",props:{content:Object,couleur:String,map:Object},setup(t){const e=Hr();return(s,i)=>(se(),re("footer",null,[Z("div",{class:"brand-pattern pattern-bottom",style:Le({backgroundColor:t.couleur})},i[2]||(i[2]=[Z("div",{class:"pattern"},null,-1)]),4),t.content.previous||t.content.next?(se(),re("div",wm,[t.content.previous?(se(),re("div",{key:0,class:"card previous",onClick:i[0]||(i[0]=n=>we(e).fetchEtapeData(t.content.previous.nid,t.map))},[Z("div",bm,[Z("div",{style:Le({backgroundColor:t.content.previous.couleur})},null,4),Z("div",{style:Le({backgroundColor:t.content.previous.couleur})},null,4),Z("div",{style:Le({backgroundColor:t.content.previous.couleur})},null,4)]),Z("div",ym,[Z("div",Sm,[Z("div",Em,[Wt(Ee(t.content.previous.title)+" ",1),Z("span",null,"("+Ee(t.content.previous.postalCode)+")",1)]),Z("div",xm,[Wt("Du "+Ee(t.content.previous.dates.start.d)+" "+Ee(t.content.previous.dates.start.m),1),i[3]||(i[3]=Z("br",null,null,-1)),Wt("au "+Ee(t.content.previous.dates.end.d)+" "+Ee(t.content.previous.dates.end.m)+" "+Ee(t.content.previous.dates.end.y),1)])]),Z("div",Tm,[Z("img",{src:t.content.previous.vignette.url,alt:t.content.previous.vignette.alt},null,8,Cm)])])])):Ae("",!0),t.content.next?(se(),re("div",{key:1,class:"card next",onClick:i[1]||(i[1]=n=>we(e).fetchEtapeData(t.content.next.nid,t.map))},[Z("div",_m,[Z("div",{style:Le({backgroundColor:t.content.next.couleur})},null,4),Z("div",{style:Le({backgroundColor:t.content.next.couleur})},null,4),Z("div",{style:Le({backgroundColor:t.content.next.couleur})},null,4)]),Z("div",Mm,[Z("div",Pm,[Z("div",Am,[Wt(Ee(t.content.next.title)+" ",1),Z("span",null,"("+Ee(t.content.next.postalCode)+")",1)]),Z("div",Lm,[Wt("Du "+Ee(t.content.next.dates.start.d)+" "+Ee(t.content.next.dates.start.m),1),i[4]||(i[4]=Z("br",null,null,-1)),Wt("au "+Ee(t.content.next.dates.end.d)+" "+Ee(t.content.next.dates.end.m)+" "+Ee(t.content.next.dates.end.y),1)])]),Z("div",Om,[Z("img",{src:t.content.next.vignette.url,alt:t.content.next.vignette.alt},null,8,Im)])])])):Ae("",!0)])):Ae("",!0)]))}};var zm=(t,e)=>{const s=t.__vccOpts||t;for(const[i,n]of e)s[i]=n;return s};const km={name:"VueImageZoomer",emits:["onZoom","offZoom","regularLoaded","zoomLoaded","zoomLoading"],directives:{clickOutside:{mounted(t,e){t.clickOutsideEvent=function(s){t==s.target||t.contains(s.target)||e.value(s,t)},document.body.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}},data(){return{touch:!1,zoomed:!1,x:0,y:0,touchPosition:0,origX:0,origY:0,offsetLeft:0,offsetTop:0,zoomWidth:0,zoomHeight:0,options:{zoomAmount:0,zoom:!1,zoomWebp:!1},loaded:!1,loading:!1,webp_supported:!1,cx:0,cy:0,showSlot:!0}},props:{regular:String,regularWebp:String,zoom:String,zoomWebp:String,imgClass:{type:String,default:""},alt:String,zoomAmount:{type:Number,default:0},clickZoom:Boolean,hoverMessage:{type:String,default:' Hover to zoom'},touchMessage:{type:String,default:' Tap to zoom'},clickMessage:{type:String,default:' Click to zoom'},closePos:{type:String,default:"top-left"},messagePos:{type:String,default:"bottom"},showMessage:{type:Boolean,default:!0},showMessageTouch:{type:Boolean,default:!0},tapToClose:Boolean,breakpoints:Array,touchZoomPos:{type:Array,default(){return[.5,.5]}},imgWidth:Number,imgHeight:Number,lazyload:Boolean,rightClick:{type:Boolean,default:!0}},watch:{propChanges(){this.get_options()}},computed:{propChanges(){return`${this.breakpoints}|${this.regular}|${this.regularWebp}|${this.zoom}|${this.zoomAmount}|${this.zoomWebp}|${this.lazyload}`}},mounted(){this.check_webp_feature("lossy",(t,e)=>{e&&(this.webp_supported=!0)}),this.get_options(),("ontouchstart"in window||navigator.msMaxTouchPoints)&&(this.touch=!0),this.touchLogic()},created(){window.addEventListener("resize",this.debounce(()=>{this.resize()},500))},unmounted(){window.removeEventListener("resize",this.resize())},methods:{async touchLogic(){await Ui();let t,e,s=!1;this.$refs["vue-hover-zs"].addEventListener("touchstart",i=>{if(this.zoomed){i.cancelable&&i.preventDefault();let n=i.changedTouches[0];t=n.pageX-this.cx,e=n.pageY-this.cy}}),this.$refs["vue-hover-zs"].addEventListener("touchmove",i=>{if(this.zoomed){let n=i.changedTouches[0];this.x=n.pageX-t,this.y=n.pageY-e,n.pageX-t<=this.origX-this.zoomWidth&&(this.x=this.origX-this.zoomWidth),n.pageX-t>=0&&(this.x=-1),n.pageY-e<=this.origY-this.options.zoomAmount*this.origY&&(this.y=this.origY-this.options.zoomAmount*this.origY),n.pageY-e>=0&&(this.y=-1),this.touchPosition="translate3d("+this.x+"px,"+this.y+"px,0)",s=!0}}),this.$refs["vue-hover-zs"].addEventListener("touchend",i=>{if(this.zoomed){let n=i.changedTouches[0];this.cx=n.pageX-t,this.cy=n.pageY-e,!s&&this.tapToClose&&(this.zoomed=!1,this.$emit("offZoom")),s=!1}})},debounce(t,e){let s;return(...i)=>{const n=this;clearTimeout(s),s=setTimeout(()=>t.apply(n,i),e)}},get_options(){this.options.zoomAmount=this.zoomAmount,this.options.zoom=this.zoom,this.options.zoomWebp=this.zoomWebp,this.zoom||(this.options.zoom=this.regular,this.options.zoomAmount=2),!this.zoomWebp&&this.regularWebp&&(this.options.zoomWebp=this.regularWebp,this.options.zoomAmount=2),this.resize()},resize(){this.zoomed=!1,this.loaded=!1},check_webp_feature(t,e){let s={lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"},i=new Image;i.onload=()=>{let n=i.width>0&&i.height>0;e(t,n)},i.onerror=()=>{e(t,!1)},i.src="data:image/webp;base64,"+s[t]},loadImage(t,e){const s=new Image;s.onload=e,s.src=t},loadZoom(){this.offset(),this.options.zoomAmount!=0&&(this.zoomWidth=this.origX*this.options.zoomAmount,this.zoomHeight=this.origY*this.options.zoomAmount,this.touch&&this.mobilePos()),this.loaded?(this.zoomed=!0,this.options.zoomAmount==0&&(this.options.zoomAmount=this.zoomWidth/this.origX)):this.zoomLoad()},zoomLoad(){(!this.clickZoom||this.touch)&&(this.loading=!0,this.$emit("zoomLoading"));let t=this.options.zoom;this.breakpoints&&this.breakpoints.forEach(e=>{window.innerWidth>=e.width&&(e.zoom?t=e.zoom:t=e.regular)}),this.webp_supported&&this.options.zoomWebp&&(t=this.options.zoomWebp,this.breakpoints&&this.breakpoints.forEach(e=>{window.innerWidth>=e.width&&(e.zoomWebp?t=e.zoomWebp:t=e.regularWebp)})),this.loadImage(t,e=>{this.options.zoomAmount==0&&(this.zoomWidth=e.target.width,this.zoomHeight=e.target.height,this.options.zoomAmount=e.target.width/this.origX),this.loaded=!0,this.loading=!1,this.$emit("zoomLoaded"),(!this.clickZoom||this.touch)&&(this.zoomed=!0,this.mobilePos())})},isZoom(t,e){(e=="hover"&&!this.clickZoom&&!this.touch||e=="click"&&(this.clickZoom||this.touch)||typeof t=="object")&&(this.zoomed=!1,t==!0?(this.loadZoom(),this.$emit("onZoom")):this.$emit("offZoom"))},mobilePos(){let t=(this.zoomWidth-this.origX)*this.touchZoomPos[0],e=(this.zoomHeight-this.origY)*this.touchZoomPos[1];(this.touchZoomPos[0]>1||this.touchZoomPos[0]<0||this.touchZoomPos[1]>1||this.touchZoomPos[1]<0)&&(t=0,e=0),this.cx=-t,this.cy=-e,this.x=-t,this.y=-e,this.touchPosition="translate3d(-"+t+"px,-"+e+"px,0)"},offset(){this.origX=parseFloat(this.$refs["vue-hover-zs"].offsetWidth),this.origY=parseFloat(this.$refs["vue-hover-zs"].offsetHeight)},mousePos(t){this.offsetLeft=window.pageXOffset+this.$refs["vue-hover-zs"].getBoundingClientRect().left,this.offsetTop=window.pageYOffset+this.$refs["vue-hover-zs"].getBoundingClientRect().top,!this.touch&&!this.loading&&(this.loaded?(this.x=(t.pageX-this.offsetLeft)*(this.options.zoomAmount-1),this.y=(t.pageY-this.offsetTop)*(this.options.zoomAmount-1)):(this.offset(),this.zoomLoad()))}}},Dm={class:"vh--outer vh--rel"},$m=["srcset","media"],Nm=["srcset","media"],Fm=["srcset"],Hm=["loading","src","alt","width","height"],Bm={key:0},jm=["srcset","media"],qm=["srcset","media"],Vm=["srcset","media"],Wm=["srcset","media"],Gm=["src"],Um=["src"],Xm=["src"],Ym=["innerHTML"],Km=["innerHTML"],Zm=["innerHTML"],Jm={key:1,class:"vh--loading-o vh--abs vh--flex vh--jc vh--ai"},Qm=Z("div",{class:"vh--loading",innerHTML:"◠"},null,-1),eg=[Qm];function tg(t,e,s,i,n,r){const o=Zu("click-outside");return se(),re(Te,null,[n.showSlot&&!s.lazyload?Ju(t.$slots,"default",{key:0}):Ae("",!0),tl((se(),re("div",Dm,[Z("div",{class:yt(["vh--holder vh--rel vh--flex vh--jc",{"vh--no-click":!s.rightClick}]),onMouseenter:e[1]||(e[1]=l=>r.isZoom(!0,"hover")),onMouseleave:e[2]||(e[2]=l=>r.isZoom(!1,"hover")),onMousemove:e[3]||(e[3]=(...l)=>r.mousePos&&r.mousePos(...l)),ref:"vue-hover-zs",onClick:e[4]||(e[4]=l=>r.isZoom(!n.zoomed,"click"))},[Z("picture",{class:yt({"vh--none":n.zoomed})},[(se(!0),re(Te,null,Rt(s.breakpoints,l=>(se(),re(Te,{key:l.width},[l.regularWebp?(se(),re("source",{key:0,srcset:l.regularWebp,type:"image/webp",media:"(min-width:"+l.width+"px)"},null,8,$m)):Ae("",!0),l.regular?(se(),re("source",{key:1,srcset:l.regular,media:"(min-width:"+l.width+"px)"},null,8,Nm)):Ae("",!0)],64))),128)),s.regularWebp?(se(),re("source",{key:0,srcset:s.regularWebp,type:"image/webp"},null,8,Fm)):Ae("",!0),Z("img",{loading:s.lazyload?"lazy":"eager",src:s.regular,class:yt(s.imgClass),alt:s.alt,onLoad:e[0]||(e[0]=l=>(t.$emit("regularLoaded"),n.showSlot=!1)),width:s.imgWidth,height:s.imgHeight},null,42,Hm)],2),n.zoomed?(se(),re("picture",Bm,[(se(!0),re(Te,null,Rt(s.breakpoints,l=>(se(),re(Te,{key:l.width},[l.zoomWebp?(se(),re("source",{key:0,srcset:l.zoomWebp,type:"image/webp",media:"(min-width:"+l.width+"px)"},null,8,jm)):l.regularWebp?(se(),re("source",{key:1,srcset:l.regularWebp,type:"image/webp",media:"(min-width:"+l.width+"px)"},null,8,qm)):Ae("",!0),l.zoom?(se(),re("source",{key:2,srcset:l.zoom,media:"(min-width:"+l.width+"px)"},null,8,Vm)):l.regular?(se(),re("source",{key:3,srcset:l.regular,media:"(min-width:"+l.width+"px)"},null,8,Wm)):Ae("",!0)],64))),128)),n.options.zoomWebp?(se(),re("source",{key:0,src:n.options.zoomWebp,type:"image/webp"},null,8,Gm)):Ae("",!0),n.touch?(se(),re("img",{key:2,src:n.options.zoom,class:"vh--image vh--abs",style:Le("width:"+n.zoomWidth+"px;transform:"+n.touchPosition)},null,12,Xm)):(se(),re("img",{key:1,src:n.options.zoom,class:"vh--image vh--abs",style:Le({width:n.zoomWidth+"px",transform:"translate(-"+n.x+"px,-"+n.y+"px)"})},null,12,Um))])):Ae("",!0),Oe(zi,{name:"VueHoverfade"},{default:It(()=>[!n.zoomed&&!n.loading&&!s.clickZoom&&!n.touch&&s.showMessage?(se(),re("div",{key:0,class:yt(["vh--message vh--abs vh--flex vh--jc vh--ai","vh--message-"+s.messagePos]),innerHTML:s.hoverMessage},null,10,Ym)):!n.zoomed&&!n.loading&&!n.touch&&s.showMessage?(se(),re("div",{key:1,class:yt(["vh--message vh--abs vh--flex vh--jc vh--ai","vh--message-"+s.messagePos]),innerHTML:s.clickMessage},null,10,Km)):!n.zoomed&&!n.loading&&n.touch&&s.showMessageTouch?(se(),re("div",{key:2,class:yt(["vh--message vh--abs vh--flex vh--jc vh--ai","vh--message-"+s.messagePos]),innerHTML:s.touchMessage},null,10,Zm)):Ae("",!0)]),_:1})],34),Oe(zi,{name:"VueHoverfade"},{default:It(()=>[n.touch&&n.zoomed&&n.loaded&&!s.tapToClose?(se(),re("div",{key:0,class:yt(["vh--close vh--abs vh--flex vh--jc vh--ai","vh--"+s.closePos]),onClick:e[5]||(e[5]=wf(l=>(n.zoomed=!1,t.$emit("offZoom")),["stop"])),innerHTML:"×"},null,2)):n.loading?(se(),re("div",Jm,eg)):Ae("",!0)]),_:1})])),[[o,r.isZoom],[ef,!n.showSlot||s.lazyload]])],64)}var Mc=zm(km,[["render",tg]]),sg={install:(t,e)=>{t.component("VueImageZoomer",Mc)}};const ig={class:"sensible-map"},ng={class:"caption"},rg={__name:"ModaleCarteSensible",props:{partie:Object},setup(t){return(e,s)=>(se(),re("figure",ig,[Oe(we(Mc),{regular:t.partie.carteSensible.url,zoom:t.partie.carteSensible.url,"zoom-amount":3.5,alt:"Carte sensible du territoire","hover-message":"Survolez pour zoomer dans la carte"},null,8,["regular","zoom"]),Z("figcaption",ng,Ee(t.partie.carteSensible.alt),1)]))}};function Pc(){const t=Ot(!1),e=Ot({src:"",alt:""}),s=Ot([]),i=document.querySelector("body"),n=document.querySelector("#hamburger"),r=document.querySelector("#menu"),o=(d,c,u)=>{e.value={src:d,alt:c},s.value=u||[],t.value=!0,a(!0)},l=()=>{t.value=!1,s.value=[],a(!1)},a=d=>{d?(i.classList.add("no-scroll"),n.style.opacity=0,r.style.display="none"):(i.classList.remove("no-scroll"),r.style.display="flex",setTimeout(()=>{n.style.opacity=1},300))};return{isModaleOpen:t,currentImage:e,swiperPopupContent:s,openImageModale:o,closeImageModale:l}}const qr=(t,e)=>{const s=t.__vccOpts||t;for(const[i,n]of e)s[i]=n;return s},og={key:0,class:"image-viewer-wrapper"},ag={key:0,class:"img-modale simple-viewer"},lg={class:"img-wrapper"},cg=["src","alt"],ug={key:1,class:"img-modale swiper-viewer"},dg={class:"swiper-wrapper"},fg={class:"popup-figure"},pg=["src","alt"],hg={__name:"ImageModale",props:{isOpen:Boolean,image:{type:Object,required:!0},swiperContent:{type:Array,required:!0}},emits:["close"],setup(t,{emit:e}){const s=t,i=Ot(0);Et(()=>s.isOpen,()=>{var o;if(s.isOpen&&((o=s.swiperContent)!=null&&o.length))for(let l=0;l{n("close")};return(o,l)=>{const a=Oi("swiper-slide"),d=Oi("swiper-container");return se(),Xe(zi,{name:"fade"},{default:It(()=>[t.isOpen?(se(),re("div",og,[t.swiperContent?(se(),re("div",ug,[Z("div",dg,[Oe(d,{slidesPerView:1,centeredSlides:!0,loop:!0,navigation:!0,pagination:!0,initialSlide:i.value,injectStyles:[` + .swiper-button-next, .swiper-button-prev { + color: white; + top: 50%; + } + .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) { + background: white; + opacity: 0.8; + } + `]},{default:It(()=>[(se(!0),re(Te,null,Rt(t.swiperContent,c=>(se(),Xe(a,null,{default:It(()=>[Z("figure",fg,[Z("img",{src:c.src,alt:c.alt,class:"popup-img"},null,8,pg),Z("figcaption",null,Ee(c.alt),1)])]),_:2},1024))),256))]),_:1},8,["initialSlide"])])])):(se(),re("div",ag,[Z("figure",lg,[Z("img",{src:t.image.src,alt:t.image.alt},null,8,cg),Z("figcaption",null,Ee(t.image.alt),1)])])),Z("button",{onClick:r,class:"close-button"},l[0]||(l[0]=[Z("div",null,null,-1),Z("div",null,null,-1)]))])):Ae("",!0)]),_:1})}}},Ac=qr(hg,[["__scopeId","data-v-7231769d"]]),mg={class:"partie-title"},gg=["innerHTML"],vg=["innerHTML"],wg={__name:"ModaleTitreTexte",props:{partie:Object,couleur:String},setup(t){const e={mounted:a=>{a.querySelectorAll("img").forEach(c=>{const u=c.getAttribute("alt");if(u){const f=document.createElement("p");f.classList.add("caption"),f.textContent=u,c.after(f)}})}},s=Ot(null);ci(()=>{s.value&&s.value.querySelectorAll("footnotes").forEach((a,d)=>{a.innerText=d+1,a.classList.add("footnote");const c=a.dataset.text;a.addEventListener("mouseenter",u=>{const f=document.createElement("div");f.classList.add("footnote-text"),f.innerHTML=c,f.style.top=`${a.getBoundingClientRect().height*-1-15}px`,setTimeout(()=>{f.style.left=`${f.getBoundingClientRect().width/2*-1}px`,f.style.opacity=1},100),a.appendChild(f)}),a.addEventListener("mouseleave",()=>{a.querySelector(".footnote-text").style.opacity=0,setTimeout(()=>{a.removeChild(a.querySelector(".footnote-text"))},300)}),a.addEventListener("click",()=>{const u=a.querySelector("a");if(u){const f=u.getAttribute("href");f&&window.open(f,"_blank")}})})});const{isModaleOpen:i,currentImage:n,openImageModale:r,closeImageModale:o}=Pc(),l=a=>{const d=a.target;d.tagName==="IMG"&&r(d.src,d.alt)};return(a,d)=>(se(),re(Te,null,[Z("div",mg,[Z("h3",null,[Z("p",{innerHTML:t.partie.titre,style:Le({background:`linear-gradient(transparent 70%, ${t.couleur} 70%)`})},null,12,gg)])]),tl(Z("div",{innerHTML:t.partie.texte,ref_key:"partieContent",ref:s,class:"partie-content",style:Le({"--couleur":t.couleur}),onClick:l},null,12,vg),[[e]]),Oe(Ac,{isOpen:we(i),image:we(n),swiperContent:a.swiperPopupContent,onClose:we(o)},null,8,["isOpen","image","swiperContent","onClose"])],64))}},bg={class:"chiffres-cles"},yg=["innerHTML"],Sg=["innerHTML"],Eg={__name:"ModaleChiffresCles",props:{partie:Object,couleur:String},setup(t){return(e,s)=>(se(),re("div",bg,[Z("h3",null,[Z("p",{style:Le({background:`linear-gradient(transparent 70%, ${t.couleur} 70%)`})},"Chiffres clés",4)]),Z("div",null,[(se(!0),re(Te,null,Rt(t.partie.chiffresCles,i=>(se(),re("div",null,[Z("div",{innerHTML:i.chiffre,class:"chiffre",style:Le({borderLeft:`solid 10px ${t.couleur}`})},null,12,yg),Z("p",{innerHTML:i.description,class:"chiffre-caption",style:Le({borderLeft:`solid 10px ${t.couleur}`})},null,12,Sg)]))),256))])]))}};function ua(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Vr(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:ua(e[s])&&ua(t[s])&&Object.keys(e[s]).length>0&&Vr(t[s],e[s])})}const Lc={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function He(){const t=typeof document<"u"?document:{};return Vr(t,Lc),t}const xg={document:Lc,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Re(){const t=typeof window<"u"?window:{};return Vr(t,xg),t}function jt(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Tg(t){const e=t;Object.keys(e).forEach(s=>{try{e[s]=null}catch{}try{delete e[s]}catch{}})}function ps(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function lt(){return Date.now()}function Cg(t){const e=Re();let s;return e.getComputedStyle&&(s=e.getComputedStyle(t,null)),!s&&t.currentStyle&&(s=t.currentStyle),s||(s=t.style),s}function cr(t,e){e===void 0&&(e="x");const s=Re();let i,n,r;const o=Cg(t);return s.WebKitCSSMatrix?(n=o.transform||o.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(l=>l.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix(n==="none"?"":n)):(r=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),e==="x"&&(s.WebKitCSSMatrix?n=r.m41:i.length===16?n=parseFloat(i[12]):n=parseFloat(i[4])),e==="y"&&(s.WebKitCSSMatrix?n=r.m42:i.length===16?n=parseFloat(i[13]):n=parseFloat(i[5])),n||0}function Hs(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function _g(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function it(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let s=1;se.indexOf(r)<0);for(let r=0,o=n.length;rr?"next":"prev",c=(f,p)=>d==="next"&&f>=p||d==="prev"&&f<=p,u=()=>{l=new Date().getTime(),o===null&&(o=l);const f=Math.max(Math.min((l-o)/a,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=r+p*(s-r);if(c(h,s)&&(h=s),e.wrapperEl.scrollTo({[i]:h}),c(h,s)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:h})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(u)};u()}function ms(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function Fe(t,e){e===void 0&&(e="");const s=[...t.children];return t instanceof HTMLSlotElement&&s.push(...t.assignedElements()),e?s.filter(i=>i.matches(e)):s}function Mg(t,e){const s=e.contains(t);return!s&&e instanceof HTMLSlotElement?[...e.assignedElements()].includes(t):s}function Ni(t){try{console.warn(t);return}catch{}}function rt(t,e){e===void 0&&(e=[]);const s=document.createElement(t);return s.classList.add(...Array.isArray(e)?e:jt(e)),s}function Fi(t){const e=Re(),s=He(),i=t.getBoundingClientRect(),n=s.body,r=t.clientTop||n.clientTop||0,o=t.clientLeft||n.clientLeft||0,l=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:i.top+l-r,left:i.left+a-o}}function Pg(t,e){const s=[];for(;t.previousElementSibling;){const i=t.previousElementSibling;e?i.matches(e)&&s.push(i):s.push(i),t=i}return s}function Ag(t,e){const s=[];for(;t.nextElementSibling;){const i=t.nextElementSibling;e?i.matches(e)&&s.push(i):s.push(i),t=i}return s}function Xt(t,e){return Re().getComputedStyle(t,null).getPropertyValue(e)}function oi(t){let e=t,s;if(e){for(s=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(s+=1);return s}}function us(t,e){const s=[];let i=t.parentElement;for(;i;)e?i.matches(e)&&s.push(i):s.push(i),i=i.parentElement;return s}function Xs(t,e){function s(i){i.target===t&&(e.call(t,i),t.removeEventListener("transitionend",s))}e&&t.addEventListener("transitionend",s)}function ur(t,e,s){const i=Re();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function he(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function cn(t){return e=>Math.abs(e)>0&&t.browser&&t.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}let Rn;function Lg(){const t=Re(),e=He();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ic(){return Rn||(Rn=Lg()),Rn}let zn;function Og(t){let{userAgent:e}=t===void 0?{}:t;const s=Ic(),i=Re(),n=i.navigator.platform,r=e||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,a=i.screen.height,d=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=n==="Win32";let h=n==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&s.touch&&m.indexOf(`${l}x${a}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),d&&!p&&(o.os="android",o.android=!0),(c||f||u)&&(o.os="ios",o.ios=!0),o}function Rc(t){return t===void 0&&(t={}),zn||(zn=Og(t)),zn}let kn;function Ig(){const t=Re(),e=Rc();let s=!1;function i(){const l=t.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(i()){const l=String(t.navigator.userAgent);if(l.includes("Version/")){const[a,d]=l.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));s=a<16||a===16&&d<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=i(),o=r||n&&e.ios;return{isSafari:s||r,needPerspectiveFix:s,need3dFix:o,isWebView:n}}function Rg(){return kn||(kn=Ig()),kn}function zg(t){let{swiper:e,on:s,emit:i}=t;const n=Re();let r=null,o=null;const l=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(u=>{o=n.requestAnimationFrame(()=>{const{width:f,height:p}=e;let h=f,m=p;u.forEach(v=>{let{contentBoxSize:b,contentRect:w,target:g}=v;g&&g!==e.el||(h=w?w.width:(b[0]||b).inlineSize,m=w?w.height:(b[0]||b).blockSize)}),(h!==f||m!==p)&&l()})}),r.observe(e.el))},d=()=>{o&&n.cancelAnimationFrame(o),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},c=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};s("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){a();return}n.addEventListener("resize",l),n.addEventListener("orientationchange",c)}),s("destroy",()=>{d(),n.removeEventListener("resize",l),n.removeEventListener("orientationchange",c)})}function kg(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;const r=[],o=Re(),l=function(c,u){u===void 0&&(u={});const f=o.MutationObserver||o.WebkitMutationObserver,p=new f(h=>{if(e.__preventObserver__)return;if(h.length===1){n("observerUpdate",h[0]);return}const m=function(){n("observerUpdate",h[0])};o.requestAnimationFrame?o.requestAnimationFrame(m):o.setTimeout(m,0)});p.observe(c,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:e.isElement||(typeof u.childList>"u"?!0:u).childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),r.push(p)},a=()=>{if(e.params.observer){if(e.params.observeParents){const c=us(e.hostEl);for(let u=0;u{r.forEach(c=>{c.disconnect()}),r.splice(0,r.length)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",a),i("destroy",d)}var Dg={on(t,e,s){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const n=s?"unshift":"push";return t.split(" ").forEach(r=>{i.eventsListeners[r]||(i.eventsListeners[r]=[]),i.eventsListeners[r][n](e)}),i},once(t,e,s){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function n(){i.off(t,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,o=new Array(r),l=0;l=0&&e.eventsAnyListeners.splice(s,1),e},off(t,e){const s=this;return!s.eventsListeners||s.destroyed||!s.eventsListeners||t.split(" ").forEach(i=>{typeof e>"u"?s.eventsListeners[i]=[]:s.eventsListeners[i]&&s.eventsListeners[i].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&s.eventsListeners[i].splice(r,1)})}),s},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,s,i;for(var n=arguments.length,r=new Array(n),o=0;o{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(d=>{d.apply(i,[a,...s])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(d=>{d.apply(i,s)})}),t}};function $g(){const t=this;let e,s;const i=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=i.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?s=t.params.height:s=i.clientHeight,!(e===0&&t.isHorizontal()||s===0&&t.isVertical())&&(e=e-parseInt(Xt(i,"padding-left")||0,10)-parseInt(Xt(i,"padding-right")||0,10),s=s-parseInt(Xt(i,"padding-top")||0,10)-parseInt(Xt(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(s)&&(s=0),Object.assign(t,{width:e,height:s,size:t.isHorizontal()?e:s}))}function Ng(){const t=this;function e(M,z){return parseFloat(M.getPropertyValue(t.getDirectionLabel(z))||0)}const s=t.params,{wrapperEl:i,slidesEl:n,size:r,rtlTranslate:o,wrongRTL:l}=t,a=t.virtual&&s.virtual.enabled,d=a?t.virtual.slides.length:t.slides.length,c=Fe(n,`.${t.params.slideClass}, swiper-slide`),u=a?t.virtual.slides.length:c.length;let f=[];const p=[],h=[];let m=s.slidesOffsetBefore;typeof m=="function"&&(m=s.slidesOffsetBefore.call(t));let v=s.slidesOffsetAfter;typeof v=="function"&&(v=s.slidesOffsetAfter.call(t));const b=t.snapGrid.length,w=t.slidesGrid.length;let g=s.spaceBetween,y=-m,T=0,A=0;if(typeof r>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*r:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g,c.forEach(M=>{o?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(Bs(i,"--swiper-centered-offset-before",""),Bs(i,"--swiper-centered-offset-after",""));const L=s.grid&&s.grid.rows>1&&t.grid;L?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let P;const E=s.slidesPerView==="auto"&&s.breakpoints&&Object.keys(s.breakpoints).filter(M=>typeof s.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M1&&f.push(t.virtualSize-r)}if(a&&s.loop){const M=h[0]+g;if(s.slidesPerGroup>1){const z=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/s.slidesPerGroup),C=M*s.slidesPerGroup;for(let _=0;_!s.cssMode||s.loop?!0:C!==c.length-1).forEach(z=>{z.style[M]=`${g}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let M=0;h.forEach(C=>{M+=C+(g||0)}),M-=g;const z=M>r?M-r:0;f=f.map(C=>C<=0?-m:C>z?z+v:C)}if(s.centerInsufficientSlides){let M=0;h.forEach(C=>{M+=C+(g||0)}),M-=g;const z=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(M+z{f[R]=_-C}),p.forEach((_,R)=>{p[R]=_+C})}}if(Object.assign(t,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){Bs(i,"--swiper-centered-offset-before",`${-f[0]}px`),Bs(i,"--swiper-centered-offset-after",`${t.size/2-h[h.length-1]/2}px`);const M=-t.snapGrid[0],z=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+M),t.slidesGrid=t.slidesGrid.map(C=>C+z)}if(u!==d&&t.emit("slidesLengthChange"),f.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==w&&t.emit("slidesGridLengthChange"),s.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!s.cssMode&&(s.effect==="slide"||s.effect==="fade")){const M=`${s.containerModifierClass}backface-hidden`,z=t.el.classList.contains(M);u<=s.maxBackfaceHiddenSlides?z||t.el.classList.add(M):z&&t.el.classList.remove(M)}}function Fg(t){const e=this,s=[],i=e.virtual&&e.params.virtual.enabled;let n=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=l=>i?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{s.push(l)});else for(r=0;re.slides.length&&!i)break;s.push(o(l))}else s.push(o(e.activeIndex));for(r=0;rn?l:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function Hg(){const t=this,e=t.slides,s=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let i=0;i{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function Bg(t){t===void 0&&(t=this&&this.translate||0);const e=this,s=e.params,{slides:i,rtlTranslate:n,snapGrid:r}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-t;n&&(o=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=s.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let a=0;a=0&&p<=e.size-e.slidesSizesGrid[a],v=p>=0&&p1&&h<=e.size||p<=0&&h>=e.size;v&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(a)),da(d,v,s.slideVisibleClass),da(d,m,s.slideFullyVisibleClass),d.progress=n?-u:u,d.originalProgress=n?-f:f}}function jg(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const s=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:o,progressLoop:l}=e;const a=r,d=o;if(i===0)n=0,r=!0,o=!0;else{n=(t-e.minTranslate())/i;const c=Math.abs(t-e.minTranslate())<1,u=Math.abs(t-e.maxTranslate())<1;r=c||n<=0,o=u||n>=1,c&&(n=0),u&&(n=1)}if(s.loop){const c=e.getSlideIndexByData(0),u=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[c],p=e.slidesGrid[u],h=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(t);m>=f?l=(m-f)/h:l=(m+h-p)/h,l>1&&(l-=1)}Object.assign(e,{progress:n,progressLoop:l,isBeginning:r,isEnd:o}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&e.updateSlidesProgress(t),r&&!a&&e.emit("reachBeginning toEdge"),o&&!d&&e.emit("reachEnd toEdge"),(a&&!r||d&&!o)&&e.emit("fromEdge"),e.emit("progress",n)}const Dn=(t,e,s)=>{e&&!t.classList.contains(s)?t.classList.add(s):!e&&t.classList.contains(s)&&t.classList.remove(s)};function qg(){const t=this,{slides:e,params:s,slidesEl:i,activeIndex:n}=t,r=t.virtual&&s.virtual.enabled,o=t.grid&&s.grid&&s.grid.rows>1,l=u=>Fe(i,`.${s.slideClass}${u}, swiper-slide${u}`)[0];let a,d,c;if(r)if(s.loop){let u=n-t.virtual.slidesBefore;u<0&&(u=t.virtual.slides.length+u),u>=t.virtual.slides.length&&(u-=t.virtual.slides.length),a=l(`[data-swiper-slide-index="${u}"]`)}else a=l(`[data-swiper-slide-index="${n}"]`);else o?(a=e.filter(u=>u.column===n)[0],c=e.filter(u=>u.column===n+1)[0],d=e.filter(u=>u.column===n-1)[0]):a=e[n];a&&(o||(c=Ag(a,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=e[0]),d=Pg(a,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(u=>{Dn(u,u===a,s.slideActiveClass),Dn(u,u===c,s.slideNextClass),Dn(u,u===d,s.slidePrevClass)}),t.emitSlidesClasses()}const _i=(t,e)=>{if(!t||t.destroyed||!t.params)return;const s=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,i=e.closest(s());if(i){let n=i.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(i.shadowRoot?n=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(n=i.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},$n=(t,e)=>{if(!t.slides[e])return;const s=t.slides[e].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},dr=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const s=t.slides.length;if(!s||!e||e<0)return;e=Math.min(e,s);const i=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=n,l=[o-e];l.push(...Array.from({length:e}).map((a,d)=>o+i+d)),t.slides.forEach((a,d)=>{l.includes(a.column)&&$n(t,d)});return}const r=n+i-1;if(t.params.rewind||t.params.loop)for(let o=n-e;o<=r+e;o+=1){const l=(o%s+s)%s;(lr)&&$n(t,l)}else for(let o=Math.max(n-e,0);o<=Math.min(r+e,s-1);o+=1)o!==n&&(o>r||o=e[r]&&i=e[r]&&i=e[r]&&(n=r);return s.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function Wg(t){const e=this,s=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:n,activeIndex:r,realIndex:o,snapIndex:l}=e;let a=t,d;const c=p=>{let h=p-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof a>"u"&&(a=Vg(e)),i.indexOf(s)>=0)d=i.indexOf(s);else{const p=Math.min(n.slidesPerGroupSkip,a);d=p+Math.floor((a-p)/n.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),a===r&&!e.params.loop){d!==l&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(a===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(a);return}const u=e.grid&&n.grid&&n.grid.rows>1;let f;if(e.virtual&&n.virtual.enabled&&n.loop)f=c(a);else if(u){const p=e.slides.filter(m=>m.column===a)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(p),0)),f=Math.floor(h/n.grid.rows)}else if(e.slides[a]){const p=e.slides[a].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=a}else f=a;Object.assign(e,{previousSnapIndex:l,snapIndex:d,previousRealIndex:o,realIndex:f,previousIndex:r,activeIndex:a}),e.initialized&&dr(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function Gg(t,e){const s=this,i=s.params;let n=t.closest(`.${i.slideClass}, swiper-slide`);!n&&s.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(l=>{!n&&l.matches&&l.matches(`.${i.slideClass}, swiper-slide`)&&(n=l)});let r=!1,o;if(n){for(let l=0;la?c=a:i&&to?l="next":r"u"&&(e=r.params.speed);const m=Math.min(r.params.slidesPerGroupSkip,o);let v=m+Math.floor((o-m)/r.params.slidesPerGroup);v>=a.length&&(v=a.length-1);const b=-a[v];if(l.normalizeSlideIndex)for(let T=0;T=L&&A=L&&A=L&&(o=T)}if(r.initialized&&o!==u&&(!r.allowSlideNext&&(f?b>r.translate&&b>r.minTranslate():br.translate&&b>r.maxTranslate()&&(u||0)!==o))return!1;o!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(b);let w;o>u?w="next":o0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[T?"scrollLeft":"scrollTop"]=A})):p[T?"scrollLeft":"scrollTop"]=A,g&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return Oc({swiper:r,targetPosition:A,side:T?"left":"top"}),!0;p.scrollTo({[T?"left":"top"]:A,behavior:"smooth"})}return!0}return r.setTransition(e),r.setTranslate(b),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(s,w),e===0?r.transitionEnd(s,w):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(A){!r||r.destroyed||A.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,w))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function rv(t,e,s,i){t===void 0&&(t=0),s===void 0&&(s=!0),typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let o=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)o=o+n.virtual.slidesBefore;else{let l;if(r){const f=o*n.params.grid.rows;l=n.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else l=n.getSlideIndexByData(o);const a=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:d}=n.params;let c=n.params.slidesPerView;c==="auto"?c=n.slidesPerViewDynamic():(c=Math.ceil(parseFloat(n.params.slidesPerView,10)),d&&c%2===0&&(c=c+1));let u=a-lp.getAttribute("data-swiper-slide-index")*1===f)[0].column}else o=n.getSlideIndexByData(o)}return requestAnimationFrame(()=>{n.slideTo(o,e,s,i)}),n}function ov(t,e,s){e===void 0&&(e=!0);const i=this,{enabled:n,params:r,animating:o}=i;if(!n||i.destroyed)return i;typeof t>"u"&&(t=i.params.speed);let l=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(l=Math.max(i.slidesPerViewDynamic("current",!0),1));const a=i.activeIndex{i.slideTo(i.activeIndex+a,t,e,s)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,t,e,s):i.slideTo(i.activeIndex+a,t,e,s)}function av(t,e,s){e===void 0&&(e=!0);const i=this,{params:n,snapGrid:r,slidesGrid:o,rtlTranslate:l,enabled:a,animating:d}=i;if(!a||i.destroyed)return i;typeof t>"u"&&(t=i.params.speed);const c=i.virtual&&n.virtual.enabled;if(n.loop){if(d&&!c&&n.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const u=l?i.translate:-i.translate;function f(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const p=f(u),h=r.map(b=>f(b));let m=r[h.indexOf(p)-1];if(typeof m>"u"&&n.cssMode){let b;r.forEach((w,g)=>{p>=w&&(b=g)}),typeof b<"u"&&(m=r[b>0?b-1:b])}let v=0;if(typeof m<"u"&&(v=o.indexOf(m),v<0&&(v=i.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(v=v-i.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),n.rewind&&i.isBeginning){const b=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(b,t,e,s)}else if(n.loop&&i.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{i.slideTo(v,t,e,s)}),!0;return i.slideTo(v,t,e,s)}function lv(t,e,s){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof t>"u"&&(t=i.params.speed),i.slideTo(i.activeIndex,t,e,s)}function cv(t,e,s,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const o=Math.min(n.params.slidesPerGroupSkip,r),l=o+Math.floor((r-o)/n.params.slidesPerGroup),a=n.rtlTranslate?n.translate:-n.translate;if(a>=n.snapGrid[l]){const d=n.snapGrid[l],c=n.snapGrid[l+1];a-d>(c-d)*i&&(r+=n.params.slidesPerGroup)}else{const d=n.snapGrid[l-1],c=n.snapGrid[l];a-d<=(c-d)*i&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,s)}function uv(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:s}=t,i=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.clickedIndex,r;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?nt.slides.length-t.loopedSlides+i/2?(t.loopFix(),n=t.getSlideIndex(Fe(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),ps(()=>{t.slideTo(n)})):t.slideTo(n):n>t.slides.length-i?(t.loopFix(),n=t.getSlideIndex(Fe(s,`${o}[data-swiper-slide-index="${r}"]`)[0]),ps(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var dv={slideTo:nv,slideToLoop:rv,slideNext:ov,slidePrev:av,slideReset:lv,slideToClosest:cv,slideToClickedSlide:uv};function fv(t){const e=this,{params:s,slidesEl:i}=e;if(!s.loop||e.virtual&&e.params.virtual.enabled)return;const n=()=>{Fe(i,`.${s.slideClass}, swiper-slide`).forEach((u,f)=>{u.setAttribute("data-swiper-slide-index",f)})},r=e.grid&&s.grid&&s.grid.rows>1,o=s.slidesPerGroup*(r?s.grid.rows:1),l=e.slides.length%o!==0,a=r&&e.slides.length%s.grid.rows!==0,d=c=>{for(let u=0;u1;d.length"u"?r=a.getSlideIndex(d.filter(_=>_.classList.contains(p.slideActiveClass))[0]):T=r;const A=i==="next"||!i,L=i==="prev"||!i;let P=0,E=0;const M=w?Math.ceil(d.length/p.grid.rows):d.length,C=(w?d[r].column:r)+(h&&typeof n>"u"?-m/2+.5:0);if(C=0;H-=1)d[H].column===N&&g.push(H)}else g.push(M-R-1)}}else if(C+m>M-b){E=Math.max(C-(M-b*2),v);for(let _=0;_{N.column===R&&y.push(H)}):y.push(R)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),L&&g.forEach(_=>{d[_].swiperLoopMoveDOM=!0,f.prepend(d[_]),d[_].swiperLoopMoveDOM=!1}),A&&y.forEach(_=>{d[_].swiperLoopMoveDOM=!0,f.append(d[_]),d[_].swiperLoopMoveDOM=!1}),a.recalcSlides(),p.slidesPerView==="auto"?a.updateSlides():w&&(g.length>0&&L||y.length>0&&A)&&a.slides.forEach((_,R)=>{a.grid.updateSlide(R,_,a.slides)}),p.watchSlidesProgress&&a.updateSlidesOffset(),s){if(g.length>0&&L){if(typeof e>"u"){const _=a.slidesGrid[T],N=a.slidesGrid[T+P]-_;l?a.setTranslate(a.translate-N):(a.slideTo(T+Math.ceil(P),0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else if(n){const _=w?g.length/p.grid.rows:g.length;a.slideTo(a.activeIndex+_,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(y.length>0&&A)if(typeof e>"u"){const _=a.slidesGrid[T],N=a.slidesGrid[T-E]-_;l?a.setTranslate(a.translate-N):(a.slideTo(T-E,0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else{const _=w?y.length/p.grid.rows:y.length;a.slideTo(a.activeIndex-_,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=u,a.controller&&a.controller.control&&!o){const _={slideRealIndex:e,direction:i,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(R=>{!R.destroyed&&R.params.loop&&R.loopFix({..._,slideTo:R.params.slidesPerView===p.slidesPerView?s:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({..._,slideTo:a.controller.control.params.slidesPerView===p.slidesPerView?s:!1})}a.emit("loopFix")}function hv(){const t=this,{params:e,slidesEl:s}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const i=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;i[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),i.forEach(n=>{s.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var mv={loopCreate:fv,loopFix:pv,loopDestroy:hv};function gv(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const s=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function vv(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var wv={setGrabCursor:gv,unsetGrabCursor:vv};function bv(t,e){e===void 0&&(e=this);function s(i){if(!i||i===He()||i===Re())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(t);return!n&&!i.getRootNode?null:n||s(i.getRootNode().host)}return s(e)}function fa(t,e,s){const i=Re(),{params:n}=t,r=n.edgeSwipeDetection,o=n.edgeSwipeThreshold;return r&&(s<=o||s>=i.innerWidth-o)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function yv(t){const e=this,s=He();let i=t;i.originalEvent&&(i=i.originalEvent);const n=e.touchEventsData;if(i.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(n.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){fa(e,i,i.targetTouches[0].pageX);return}const{params:r,touches:o,enabled:l}=e;if(!l||!r.simulateTouch&&i.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let a=i.target;if(r.touchEventsTarget==="wrapper"&&!Mg(a,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||n.isTouched&&n.isMoved)return;const d=!!r.noSwipingClass&&r.noSwipingClass!=="",c=i.composedPath?i.composedPath():i.path;d&&i.target&&i.target.shadowRoot&&c&&(a=c[0]);const u=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,f=!!(i.target&&i.target.shadowRoot);if(r.noSwiping&&(f?bv(u,a):a.closest(u))){e.allowClick=!0;return}if(r.swipeHandler&&!a.closest(r.swipeHandler))return;o.currentX=i.pageX,o.currentY=i.pageY;const p=o.currentX,h=o.currentY;if(!fa(e,i,p))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=h,n.touchStartTime=lt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let m=!0;a.matches(n.focusableElements)&&(m=!1,a.nodeName==="SELECT"&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==a&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!a.matches(n.focusableElements))&&s.activeElement.blur();const v=m&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||v)&&!a.isContentEditable&&i.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function Sv(t){const e=He(),s=this,i=s.touchEventsData,{params:n,touches:r,rtlTranslate:o,enabled:l}=s;if(!l||!n.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(i.touchId!==null||a.pointerId!==i.pointerId))return;let d;if(a.type==="touchmove"){if(d=[...a.changedTouches].filter(A=>A.identifier===i.touchId)[0],!d||d.identifier!==i.touchId)return}else d=a;if(!i.isTouched){i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",a);return}const c=d.pageX,u=d.pageY;if(a.preventedByNestedSwiper){r.startX=c,r.startY=u;return}if(!s.allowTouchMove){a.target.matches(i.focusableElements)||(s.allowClick=!1),i.isTouched&&(Object.assign(r,{startX:c,startY:u,currentX:c,currentY:u}),i.touchStartTime=lt());return}if(n.touchReleaseOnEdges&&!n.loop){if(s.isVertical()){if(ur.startY&&s.translate>=s.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(cr.startX&&s.translate>=s.minTranslate())return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(i.focusableElements)){i.isMoved=!0,s.allowClick=!1;return}i.allowTouchCallbacks&&s.emit("touchMove",a),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=u;const f=r.currentX-r.startX,p=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(f**2+p**2)"u"){let A;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:f*f+p*p>=25&&(A=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,i.isScrolling=s.isHorizontal()?A>n.touchAngle:90-A>n.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",a),typeof i.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(i.startMoving=!0),i.isScrolling||a.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;s.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let h=s.isHorizontal()?f:p,m=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(h=Math.abs(h)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),r.diff=h,h*=n.touchRatio,o&&(h=-h,m=-m);const v=s.touchesDirection;s.swipeDirection=h>0?"prev":"next",s.touchesDirection=m>0?"prev":"next";const b=s.params.loop&&!n.cssMode,w=s.touchesDirection==="next"&&s.allowSlideNext||s.touchesDirection==="prev"&&s.allowSlidePrev;if(!i.isMoved){if(b&&w&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(A)}i.allowMomentumBounce=!1,n.grabCursor&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",a)}let g;if(new Date().getTime(),i.isMoved&&i.allowThresholdMove&&v!==s.touchesDirection&&b&&w&&Math.abs(h)>=1){Object.assign(r,{startX:c,startY:u,currentX:c,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}s.emit("sliderMove",a),i.isMoved=!0,i.currentTranslate=h+i.startTranslate;let y=!0,T=n.resistanceRatio;if(n.touchReleaseOnEdges&&(T=0),h>0?(b&&w&&!g&&i.allowThresholdMove&&i.currentTranslate>(n.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-(n.slidesPerView!=="auto"&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(y=!1,n.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+h)**T))):h<0&&(b&&w&&!g&&i.allowThresholdMove&&i.currentTranslate<(n.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+(n.slidesPerView!=="auto"&&s.slides.length-n.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-(n.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&!s.allowSlideNext&&(i.currentTranslate=i.startTranslate),n.threshold>0)if(Math.abs(h)>n.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{i.currentTranslate=i.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function Ev(t){const e=this,s=e.touchEventsData;let i=t;i.originalEvent&&(i=i.originalEvent);let n;if(i.type==="touchend"||i.type==="touchcancel"){if(n=[...i.changedTouches].filter(T=>T.identifier===s.touchId)[0],!n||n.identifier!==s.touchId)return}else{if(s.touchId!==null||i.pointerId!==s.pointerId)return;n=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;s.pointerId=null,s.touchId=null;const{params:o,touches:l,rtlTranslate:a,slidesGrid:d,enabled:c}=e;if(!c||!o.simulateTouch&&i.pointerType==="mouse")return;if(s.allowTouchCallbacks&&e.emit("touchEnd",i),s.allowTouchCallbacks=!1,!s.isTouched){s.isMoved&&o.grabCursor&&e.setGrabCursor(!1),s.isMoved=!1,s.startMoving=!1;return}o.grabCursor&&s.isMoved&&s.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const u=lt(),f=u-s.touchStartTime;if(e.allowClick){const T=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(T&&T[0]||i.target,T),e.emit("tap click",i),f<300&&u-s.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(s.lastClickTime=lt(),ps(()=>{e.destroyed||(e.allowClick=!0)}),!s.isTouched||!s.isMoved||!e.swipeDirection||l.diff===0&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset){s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;return}s.isTouched=!1,s.isMoved=!1,s.startMoving=!1;let p;if(o.followFinger?p=a?e.translate:-e.translate:p=-s.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-e.maxTranslate()&&!e.params.loop;let m=0,v=e.slidesSizesGrid[0];for(let T=0;T=d[T]&&p=d[T])&&(m=T,v=d[d.length-1]-d[d.length-2])}let b=null,w=null;o.rewind&&(e.isBeginning?w=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(b=0));const g=(p-d[m])/v,y=mo.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?b:m+y):e.slideTo(m)),e.swipeDirection==="prev"&&(g>1-o.longSwipesRatio?e.slideTo(m+y):w!==null&&g<0&&Math.abs(g)>o.longSwipesRatio?e.slideTo(w):e.slideTo(m))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(m+y):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(b!==null?b:m+y),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:m))}}function pa(){const t=this,{params:e,el:s}=t;if(s&&s.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:n,snapGrid:r}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const l=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!l?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=i,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function xv(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Tv(){const t=this,{wrapperEl:e,rtlTranslate:s,enabled:i}=t;if(!i)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(s?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Cv(t){const e=this;_i(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function _v(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const kc=(t,e)=>{const s=He(),{params:i,el:n,wrapperEl:r,device:o}=t,l=!!i.nested,a=e==="on"?"addEventListener":"removeEventListener",d=e;!n||typeof n=="string"||(s[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:l}),n[a]("touchstart",t.onTouchStart,{passive:!1}),n[a]("pointerdown",t.onTouchStart,{passive:!1}),s[a]("touchmove",t.onTouchMove,{passive:!1,capture:l}),s[a]("pointermove",t.onTouchMove,{passive:!1,capture:l}),s[a]("touchend",t.onTouchEnd,{passive:!0}),s[a]("pointerup",t.onTouchEnd,{passive:!0}),s[a]("pointercancel",t.onTouchEnd,{passive:!0}),s[a]("touchcancel",t.onTouchEnd,{passive:!0}),s[a]("pointerout",t.onTouchEnd,{passive:!0}),s[a]("pointerleave",t.onTouchEnd,{passive:!0}),s[a]("contextmenu",t.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&n[a]("click",t.onClick,!0),i.cssMode&&r[a]("scroll",t.onScroll),i.updateOnWindowResize?t[d](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",pa,!0):t[d]("observerUpdate",pa,!0),n[a]("load",t.onLoad,{capture:!0}))};function Mv(){const t=this,{params:e}=t;t.onTouchStart=yv.bind(t),t.onTouchMove=Sv.bind(t),t.onTouchEnd=Ev.bind(t),t.onDocumentTouchStart=_v.bind(t),e.cssMode&&(t.onScroll=Tv.bind(t)),t.onClick=xv.bind(t),t.onLoad=Cv.bind(t),kc(t,"on")}function Pv(){kc(this,"off")}var Av={attachEvents:Mv,detachEvents:Pv};const ha=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Lv(){const t=this,{realIndex:e,initialized:s,params:i,el:n}=t,r=i.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const o=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(!o||t.currentBreakpoint===o)return;const a=(o in r?r[o]:void 0)||t.originalParams,d=ha(t,i),c=ha(t,a),u=t.params.grabCursor,f=a.grabCursor,p=i.enabled;d&&!c?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),t.emitContainerClasses()):!d&&c&&(n.classList.add(`${i.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&i.grid.fill==="column")&&n.classList.add(`${i.containerModifierClass}grid-column`),t.emitContainerClasses()),u&&!f?t.unsetGrabCursor():!u&&f&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof a[g]>"u")return;const y=i[g]&&i[g].enabled,T=a[g]&&a[g].enabled;y&&!T&&t[g].disable(),!y&&T&&t[g].enable()});const h=a.direction&&a.direction!==i.direction,m=i.loop&&(a.slidesPerView!==i.slidesPerView||h),v=i.loop;h&&s&&t.changeDirection(),it(t.params,a);const b=t.params.enabled,w=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!b?t.disable():!p&&b&&t.enable(),t.currentBreakpoint=o,t.emit("_beforeBreakpoint",a),s&&(m?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!v&&w?(t.loopCreate(e),t.updateSlides()):v&&!w&&t.loopDestroy()),t.emit("breakpoint",a)}function Ov(t,e,s){if(e===void 0&&(e="window"),!t||e==="container"&&!s)return;let i=!1;const n=Re(),r=e==="window"?n.innerHeight:s.clientHeight,o=Object.keys(t).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const a=parseFloat(l.substr(1));return{value:r*a,point:l}}return{value:l,point:l}});o.sort((l,a)=>parseInt(l.value,10)-parseInt(a.value,10));for(let l=0;l{typeof i=="object"?Object.keys(i).forEach(n=>{i[n]&&s.push(e+n)}):typeof i=="string"&&s.push(e+i)}),s}function zv(){const t=this,{classNames:e,params:s,rtl:i,el:n,device:r}=t,o=Rv(["initialized",s.direction,{"free-mode":t.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&s.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);e.push(...o),n.classList.add(...e),t.emitContainerClasses()}function kv(){const t=this,{el:e,classNames:s}=t;!e||typeof e=="string"||(e.classList.remove(...s),t.emitContainerClasses())}var Dv={addClasses:zv,removeClasses:kv};function $v(){const t=this,{isLocked:e,params:s}=t,{slidesOffsetBefore:i}=s;if(i){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+i*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;s.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),s.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Nv={checkOverflow:$v},fr={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Fv(t,e){return function(i){i===void 0&&(i={});const n=Object.keys(i)[0],r=i[n];if(typeof r!="object"||r===null){it(e,i);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){it(e,i);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),it(e,i)}}const Nn={eventsEmitter:Dg,update:Ug,translate:Qg,transition:iv,slide:dv,loop:mv,grabCursor:wv,events:Av,breakpoints:Iv,checkOverflow:Nv,classes:Dv},Fn={};class st{constructor(){let e,s;for(var i=arguments.length,n=new Array(i),r=0;r1){const c=[];return o.querySelectorAll(s.el).forEach(u=>{const f=it({},s,{el:u});c.push(new st(f))}),c}const l=this;l.__swiper__=!0,l.support=Ic(),l.device=Rc({userAgent:s.userAgent}),l.browser=Rg(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],s.modules&&Array.isArray(s.modules)&&l.modules.push(...s.modules);const a={};l.modules.forEach(c=>{c({params:s,swiper:l,extendParams:Fv(s,a),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const d=it({},fr,a);return l.params=it({},d,Fn,s),l.originalParams=it({},l.params),l.passedParams=it({},s),l.params&&l.params.on&&Object.keys(l.params.on).forEach(c=>{l.on(c,l.params.on[c])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:s,params:i}=this,n=Fe(s,`.${i.slideClass}, swiper-slide`),r=oi(n[0]);return oi(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(s=>s.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:s,params:i}=e;e.slides=Fe(s,`.${i.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,s){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),o=(i.maxTranslate()-n)*e+n;i.translateTo(o,typeof s>"u"?0:s),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",s.join(" "))}getSlideClasses(e){const s=this;return s.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(s.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const s=[];e.slides.forEach(i=>{const n=e.getSlideClasses(i);s.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",s)}slidesPerViewDynamic(e,s){e===void 0&&(e="current"),s===void 0&&(s=!1);const i=this,{params:n,slides:r,slidesGrid:o,slidesSizesGrid:l,size:a,activeIndex:d}=i;let c=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let u=r[d]?Math.ceil(r[d].swiperSlideSize):0,f;for(let p=d+1;pa&&(f=!0));for(let p=d-1;p>=0;p-=1)r[p]&&!f&&(u+=r[p].swiperSlideSize,c+=1,u>a&&(f=!0))}else if(e==="current")for(let u=d+1;u=0;u-=1)o[d]-o[u]{o.complete&&_i(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){const o=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const o=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(o.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}i.watchOverflow&&s!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,s){s===void 0&&(s=!0);const i=this,n=i.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),i.emit("changeDirection"),s&&i.update()),i}changeLanguageDirection(e){const s=this;s.rtl&&e==="rtl"||!s.rtl&&e==="ltr"||(s.rtl=e==="rtl",s.rtlTranslate=s.params.direction==="horizontal"&&s.rtl,s.rtl?(s.el.classList.add(`${s.params.containerModifierClass}rtl`),s.el.dir="rtl"):(s.el.classList.remove(`${s.params.containerModifierClass}rtl`),s.el.dir="ltr"),s.update())}mount(e){const s=this;if(s.mounted)return!0;let i=e||s.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=s,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===s.params.swiperElementNodeName.toUpperCase()&&(s.isElement=!0);const n=()=>`.${(s.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):Fe(i,n())[0];return!o&&s.params.createElements&&(o=rt("div",s.params.wrapperClass),i.append(o),Fe(i,`.${s.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(s,{el:i,wrapperEl:o,slidesEl:s.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:o,hostEl:s.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||Xt(i,"direction")==="rtl",rtlTranslate:s.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||Xt(i,"direction")==="rtl"),wrongRTL:Xt(o,"display")==="-webkit-box"}),!0}init(e){const s=this;if(s.initialized||s.mount(e)===!1)return s;s.emit("beforeInit"),s.params.breakpoints&&s.setBreakpoint(),s.addClasses(),s.updateSize(),s.updateSlides(),s.params.watchOverflow&&s.checkOverflow(),s.params.grabCursor&&s.enabled&&s.setGrabCursor(),s.params.loop&&s.virtual&&s.params.virtual.enabled?s.slideTo(s.params.initialSlide+s.virtual.slidesBefore,0,s.params.runCallbacksOnInit,!1,!0):s.slideTo(s.params.initialSlide,0,s.params.runCallbacksOnInit,!1,!0),s.params.loop&&s.loopCreate(),s.attachEvents();const n=[...s.el.querySelectorAll('[loading="lazy"]')];return s.isElement&&n.push(...s.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?_i(s,r):r.addEventListener("load",o=>{_i(s,o.target)})}),dr(s),s.initialized=!0,dr(s),s.emit("init"),s.emit("afterInit"),s}destroy(e,s){e===void 0&&(e=!0),s===void 0&&(s=!0);const i=this,{params:n,el:r,wrapperEl:o,slides:l}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),s&&(i.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),o&&o.removeAttribute("style"),l&&l.length&&l.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(a=>{i.off(a)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),Tg(i)),i.destroyed=!0),null}static extendDefaults(e){it(Fn,e)}static get extendedDefaults(){return Fn}static get defaults(){return fr}static installModule(e){st.prototype.__modules__||(st.prototype.__modules__=[]);const s=st.prototype.__modules__;typeof e=="function"&&s.indexOf(e)<0&&s.push(e)}static use(e){return Array.isArray(e)?(e.forEach(s=>st.installModule(s)),st):(st.installModule(e),st)}}Object.keys(Nn).forEach(t=>{Object.keys(Nn[t]).forEach(e=>{st.prototype[e]=Nn[t][e]})});st.use([zg,kg]);function Hv(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;s({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let r;const o=He();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=o.createElement("div");function a(h,m){const v=e.params.virtual;if(v.cache&&e.virtual.cache[m])return e.virtual.cache[m];let b;return v.renderSlide?(b=v.renderSlide.call(e,h,m),typeof b=="string"&&(l.innerHTML=b,b=l.children[0])):e.isElement?b=rt("swiper-slide"):b=rt("div",e.params.slideClass),b.setAttribute("data-swiper-slide-index",m),v.renderSlide||(b.innerHTML=h),v.cache&&(e.virtual.cache[m]=b),b}function d(h,m){const{slidesPerView:v,slidesPerGroup:b,centeredSlides:w,loop:g,initialSlide:y}=e.params;if(m&&!g&&y>0)return;const{addSlidesBefore:T,addSlidesAfter:A}=e.params.virtual,{from:L,to:P,slides:E,slidesGrid:M,offset:z}=e.virtual;e.params.cssMode||e.updateActiveIndex();const C=e.activeIndex||0;let _;e.rtlTranslate?_="right":_=e.isHorizontal()?"left":"top";let R,N;w?(R=Math.floor(v/2)+b+A,N=Math.floor(v/2)+b+T):(R=v+(b-1)+A,N=(g?v:b)+T);let H=C-N,O=C+R;g||(H=Math.max(H,0),O=Math.min(O,E.length-1));let I=(e.slidesGrid[H]||0)-(e.slidesGrid[0]||0);g&&C>=N?(H-=N,w||(I+=e.slidesGrid[0])):g&&C{ie.style[_]=`${I-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),n("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:I,from:H,to:O,slides:function(){const de=[];for(let $=H;$<=O;$+=1)de.push(E[$]);return de}()}),e.params.virtual.renderExternalUpdate?X():n("virtualUpdate");return}const oe=[],B=[],W=ie=>{let de=ie;return ie<0?de=E.length+ie:de>=E.length&&(de=de-E.length),de};if(h)e.slides.filter(ie=>ie.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(ie=>{ie.remove()});else for(let ie=L;ie<=P;ie+=1)if(ieO){const de=W(ie);e.slides.filter($=>$.matches(`.${e.params.slideClass}[data-swiper-slide-index="${de}"], swiper-slide[data-swiper-slide-index="${de}"]`)).forEach($=>{$.remove()})}const Q=g?-E.length:0,ve=g?E.length*2:E.length;for(let ie=Q;ie=H&&ie<=O){const de=W(ie);typeof P>"u"||h?B.push(de):(ie>P&&B.push(de),ie{e.slidesEl.append(a(E[ie],ie))}),g)for(let ie=oe.length-1;ie>=0;ie-=1){const de=oe[ie];e.slidesEl.prepend(a(E[de],de))}else oe.sort((ie,de)=>de-ie),oe.forEach(ie=>{e.slidesEl.prepend(a(E[ie],ie))});Fe(e.slidesEl,".swiper-slide, swiper-slide").forEach(ie=>{ie.style[_]=`${I-Math.abs(e.cssOverflowAdjustment())}px`}),X()}function c(h){if(typeof h=="object"&&"length"in h)for(let m=0;m{const T=w[y],A=T.getAttribute("data-swiper-slide-index");A&&T.setAttribute("data-swiper-slide-index",parseInt(A,10)+b),g[parseInt(y,10)+b]=T}),e.virtual.cache=g}d(!0),e.slideTo(v,0)}function f(h){if(typeof h>"u"||h===null)return;let m=e.activeIndex;if(Array.isArray(h))for(let v=h.length-1;v>=0;v-=1)e.params.virtual.cache&&(delete e.virtual.cache[h[v]],Object.keys(e.virtual.cache).forEach(b=>{b>h&&(e.virtual.cache[b-1]=e.virtual.cache[b],e.virtual.cache[b-1].setAttribute("data-swiper-slide-index",b-1),delete e.virtual.cache[b])})),e.virtual.slides.splice(h[v],1),h[v]{v>h&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(h,1),h{if(!e.params.virtual.enabled)return;let h;if(typeof e.passedParams.virtual.slides>"u"){const m=[...e.slidesEl.children].filter(v=>v.matches(`.${e.params.slideClass}, swiper-slide`));m&&m.length&&(e.virtual.slides=[...m],h=!0,m.forEach((v,b)=>{v.setAttribute("data-swiper-slide-index",b),e.virtual.cache[b]=v,v.remove()}))}h||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,d(!1,!0)}),i("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(r),r=setTimeout(()=>{d()},100)):d())}),i("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Bs(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:u,removeSlide:f,removeAllSlides:p,update:d})}function Bv(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;const r=He(),o=Re();e.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function l(c){if(!e.enabled)return;const{rtlTranslate:u}=e;let f=c;f.originalEvent&&(f=f.originalEvent);const p=f.keyCode||f.charCode,h=e.params.keyboard.pageUpDown,m=h&&p===33,v=h&&p===34,b=p===37,w=p===39,g=p===38,y=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&w||e.isVertical()&&y||v)||!e.allowSlidePrev&&(e.isHorizontal()&&b||e.isVertical()&&g||m))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(r.activeElement&&r.activeElement.nodeName&&(r.activeElement.nodeName.toLowerCase()==="input"||r.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(m||v||b||w||g||y)){let T=!1;if(us(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&us(e.el,`.${e.params.slideActiveClass}`).length===0)return;const A=e.el,L=A.clientWidth,P=A.clientHeight,E=o.innerWidth,M=o.innerHeight,z=Fi(A);u&&(z.left-=A.scrollLeft);const C=[[z.left,z.top],[z.left+L,z.top],[z.left,z.top+P],[z.left+L,z.top+P]];for(let _=0;_=0&&R[0]<=E&&R[1]>=0&&R[1]<=M){if(R[0]===0&&R[1]===0)continue;T=!0}}if(!T)return}e.isHorizontal()?((m||v||b||w)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((v||w)&&!u||(m||b)&&u)&&e.slideNext(),((m||b)&&!u||(v||w)&&u)&&e.slidePrev()):((m||v||g||y)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(v||y)&&e.slideNext(),(m||g)&&e.slidePrev()),n("keyPress",p)}}function a(){e.keyboard.enabled||(r.addEventListener("keydown",l),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&(r.removeEventListener("keydown",l),e.keyboard.enabled=!1)}i("init",()=>{e.params.keyboard.enabled&&a()}),i("destroy",()=>{e.keyboard.enabled&&d()}),Object.assign(e.keyboard,{enable:a,disable:d})}function jv(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;const r=Re();s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let o,l=lt(),a;const d=[];function c(g){let L=0,P=0,E=0,M=0;return"detail"in g&&(P=g.detail),"wheelDelta"in g&&(P=-g.wheelDelta/120),"wheelDeltaY"in g&&(P=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(L=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(L=P,P=0),E=L*10,M=P*10,"deltaY"in g&&(M=g.deltaY),"deltaX"in g&&(E=g.deltaX),g.shiftKey&&!E&&(E=M,M=0),(E||M)&&g.deltaMode&&(g.deltaMode===1?(E*=40,M*=40):(E*=800,M*=800)),E&&!L&&(L=E<1?-1:1),M&&!P&&(P=M<1?-1:1),{spinX:L,spinY:P,pixelX:E,pixelY:M}}function u(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function p(g){return e.params.mousewheel.thresholdDelta&&g.delta=6&<()-l<60?!0:(g.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),n("scroll",g.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),n("scroll",g.raw)),l=new r.Date().getTime(),!1)}function h(g){const y=e.params.mousewheel;if(g.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function m(g){let y=g,T=!0;if(!e.enabled||g.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const A=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let L=e.el;e.params.mousewheel.eventsTarget!=="container"&&(L=document.querySelector(e.params.mousewheel.eventsTarget));const P=L&&L.contains(y.target);if(!e.mouseEntered&&!P&&!A.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let E=0;const M=e.rtlTranslate?-1:1,z=c(y);if(A.forceToAxis)if(e.isHorizontal())if(Math.abs(z.pixelX)>Math.abs(z.pixelY))E=-z.pixelX*M;else return!0;else if(Math.abs(z.pixelY)>Math.abs(z.pixelX))E=-z.pixelY;else return!0;else E=Math.abs(z.pixelX)>Math.abs(z.pixelY)?-z.pixelX*M:-z.pixelY;if(E===0)return!0;A.invert&&(E=-E);let C=e.getTranslate()+E*A.sensitivity;if(C>=e.minTranslate()&&(C=e.minTranslate()),C<=e.maxTranslate()&&(C=e.maxTranslate()),T=e.params.loop?!0:!(C===e.minTranslate()||C===e.maxTranslate()),T&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const _={time:lt(),delta:Math.abs(E),direction:Math.sign(E),raw:g};d.length>=2&&d.shift();const R=d.length?d[d.length-1]:void 0;if(d.push(_),R?(_.direction!==R.direction||_.delta>R.delta||_.time>R.time+150)&&p(_):p(_),h(_))return!0}else{const _={time:lt(),delta:Math.abs(E),direction:Math.sign(E)},R=a&&_.time=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),e.setTransition(0),e.setTranslate(N),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!H&&e.isBeginning||!O&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:_.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,d.length>=15&&d.shift();const I=d.length?d[d.length-1]:void 0,X=d[0];if(d.push(_),I&&(_.delta>I.delta||_.direction!==I.direction))d.splice(0);else if(d.length>=15&&_.time-X.time<500&&X.delta-_.delta>=1&&_.delta<=6){const oe=E>0?.8:.2;a=_,d.splice(0),o=ps(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,oe)},0)}o||(o=ps(()=>{if(e.destroyed||!e.params)return;const oe=.5;a=_,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,oe)},500))}if(R||n("scroll",y),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),A.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function v(g){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[g]("mouseenter",u),y[g]("mouseleave",f),y[g]("wheel",m)}function b(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(v("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(v("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}i("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&b()}),i("destroy",()=>{e.params.cssMode&&b(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:b,disable:w})}function Wr(t,e,s,i){return t.params.createElements&&Object.keys(i).forEach(n=>{if(!s[n]&&s.auto===!0){let r=Fe(t.el,`.${i[n]}`)[0];r||(r=rt("div",i[n]),r.className=i[n],t.el.append(r)),s[n]=r,e[n]=r}}),s}function qv(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function r(h){let m;return h&&typeof h=="string"&&e.isElement&&(m=e.el.querySelector(h)||e.hostEl.querySelector(h),m)?m:(h&&(typeof h=="string"&&(m=[...document.querySelectorAll(h)]),e.params.uniqueNavElements&&typeof h=="string"&&m&&m.length>1&&e.el.querySelectorAll(h).length===1?m=e.el.querySelector(h):m&&m.length===1&&(m=m[0])),h&&!m?h:m)}function o(h,m){const v=e.params.navigation;h=he(h),h.forEach(b=>{b&&(b.classList[m?"add":"remove"](...v.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=m),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](v.lockClass))})}function l(){const{nextEl:h,prevEl:m}=e.navigation;if(e.params.loop){o(m,!1),o(h,!1);return}o(m,e.isBeginning&&!e.params.rewind),o(h,e.isEnd&&!e.params.rewind)}function a(h){h.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function d(h){h.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function c(){const h=e.params.navigation;if(e.params.navigation=Wr(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(h.nextEl||h.prevEl))return;let m=r(h.nextEl),v=r(h.prevEl);Object.assign(e.navigation,{nextEl:m,prevEl:v}),m=he(m),v=he(v);const b=(w,g)=>{w&&w.addEventListener("click",g==="next"?d:a),!e.enabled&&w&&w.classList.add(...h.lockClass.split(" "))};m.forEach(w=>b(w,"next")),v.forEach(w=>b(w,"prev"))}function u(){let{nextEl:h,prevEl:m}=e.navigation;h=he(h),m=he(m);const v=(b,w)=>{b.removeEventListener("click",w==="next"?d:a),b.classList.remove(...e.params.navigation.disabledClass.split(" "))};h.forEach(b=>v(b,"next")),m.forEach(b=>v(b,"prev"))}i("init",()=>{e.params.navigation.enabled===!1?p():(c(),l())}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{u()}),i("enable disable",()=>{let{nextEl:h,prevEl:m}=e.navigation;if(h=he(h),m=he(m),e.enabled){l();return}[...h,...m].filter(v=>!!v).forEach(v=>v.classList.add(e.params.navigation.lockClass))}),i("click",(h,m)=>{let{nextEl:v,prevEl:b}=e.navigation;v=he(v),b=he(b);const w=m.target;let g=b.includes(w)||v.includes(w);if(e.isElement&&!g){const y=m.path||m.composedPath&&m.composedPath();y&&(g=y.find(T=>v.includes(T)||b.includes(T)))}if(e.params.navigation.hideOnClick&&!g){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===w||e.pagination.el.contains(w)))return;let y;v.length?y=v[0].classList.contains(e.params.navigation.hiddenClass):b.length&&(y=b[0].classList.contains(e.params.navigation.hiddenClass)),n(y===!0?"navigationShow":"navigationHide"),[...v,...b].filter(T=>!!T).forEach(T=>T.classList.toggle(e.params.navigation.hiddenClass))}});const f=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),l()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(e.navigation,{enable:f,disable:p,update:l,init:c,destroy:u})}function Pt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Vv(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;const r="swiper-pagination";s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:w=>w,formatFractionTotal:w=>w,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let o,l=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(w,g){const{bulletActiveClass:y}=e.params.pagination;w&&(w=w[`${g==="prev"?"previous":"next"}ElementSibling`],w&&(w.classList.add(`${y}-${g}`),w=w[`${g==="prev"?"previous":"next"}ElementSibling`],w&&w.classList.add(`${y}-${g}-${g}`)))}function c(w,g,y){if(w=w%y,g=g%y,g===w+1)return"next";if(g===w-1)return"previous"}function u(w){const g=w.target.closest(Pt(e.params.pagination.bulletClass));if(!g)return;w.preventDefault();const y=oi(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const T=c(e.realIndex,y,e.slides.length);T==="next"?e.slideNext():T==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function f(){const w=e.rtl,g=e.params.pagination;if(a())return;let y=e.pagination.el;y=he(y);let T,A;const L=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,P=e.params.loop?Math.ceil(L/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(A=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(T=e.snapIndex,A=e.previousSnapIndex):(A=e.previousIndex||0,T=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const E=e.pagination.bullets;let M,z,C;if(g.dynamicBullets&&(o=ur(E[0],e.isHorizontal()?"width":"height"),y.forEach(_=>{_.style[e.isHorizontal()?"width":"height"]=`${o*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&A!==void 0&&(l+=T-(A||0),l>g.dynamicMainBullets-1?l=g.dynamicMainBullets-1:l<0&&(l=0)),M=Math.max(T-l,0),z=M+(Math.min(E.length,g.dynamicMainBullets)-1),C=(z+M)/2),E.forEach(_=>{const R=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(N=>`${g.bulletActiveClass}${N}`)].map(N=>typeof N=="string"&&N.includes(" ")?N.split(" "):N).flat();_.classList.remove(...R)}),y.length>1)E.forEach(_=>{const R=oi(_);R===T?_.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&_.setAttribute("part","bullet"),g.dynamicBullets&&(R>=M&&R<=z&&_.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),R===M&&d(_,"prev"),R===z&&d(_,"next"))});else{const _=E[T];if(_&&_.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&E.forEach((R,N)=>{R.setAttribute("part",N===T?"bullet-active":"bullet")}),g.dynamicBullets){const R=E[M],N=E[z];for(let H=M;H<=z;H+=1)E[H]&&E[H].classList.add(...`${g.bulletActiveClass}-main`.split(" "));d(R,"prev"),d(N,"next")}}if(g.dynamicBullets){const _=Math.min(E.length,g.dynamicMainBullets+4),R=(o*_-o)/2-C*o,N=w?"right":"left";E.forEach(H=>{H.style[e.isHorizontal()?N:"top"]=`${R}px`})}}y.forEach((E,M)=>{if(g.type==="fraction"&&(E.querySelectorAll(Pt(g.currentClass)).forEach(z=>{z.textContent=g.formatFractionCurrent(T+1)}),E.querySelectorAll(Pt(g.totalClass)).forEach(z=>{z.textContent=g.formatFractionTotal(P)})),g.type==="progressbar"){let z;g.progressbarOpposite?z=e.isHorizontal()?"vertical":"horizontal":z=e.isHorizontal()?"horizontal":"vertical";const C=(T+1)/P;let _=1,R=1;z==="horizontal"?_=C:R=C,E.querySelectorAll(Pt(g.progressbarFillClass)).forEach(N=>{N.style.transform=`translate3d(0,0,0) scaleX(${_}) scaleY(${R})`,N.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(E.innerHTML=g.renderCustom(e,T+1,P),M===0&&n("paginationRender",E)):(M===0&&n("paginationRender",E),n("paginationUpdate",E)),e.params.watchOverflow&&e.enabled&&E.classList[e.isLocked?"add":"remove"](g.lockClass)})}function p(){const w=e.params.pagination;if(a())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let y=e.pagination.el;y=he(y);let T="";if(w.type==="bullets"){let A=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&A>g&&(A=g);for(let L=0;L`}w.type==="fraction"&&(w.renderFraction?T=w.renderFraction.call(e,w.currentClass,w.totalClass):T=` / `),w.type==="progressbar"&&(w.renderProgressbar?T=w.renderProgressbar.call(e,w.progressbarFillClass):T=``),e.pagination.bullets=[],y.forEach(A=>{w.type!=="custom"&&(A.innerHTML=T||""),w.type==="bullets"&&e.pagination.bullets.push(...A.querySelectorAll(Pt(w.bulletClass)))}),w.type!=="custom"&&n("paginationRender",y[0])}function h(){e.params.pagination=Wr(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const w=e.params.pagination;if(!w.el)return;let g;typeof w.el=="string"&&e.isElement&&(g=e.el.querySelector(w.el)),!g&&typeof w.el=="string"&&(g=[...document.querySelectorAll(w.el)]),g||(g=w.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof w.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(w.el)],g.length>1&&(g=g.filter(y=>us(y,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=he(g),g.forEach(y=>{w.type==="bullets"&&w.clickable&&y.classList.add(...(w.clickableClass||"").split(" ")),y.classList.add(w.modifierClass+w.type),y.classList.add(e.isHorizontal()?w.horizontalClass:w.verticalClass),w.type==="bullets"&&w.dynamicBullets&&(y.classList.add(`${w.modifierClass}${w.type}-dynamic`),l=0,w.dynamicMainBullets<1&&(w.dynamicMainBullets=1)),w.type==="progressbar"&&w.progressbarOpposite&&y.classList.add(w.progressbarOppositeClass),w.clickable&&y.addEventListener("click",u),e.enabled||y.classList.add(w.lockClass)}))}function m(){const w=e.params.pagination;if(a())return;let g=e.pagination.el;g&&(g=he(g),g.forEach(y=>{y.classList.remove(w.hiddenClass),y.classList.remove(w.modifierClass+w.type),y.classList.remove(e.isHorizontal()?w.horizontalClass:w.verticalClass),w.clickable&&(y.classList.remove(...(w.clickableClass||"").split(" ")),y.removeEventListener("click",u))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...w.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const w=e.params.pagination;let{el:g}=e.pagination;g=he(g),g.forEach(y=>{y.classList.remove(w.horizontalClass,w.verticalClass),y.classList.add(e.isHorizontal()?w.horizontalClass:w.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?b():(h(),p(),f())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),i("snapIndexChange",()=>{f()}),i("snapGridLengthChange",()=>{p(),f()}),i("destroy",()=>{m()}),i("enable disable",()=>{let{el:w}=e.pagination;w&&(w=he(w),w.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{f()}),i("click",(w,g)=>{const y=g.target,T=he(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&T&&T.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const A=T[0].classList.contains(e.params.pagination.hiddenClass);n(A===!0?"paginationShow":"paginationHide"),T.forEach(L=>L.classList.toggle(e.params.pagination.hiddenClass))}});const v=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:w}=e.pagination;w&&(w=he(w),w.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),h(),p(),f()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:w}=e.pagination;w&&(w=he(w),w.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:v,disable:b,render:p,update:f,init:h,destroy:m})}function Wv(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;const r=He();let o=!1,l=null,a=null,d,c,u,f;s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C,rtlTranslate:_}=e,{dragEl:R,el:N}=C,H=e.params.scrollbar,O=e.params.loop?e.progressLoop:e.progress;let I=c,X=(u-c)*O;_?(X=-X,X>0?(I=c-X,X=0):-X+c>u&&(I=u+X)):X<0?(I=c+X,X=0):X+c>u&&(I=u-X),e.isHorizontal()?(R.style.transform=`translate3d(${X}px, 0, 0)`,R.style.width=`${I}px`):(R.style.transform=`translate3d(0px, ${X}px, 0)`,R.style.height=`${I}px`),H.hide&&(clearTimeout(l),N.style.opacity=1,l=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function h(C){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${C}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:C}=e,{dragEl:_,el:R}=C;_.style.width="",_.style.height="",u=e.isHorizontal()?R.offsetWidth:R.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=u*f:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?_.style.width=`${c}px`:_.style.height=`${c}px`,f>=1?R.style.display="none":R.style.display="",e.params.scrollbar.hide&&(R.style.opacity=0),e.params.watchOverflow&&e.enabled&&C.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(C){return e.isHorizontal()?C.clientX:C.clientY}function b(C){const{scrollbar:_,rtlTranslate:R}=e,{el:N}=_;let H;H=(v(C)-Fi(N)[e.isHorizontal()?"left":"top"]-(d!==null?d:c/2))/(u-c),H=Math.max(Math.min(H,1),0),R&&(H=1-H);const O=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*H;e.updateProgress(O),e.setTranslate(O),e.updateActiveIndex(),e.updateSlidesClasses()}function w(C){const _=e.params.scrollbar,{scrollbar:R,wrapperEl:N}=e,{el:H,dragEl:O}=R;o=!0,d=C.target===O?v(C)-C.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,C.preventDefault(),C.stopPropagation(),N.style.transitionDuration="100ms",O.style.transitionDuration="100ms",b(C),clearTimeout(a),H.style.transitionDuration="0ms",_.hide&&(H.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",C)}function g(C){const{scrollbar:_,wrapperEl:R}=e,{el:N,dragEl:H}=_;o&&(C.preventDefault&&C.cancelable?C.preventDefault():C.returnValue=!1,b(C),R.style.transitionDuration="0ms",N.style.transitionDuration="0ms",H.style.transitionDuration="0ms",n("scrollbarDragMove",C))}function y(C){const _=e.params.scrollbar,{scrollbar:R,wrapperEl:N}=e,{el:H}=R;o&&(o=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),_.hide&&(clearTimeout(a),a=ps(()=>{H.style.opacity=0,H.style.transitionDuration="400ms"},1e3)),n("scrollbarDragEnd",C),_.snapOnRelease&&e.slideToClosest())}function T(C){const{scrollbar:_,params:R}=e,N=_.el;if(!N)return;const H=N,O=R.passiveListeners?{passive:!1,capture:!1}:!1,I=R.passiveListeners?{passive:!0,capture:!1}:!1;if(!H)return;const X=C==="on"?"addEventListener":"removeEventListener";H[X]("pointerdown",w,O),r[X]("pointermove",g,O),r[X]("pointerup",y,I)}function A(){!e.params.scrollbar.el||!e.scrollbar.el||T("on")}function L(){!e.params.scrollbar.el||!e.scrollbar.el||T("off")}function P(){const{scrollbar:C,el:_}=e;e.params.scrollbar=Wr(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const R=e.params.scrollbar;if(!R.el)return;let N;if(typeof R.el=="string"&&e.isElement&&(N=e.el.querySelector(R.el)),!N&&typeof R.el=="string"){if(N=r.querySelectorAll(R.el),!N.length)return}else N||(N=R.el);e.params.uniqueNavElements&&typeof R.el=="string"&&N.length>1&&_.querySelectorAll(R.el).length===1&&(N=_.querySelector(R.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?R.horizontalClass:R.verticalClass);let H;N&&(H=N.querySelector(Pt(e.params.scrollbar.dragClass)),H||(H=rt("div",e.params.scrollbar.dragClass),N.append(H))),Object.assign(C,{el:N,dragEl:H}),R.draggable&&A(),N&&N.classList[e.enabled?"remove":"add"](...jt(e.params.scrollbar.lockClass))}function E(){const C=e.params.scrollbar,_=e.scrollbar.el;_&&_.classList.remove(...jt(e.isHorizontal()?C.horizontalClass:C.verticalClass)),L()}i("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const C=e.params.scrollbar;let{el:_}=e.scrollbar;_=he(_),_.forEach(R=>{R.classList.remove(C.horizontalClass,C.verticalClass),R.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass)})}),i("init",()=>{e.params.scrollbar.enabled===!1?z():(P(),m(),p())}),i("update resize observerUpdate lock unlock changeDirection",()=>{m()}),i("setTranslate",()=>{p()}),i("setTransition",(C,_)=>{h(_)}),i("enable disable",()=>{const{el:C}=e.scrollbar;C&&C.classList[e.enabled?"remove":"add"](...jt(e.params.scrollbar.lockClass))}),i("destroy",()=>{E()});const M=()=>{e.el.classList.remove(...jt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...jt(e.params.scrollbar.scrollbarDisabledClass)),P(),m(),p()},z=()=>{e.el.classList.add(...jt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...jt(e.params.scrollbar.scrollbarDisabledClass)),E()};Object.assign(e.scrollbar,{enable:M,disable:z,updateSize:m,setTranslate:p,init:P,destroy:E})}function Gv(t){let{swiper:e,extendParams:s,on:i}=t;s({parallax:{enabled:!1}});const n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(a,d)=>{const{rtl:c}=e,u=c?-1:1,f=a.getAttribute("data-swiper-parallax")||"0";let p=a.getAttribute("data-swiper-parallax-x"),h=a.getAttribute("data-swiper-parallax-y");const m=a.getAttribute("data-swiper-parallax-scale"),v=a.getAttribute("data-swiper-parallax-opacity"),b=a.getAttribute("data-swiper-parallax-rotate");if(p||h?(p=p||"0",h=h||"0"):e.isHorizontal()?(p=f,h="0"):(h=f,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*d*u}%`:p=`${p*d*u}px`,h.indexOf("%")>=0?h=`${parseInt(h,10)*d}%`:h=`${h*d}px`,typeof v<"u"&&v!==null){const g=v-(v-1)*(1-Math.abs(d));a.style.opacity=g}let w=`translate3d(${p}, ${h}, 0px)`;if(typeof m<"u"&&m!==null){const g=m-(m-1)*(1-Math.abs(d));w+=` scale(${g})`}if(b&&typeof b<"u"&&b!==null){const g=b*d*-1;w+=` rotate(${g}deg)`}a.style.transform=w},o=()=>{const{el:a,slides:d,progress:c,snapGrid:u,isElement:f}=e,p=Fe(a,n);e.isElement&&p.push(...Fe(e.hostEl,n)),p.forEach(h=>{r(h,c)}),d.forEach((h,m)=>{let v=h.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(v+=Math.ceil(m/2)-c*(u.length-1)),v=Math.min(Math.max(v,-1),1),h.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach(b=>{r(b,v)})})},l=function(a){a===void 0&&(a=e.params.speed);const{el:d,hostEl:c}=e,u=[...d.querySelectorAll(n)];e.isElement&&u.push(...c.querySelectorAll(n)),u.forEach(f=>{let p=parseInt(f.getAttribute("data-swiper-parallax-duration"),10)||a;a===0&&(p=0),f.style.transitionDuration=`${p}ms`})};i("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),i("init",()=>{e.params.parallax.enabled&&o()}),i("setTranslate",()=>{e.params.parallax.enabled&&o()}),i("setTransition",(a,d)=>{e.params.parallax.enabled&&l(d)})}function Uv(t){let{swiper:e,extendParams:s,on:i,emit:n}=t;const r=Re();s({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o=1,l=!1,a,d;const c=[],u={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let h=1;Object.defineProperty(e.zoom,"scale",{get(){return h},set(B){if(h!==B){const W=u.imageEl,Q=u.slideEl;n("zoomChange",B,W,Q)}h=B}});function m(){if(c.length<2)return 1;const B=c[0].pageX,W=c[0].pageY,Q=c[1].pageX,ve=c[1].pageY;return Math.sqrt((Q-B)**2+(ve-W)**2)}function v(){const B=e.params.zoom,W=u.imageWrapEl.getAttribute("data-swiper-zoom")||B.maxRatio;if(B.limitToOriginalSize&&u.imageEl&&u.imageEl.naturalWidth){const Q=u.imageEl.naturalWidth/u.imageEl.offsetWidth;return Math.min(Q,W)}return W}function b(){if(c.length<2)return{x:null,y:null};const B=u.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-B.x-r.scrollX)/o,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-B.y-r.scrollY)/o]}function w(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function g(B){const W=w();return!!(B.target.matches(W)||e.slides.filter(Q=>Q.contains(B.target)).length>0)}function y(B){const W=`.${e.params.zoom.containerClass}`;return!!(B.target.matches(W)||[...e.hostEl.querySelectorAll(W)].filter(Q=>Q.contains(B.target)).length>0)}function T(B){if(B.pointerType==="mouse"&&c.splice(0,c.length),!g(B))return;const W=e.params.zoom;if(a=!1,d=!1,c.push(B),!(c.length<2)){if(a=!0,u.scaleStart=m(),!u.slideEl){u.slideEl=B.target.closest(`.${e.params.slideClass}, swiper-slide`),u.slideEl||(u.slideEl=e.slides[e.activeIndex]);let Q=u.slideEl.querySelector(`.${W.containerClass}`);if(Q&&(Q=Q.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=Q,Q?u.imageWrapEl=us(u.imageEl,`.${W.containerClass}`)[0]:u.imageWrapEl=void 0,!u.imageWrapEl){u.imageEl=void 0;return}u.maxRatio=v()}if(u.imageEl){const[Q,ve]=b();u.originX=Q,u.originY=ve,u.imageEl.style.transitionDuration="0ms"}l=!0}}function A(B){if(!g(B))return;const W=e.params.zoom,Q=e.zoom,ve=c.findIndex(ie=>ie.pointerId===B.pointerId);ve>=0&&(c[ve]=B),!(c.length<2)&&(d=!0,u.scaleMove=m(),u.imageEl&&(Q.scale=u.scaleMove/u.scaleStart*o,Q.scale>u.maxRatio&&(Q.scale=u.maxRatio-1+(Q.scale-u.maxRatio+1)**.5),Q.scaleie.pointerId===B.pointerId);ve>=0&&c.splice(ve,1),!(!a||!d)&&(a=!1,d=!1,u.imageEl&&(Q.scale=Math.max(Math.min(Q.scale,u.maxRatio),W.minRatio),u.imageEl.style.transitionDuration=`${e.params.speed}ms`,u.imageEl.style.transform=`translate3d(0,0,0) scale(${Q.scale})`,o=Q.scale,l=!1,Q.scale>1&&u.slideEl?u.slideEl.classList.add(`${W.zoomedSlideClass}`):Q.scale<=1&&u.slideEl&&u.slideEl.classList.remove(`${W.zoomedSlideClass}`),Q.scale===1&&(u.originX=0,u.originY=0,u.slideEl=void 0)))}let P;function E(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function M(){clearTimeout(P),e.touchEventsData.preventTouchMoveFromPointerMove=!0,P=setTimeout(()=>{e.destroyed||E()})}function z(B){const W=e.device;if(!u.imageEl||f.isTouched)return;W.android&&B.cancelable&&B.preventDefault(),f.isTouched=!0;const Q=c.length>0?c[0]:B;f.touchesStart.x=Q.pageX,f.touchesStart.y=Q.pageY}function C(B){if(!g(B)||!y(B))return;const W=e.zoom;if(!u.imageEl||!f.isTouched||!u.slideEl)return;f.isMoved||(f.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,f.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,f.startX=cr(u.imageWrapEl,"x")||0,f.startY=cr(u.imageWrapEl,"y")||0,u.slideWidth=u.slideEl.offsetWidth,u.slideHeight=u.slideEl.offsetHeight,u.imageWrapEl.style.transitionDuration="0ms");const Q=f.width*W.scale,ve=f.height*W.scale;if(f.minX=Math.min(u.slideWidth/2-Q/2,0),f.maxX=-f.minX,f.minY=Math.min(u.slideHeight/2-ve/2,0),f.maxY=-f.minY,f.touchesCurrent.x=c.length>0?c[0].pageX:B.pageX,f.touchesCurrent.y=c.length>0?c[0].pageY:B.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!l){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.xf.touchesStart.x)){f.isTouched=!1,E();return}if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.yf.touchesStart.y)){f.isTouched=!1,E();return}}B.cancelable&&B.preventDefault(),B.stopPropagation(),M(),f.isMoved=!0;const de=(W.scale-o)/(u.maxRatio-e.params.zoom.minRatio),{originX:$,originY:ee}=u;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+de*(f.width-$*2),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+de*(f.height-ee*2),f.currentXf.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentYf.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=f.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=f.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(f.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(f.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(f.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(f.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=f.touchesCurrent.x,p.prevPositionY=f.touchesCurrent.y,p.prevTime=Date.now(),u.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function _(){const B=e.zoom;if(!u.imageEl)return;if(!f.isTouched||!f.isMoved){f.isTouched=!1,f.isMoved=!1;return}f.isTouched=!1,f.isMoved=!1;let W=300,Q=300;const ve=p.x*W,ie=f.currentX+ve,de=p.y*Q,$=f.currentY+de;p.x!==0&&(W=Math.abs((ie-f.currentX)/p.x)),p.y!==0&&(Q=Math.abs(($-f.currentY)/p.y));const ee=Math.max(W,Q);f.currentX=ie,f.currentY=$;const Y=f.width*B.scale,te=f.height*B.scale;f.minX=Math.min(u.slideWidth/2-Y/2,0),f.maxX=-f.minX,f.minY=Math.min(u.slideHeight/2-te/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),u.imageWrapEl.style.transitionDuration=`${ee}ms`,u.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function R(){const B=e.zoom;u.slideEl&&e.activeIndex!==e.slides.indexOf(u.slideEl)&&(u.imageEl&&(u.imageEl.style.transform="translate3d(0,0,0) scale(1)"),u.imageWrapEl&&(u.imageWrapEl.style.transform="translate3d(0,0,0)"),u.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),B.scale=1,o=1,u.slideEl=void 0,u.imageEl=void 0,u.imageWrapEl=void 0,u.originX=0,u.originY=0)}function N(B){const W=e.zoom,Q=e.params.zoom;if(!u.slideEl){B&&B.target&&(u.slideEl=B.target.closest(`.${e.params.slideClass}, swiper-slide`)),u.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=Fe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex]);let J=u.slideEl.querySelector(`.${Q.containerClass}`);J&&(J=J.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=J,J?u.imageWrapEl=us(u.imageEl,`.${Q.containerClass}`)[0]:u.imageWrapEl=void 0}if(!u.imageEl||!u.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),u.slideEl.classList.add(`${Q.zoomedSlideClass}`);let ve,ie,de,$,ee,Y,te,pe,Ce,S,x,k,j,F,q,K,U,G;typeof f.touchesStart.x>"u"&&B?(ve=B.pageX,ie=B.pageY):(ve=f.touchesStart.x,ie=f.touchesStart.y);const V=typeof B=="number"?B:null;o===1&&V&&(ve=void 0,ie=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0);const ae=v();W.scale=V||ae,o=V||ae,B&&!(o===1&&V)?(U=u.slideEl.offsetWidth,G=u.slideEl.offsetHeight,de=Fi(u.slideEl).left+r.scrollX,$=Fi(u.slideEl).top+r.scrollY,ee=de+U/2-ve,Y=$+G/2-ie,Ce=u.imageEl.offsetWidth||u.imageEl.clientWidth,S=u.imageEl.offsetHeight||u.imageEl.clientHeight,x=Ce*W.scale,k=S*W.scale,j=Math.min(U/2-x/2,0),F=Math.min(G/2-k/2,0),q=-j,K=-F,te=ee*W.scale,pe=Y*W.scale,teq&&(te=q),peK&&(pe=K)):(te=0,pe=0),V&&W.scale===1&&(u.originX=0,u.originY=0),u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform=`translate3d(${te}px, ${pe}px,0)`,u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform=`translate3d(0,0,0) scale(${W.scale})`}function H(){const B=e.zoom,W=e.params.zoom;if(!u.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=Fe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex];let Q=u.slideEl.querySelector(`.${W.containerClass}`);Q&&(Q=Q.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=Q,Q?u.imageWrapEl=us(u.imageEl,`.${W.containerClass}`)[0]:u.imageWrapEl=void 0}!u.imageEl||!u.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),B.scale=1,o=1,f.touchesStart.x=void 0,f.touchesStart.y=void 0,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform="translate3d(0,0,0)",u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform="translate3d(0,0,0) scale(1)",u.slideEl.classList.remove(`${W.zoomedSlideClass}`),u.slideEl=void 0,u.originX=0,u.originY=0)}function O(B){const W=e.zoom;W.scale&&W.scale!==1?H():N(B)}function I(){const B=e.params.passiveListeners?{passive:!0,capture:!1}:!1,W=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:B,activeListenerWithCapture:W}}function X(){const B=e.zoom;if(B.enabled)return;B.enabled=!0;const{passiveListener:W,activeListenerWithCapture:Q}=I();e.wrapperEl.addEventListener("pointerdown",T,W),e.wrapperEl.addEventListener("pointermove",A,Q),["pointerup","pointercancel","pointerout"].forEach(ve=>{e.wrapperEl.addEventListener(ve,L,W)}),e.wrapperEl.addEventListener("pointermove",C,Q)}function oe(){const B=e.zoom;if(!B.enabled)return;B.enabled=!1;const{passiveListener:W,activeListenerWithCapture:Q}=I();e.wrapperEl.removeEventListener("pointerdown",T,W),e.wrapperEl.removeEventListener("pointermove",A,Q),["pointerup","pointercancel","pointerout"].forEach(ve=>{e.wrapperEl.removeEventListener(ve,L,W)}),e.wrapperEl.removeEventListener("pointermove",C,Q)}i("init",()=>{e.params.zoom.enabled&&X()}),i("destroy",()=>{oe()}),i("touchStart",(B,W)=>{e.zoom.enabled&&z(W)}),i("touchEnd",(B,W)=>{e.zoom.enabled&&_()}),i("doubleTap",(B,W)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&O(W)}),i("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&R()}),i("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&R()}),Object.assign(e.zoom,{enable:X,disable:oe,in:N,out:H,toggle:O})}function Xv(t){let{swiper:e,extendParams:s,on:i}=t;s({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function n(d,c){const u=function(){let m,v,b;return(w,g)=>{for(v=-1,m=w.length;m-v>1;)b=m+v>>1,w[b]<=g?v=b:m=b;return m}}();this.x=d,this.y=c,this.lastIndex=d.length-1;let f,p;return this.interpolate=function(m){return m?(p=u(this.x,m),f=p-1,(m-this.x[f])*(this.y[p]-this.y[f])/(this.x[p]-this.x[f])+this.y[f]):0},this}function r(d){e.controller.spline=e.params.loop?new n(e.slidesGrid,d.slidesGrid):new n(e.snapGrid,d.snapGrid)}function o(d,c){const u=e.controller.control;let f,p;const h=e.constructor;function m(v){if(v.destroyed)return;const b=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(r(v),p=-e.controller.spline.interpolate(-b)),(!p||e.params.controller.by==="container")&&(f=(v.maxTranslate()-v.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(f)||!Number.isFinite(f))&&(f=1),p=(b-e.minTranslate())*f+v.minTranslate()),e.params.controller.inverse&&(p=v.maxTranslate()-p),v.updateProgress(p),v.setTranslate(p,e),v.updateActiveIndex(),v.updateSlidesClasses()}if(Array.isArray(u))for(let v=0;v{m.updateAutoHeight()}),Xs(m.wrapperEl,()=>{f&&m.transitionEnd()})))}if(Array.isArray(f))for(p=0;p{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(c=>{if(e.controller.control||(e.controller.control=[]),c&&c.swiper)e.controller.control.push(c.swiper);else if(c){const u=`${e.params.eventsPrefix}init`,f=p=>{e.controller.control.push(p.detail[0]),e.update(),c.removeEventListener(u,f)};c.addEventListener(u,f)}});return}e.controller.control=e.params.controller.control}),i("update",()=>{a()}),i("resize",()=>{a()}),i("observerUpdate",()=>{a()}),i("setTranslate",(d,c,u)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,u)}),i("setTransition",(d,c,u)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,u)}),Object.assign(e.controller,{setTranslate:o,setTransition:l})}function Yv(t){let{swiper:e,extendParams:s,on:i}=t;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let n=null,r,o,l=new Date().getTime();function a(O){const I=n;I.length!==0&&(I.innerHTML="",I.innerHTML=O)}function d(O){const I=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(O).replace(/x/g,I)}function c(O){O=he(O),O.forEach(I=>{I.setAttribute("tabIndex","0")})}function u(O){O=he(O),O.forEach(I=>{I.setAttribute("tabIndex","-1")})}function f(O,I){O=he(O),O.forEach(X=>{X.setAttribute("role",I)})}function p(O,I){O=he(O),O.forEach(X=>{X.setAttribute("aria-roledescription",I)})}function h(O,I){O=he(O),O.forEach(X=>{X.setAttribute("aria-controls",I)})}function m(O,I){O=he(O),O.forEach(X=>{X.setAttribute("aria-label",I)})}function v(O,I){O=he(O),O.forEach(X=>{X.setAttribute("id",I)})}function b(O,I){O=he(O),O.forEach(X=>{X.setAttribute("aria-live",I)})}function w(O){O=he(O),O.forEach(I=>{I.setAttribute("aria-disabled",!0)})}function g(O){O=he(O),O.forEach(I=>{I.setAttribute("aria-disabled",!1)})}function y(O){if(O.keyCode!==13&&O.keyCode!==32)return;const I=e.params.a11y,X=O.target;if(!(e.pagination&&e.pagination.el&&(X===e.pagination.el||e.pagination.el.contains(O.target))&&!O.target.matches(Pt(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const oe=he(e.navigation.prevEl);he(e.navigation.nextEl).includes(X)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?a(I.lastSlideMessage):a(I.nextSlideMessage)),oe.includes(X)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?a(I.firstSlideMessage):a(I.prevSlideMessage))}e.pagination&&X.matches(Pt(e.params.pagination.bulletClass))&&X.click()}}function T(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:O,prevEl:I}=e.navigation;I&&(e.isBeginning?(w(I),u(I)):(g(I),c(I))),O&&(e.isEnd?(w(O),u(O)):(g(O),c(O)))}function A(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function L(){return A()&&e.params.pagination.clickable}function P(){const O=e.params.a11y;A()&&e.pagination.bullets.forEach(I=>{e.params.pagination.clickable&&(c(I),e.params.pagination.renderBullet||(f(I,"button"),m(I,O.paginationBulletMessage.replace(/\{\{index\}\}/,oi(I)+1)))),I.matches(Pt(e.params.pagination.bulletActiveClass))?I.setAttribute("aria-current","true"):I.removeAttribute("aria-current")})}const E=(O,I,X)=>{c(O),O.tagName!=="BUTTON"&&(f(O,"button"),O.addEventListener("keydown",y)),m(O,X),h(O,I)},M=O=>{o&&o!==O.target&&!o.contains(O.target)&&(r=!0),e.a11y.clicked=!0},z=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},C=O=>{l=new Date().getTime()},_=O=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-l<100)return;const I=O.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!I||!e.slides.includes(I))return;o=I;const X=e.slides.indexOf(I)===e.activeIndex,oe=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(I);X||oe||O.sourceCapabilities&&O.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{r||(e.params.loop?e.slideToLoop(parseInt(I.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(I),0),r=!1)}))},R=()=>{const O=e.params.a11y;O.itemRoleDescriptionMessage&&p(e.slides,O.itemRoleDescriptionMessage),O.slideRole&&f(e.slides,O.slideRole);const I=e.slides.length;O.slideLabelMessage&&e.slides.forEach((X,oe)=>{const B=e.params.loop?parseInt(X.getAttribute("data-swiper-slide-index"),10):oe,W=O.slideLabelMessage.replace(/\{\{index\}\}/,B+1).replace(/\{\{slidesLength\}\}/,I);m(X,W)})},N=()=>{const O=e.params.a11y;e.el.append(n);const I=e.el;O.containerRoleDescriptionMessage&&p(I,O.containerRoleDescriptionMessage),O.containerMessage&&m(I,O.containerMessage),O.containerRole&&f(I,O.containerRole);const X=e.wrapperEl,oe=O.id||X.getAttribute("id")||`swiper-wrapper-${d(16)}`,B=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";v(X,oe),b(X,B),R();let{nextEl:W,prevEl:Q}=e.navigation?e.navigation:{};W=he(W),Q=he(Q),W&&W.forEach(ie=>E(ie,oe,O.nextSlideMessage)),Q&&Q.forEach(ie=>E(ie,oe,O.prevSlideMessage)),L()&&he(e.pagination.el).forEach(de=>{de.addEventListener("keydown",y)}),He().addEventListener("visibilitychange",C),e.el.addEventListener("focus",_,!0),e.el.addEventListener("focus",_,!0),e.el.addEventListener("pointerdown",M,!0),e.el.addEventListener("pointerup",z,!0)};function H(){n&&n.remove();let{nextEl:O,prevEl:I}=e.navigation?e.navigation:{};O=he(O),I=he(I),O&&O.forEach(oe=>oe.removeEventListener("keydown",y)),I&&I.forEach(oe=>oe.removeEventListener("keydown",y)),L()&&he(e.pagination.el).forEach(B=>{B.removeEventListener("keydown",y)}),He().removeEventListener("visibilitychange",C),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",_,!0),e.el.removeEventListener("pointerdown",M,!0),e.el.removeEventListener("pointerup",z,!0))}i("beforeInit",()=>{n=rt("span",e.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")}),i("afterInit",()=>{e.params.a11y.enabled&&N()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&R()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&T()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&P()}),i("destroy",()=>{e.params.a11y.enabled&&H()})}function Kv(t){let{swiper:e,extendParams:s,on:i}=t;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const o=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=p=>{const h=Re();let m;p?m=new URL(p):m=h.location;const v=m.pathname.slice(1).split("/").filter(y=>y!==""),b=v.length,w=v[b-2],g=v[b-1];return{key:w,value:g}},a=(p,h)=>{const m=Re();if(!n||!e.params.history.enabled)return;let v;e.params.url?v=new URL(e.params.url):v=m.location;const b=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${h}"]`):e.slides[h];let w=o(b.getAttribute("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),w=`${y}/${p?`${p}/`:""}${w}`}else v.pathname.includes(p)||(w=`${p?`${p}/`:""}${w}`);e.params.history.keepQuery&&(w+=v.search);const g=m.history.state;g&&g.value===w||(e.params.history.replaceState?m.history.replaceState({value:w},null,w):m.history.pushState({value:w},null,w))},d=(p,h,m)=>{if(h)for(let v=0,b=e.slides.length;v{r=l(e.params.url),d(e.params.speed,r.value,!1)},u=()=>{const p=Re();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(n=!0,r=l(e.params.url),!r.key&&!r.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}d(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},f=()=>{const p=Re();e.params.history.replaceState||p.removeEventListener("popstate",c)};i("init",()=>{e.params.history.enabled&&u()}),i("destroy",()=>{e.params.history.enabled&&f()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{n&&a(e.params.history.key,e.activeIndex)}),i("slideChange",()=>{n&&e.params.cssMode&&a(e.params.history.key,e.activeIndex)})}function Zv(t){let{swiper:e,extendParams:s,emit:i,on:n}=t,r=!1;const o=He(),l=Re();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(f,p){if(e.virtual&&e.params.virtual.enabled){const h=e.slides.filter(v=>v.getAttribute("data-hash")===p)[0];return h?parseInt(h.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Fe(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const a=()=>{i("hashChange");const f=o.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],h=p?p.getAttribute("data-hash"):"";if(f!==h){const m=e.params.hashNavigation.getSlideIndex(e,f);if(typeof m>"u"||Number.isNaN(m))return;e.slideTo(m)}},d=()=>{if(!r||!e.params.hashNavigation.enabled)return;const f=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=f?f.getAttribute("data-hash")||f.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState?(l.history.replaceState(null,null,`#${p}`||""),i("hashSet")):(o.location.hash=p||"",i("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;r=!0;const f=o.location.hash.replace("#","");if(f){const h=e.params.hashNavigation.getSlideIndex(e,f);e.slideTo(h||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&l.addEventListener("hashchange",a)},u=()=>{e.params.hashNavigation.watchState&&l.removeEventListener("hashchange",a)};n("init",()=>{e.params.hashNavigation.enabled&&c()}),n("destroy",()=>{e.params.hashNavigation.enabled&&u()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{r&&d()}),n("slideChange",()=>{r&&e.params.cssMode&&d()})}function Jv(t){let{swiper:e,extendParams:s,on:i,emit:n,params:r}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,l,a=r&&r.autoplay?r.autoplay.delay:3e3,d=r&&r.autoplay?r.autoplay.delay:3e3,c,u=new Date().getTime(),f,p,h,m,v,b,w;function g(I){!e||e.destroyed||!e.wrapperEl||I.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!(w||I.detail&&I.detail.bySwiperTouchMove)&&M())}const y=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(d=c,f=!1);const I=e.autoplay.paused?c:u+d-new Date().getTime();e.autoplay.timeLeft=I,n("autoplayTimeLeft",I,I/a),l=requestAnimationFrame(()=>{y()})},T=()=>{let I;return e.virtual&&e.params.virtual.enabled?I=e.slides.filter(oe=>oe.classList.contains("swiper-slide-active"))[0]:I=e.slides[e.activeIndex],I?parseInt(I.getAttribute("data-swiper-autoplay"),10):void 0},A=I=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(l),y();let X=typeof I>"u"?e.params.autoplay.delay:I;a=e.params.autoplay.delay,d=e.params.autoplay.delay;const oe=T();!Number.isNaN(oe)&&oe>0&&typeof I>"u"&&(X=oe,a=oe,d=oe),c=X;const B=e.params.speed,W=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(B,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,B,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(B,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,B,!0,!0),n("autoplay")),e.params.cssMode&&(u=new Date().getTime(),requestAnimationFrame(()=>{A()})))};return X>0?(clearTimeout(o),o=setTimeout(()=>{W()},X)):requestAnimationFrame(()=>{W()}),X},L=()=>{u=new Date().getTime(),e.autoplay.running=!0,A(),n("autoplayStart")},P=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(l),n("autoplayStop")},E=(I,X)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),I||(b=!0);const oe=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):M()};if(e.autoplay.paused=!0,X){v&&(c=e.params.autoplay.delay),v=!1,oe();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-u),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),oe())},M=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(u=new Date().getTime(),b?(b=!1,A(c)):A(),e.autoplay.paused=!1,n("autoplayResume"))},z=()=>{if(e.destroyed||!e.autoplay.running)return;const I=He();I.visibilityState==="hidden"&&(b=!0,E(!0)),I.visibilityState==="visible"&&M()},C=I=>{I.pointerType==="mouse"&&(b=!0,w=!0,!(e.animating||e.autoplay.paused)&&E(!0))},_=I=>{I.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&M())},R=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",_))},N=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",_))},H=()=>{He().addEventListener("visibilitychange",z)},O=()=>{He().removeEventListener("visibilitychange",z)};i("init",()=>{e.params.autoplay.enabled&&(R(),H(),L())}),i("destroy",()=>{N(),O(),e.autoplay.running&&P()}),i("_freeModeStaticRelease",()=>{(h||b)&&M()}),i("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?P():E(!0,!0)}),i("beforeTransitionStart",(I,X,oe)=>{e.destroyed||!e.autoplay.running||(oe||!e.params.autoplay.disableOnInteraction?E(!0,!0):P())}),i("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){P();return}p=!0,h=!1,b=!1,m=setTimeout(()=>{b=!0,h=!0,E(!0)},200)}}),i("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(o),e.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&e.params.cssMode&&M(),h=!1,p=!1}}),i("slideChange",()=>{e.destroyed||!e.autoplay.running||(v=!0)}),Object.assign(e.autoplay,{start:L,stop:P,pause:E,resume:M})}function Qv(t){let{swiper:e,extendParams:s,on:i}=t;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,r=!1;e.thumbs={swiper:null};function o(){const d=e.thumbs.swiper;if(!d||d.destroyed)return;const c=d.clickedIndex,u=d.clickedSlide;if(u&&u.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let f;d.params.loop?f=parseInt(d.clickedSlide.getAttribute("data-swiper-slide-index"),10):f=c,e.params.loop?e.slideToLoop(f):e.slideTo(f)}function l(){const{thumbs:d}=e.params;if(n)return!1;n=!0;const c=e.constructor;if(d.swiper instanceof c)e.thumbs.swiper=d.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(Hs(d.swiper)){const u=Object.assign({},d.swiper);Object.assign(u,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(u),r=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function a(d){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const u=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let f=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(f=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(f=1),f=Math.floor(f),c.slides.forEach(v=>v.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let v=0;v{b.classList.add(p)});else for(let v=0;vy.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];b=c.slides.indexOf(g),w=e.activeIndex>e.previousIndex?"next":"prev"}else b=e.realIndex,w=b>e.previousIndex?"next":"prev";m&&(b+=w==="next"?h:-1*h),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(b)<0&&(c.params.centeredSlides?b>v?b=b-Math.floor(u/2)+1:b=b+Math.floor(u/2)-1:b>v&&c.params.slidesPerGroup,c.slideTo(b,d?0:void 0))}}i("beforeInit",()=>{const{thumbs:d}=e.params;if(!(!d||!d.swiper))if(typeof d.swiper=="string"||d.swiper instanceof HTMLElement){const c=He(),u=()=>{const p=typeof d.swiper=="string"?c.querySelector(d.swiper):d.swiper;if(p&&p.swiper)d.swiper=p.swiper,l(),a(!0);else if(p){const h=`${e.params.eventsPrefix}init`,m=v=>{d.swiper=v.detail[0],p.removeEventListener(h,m),l(),a(!0),d.swiper.update(),e.update()};p.addEventListener(h,m)}return p},f=()=>{if(e.destroyed)return;u()||requestAnimationFrame(f)};requestAnimationFrame(f)}else l(),a(!0)}),i("slideChange update resize observerUpdate",()=>{a()}),i("setTransition",(d,c)=>{const u=e.thumbs.swiper;!u||u.destroyed||u.setTransition(c)}),i("beforeDestroy",()=>{const d=e.thumbs.swiper;!d||d.destroyed||r&&d.destroy()}),Object.assign(e.thumbs,{init:l,update:a})}function ew(t){let{swiper:e,extendParams:s,emit:i,once:n}=t;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){if(e.params.cssMode)return;const a=e.getTranslate();e.setTranslate(a),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function o(){if(e.params.cssMode)return;const{touchEventsData:a,touches:d}=e;a.velocities.length===0&&a.velocities.push({position:d[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:d[e.isHorizontal()?"currentX":"currentY"],time:lt()})}function l(a){let{currentPos:d}=a;if(e.params.cssMode)return;const{params:c,wrapperEl:u,rtlTranslate:f,snapGrid:p,touchEventsData:h}=e,v=lt()-h.touchStartTime;if(d<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(d>-e.maxTranslate()){e.slides.length1){const P=h.velocities.pop(),E=h.velocities.pop(),M=P.position-E.position,z=P.time-E.time;e.velocity=M/z,e.velocity/=2,Math.abs(e.velocity)150||lt()-P.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,h.velocities.length=0;let b=1e3*c.freeMode.momentumRatio;const w=e.velocity*b;let g=e.translate+w;f&&(g=-g);let y=!1,T;const A=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let L;if(ge.minTranslate())c.freeMode.momentumBounce?(g-e.minTranslate()>A&&(g=e.minTranslate()+A),T=e.minTranslate(),y=!0,h.allowMomentumBounce=!0):g=e.minTranslate(),c.loop&&c.centeredSlides&&(L=!0);else if(c.freeMode.sticky){let P;for(let E=0;E-g){P=E;break}Math.abs(p[P]-g){e.loopFix()}),e.velocity!==0){if(f?b=Math.abs((-g-e.translate)/e.velocity):b=Math.abs((g-e.translate)/e.velocity),c.freeMode.sticky){const P=Math.abs((f?-g:g)-e.translate),E=e.slidesSizesGrid[e.activeIndex];P{!e||e.destroyed||!h.allowMomentumBounce||(i("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(T),Xs(u,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(b),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Xs(u,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(g),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&i("_freeModeNoMomentumRelease");(!c.freeMode.momentum||v>=c.longSwipesMs)&&(i("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:r,onTouchMove:o,onTouchEnd:l}})}function tw(t){let{swiper:e,extendParams:s,on:i}=t;s({grid:{rows:1,fill:"column"}});let n,r,o,l;const a=()=>{let m=e.params.spaceBetween;return typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*e.size:typeof m=="string"&&(m=parseFloat(m)),m},d=m=>{const{slidesPerView:v}=e.params,{rows:b,fill:w}=e.params.grid,g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:m.length;o=Math.floor(g/b),Math.floor(g/b)===g/b?n=g:n=Math.ceil(g/b)*b,v!=="auto"&&w==="row"&&(n=Math.max(n,v*b)),r=n/b},c=()=>{e.slides&&e.slides.forEach(m=>{m.swiperSlideGridSet&&(m.style.height="",m.style[e.getDirectionLabel("margin-top")]="")})},u=(m,v,b)=>{const{slidesPerGroup:w}=e.params,g=a(),{rows:y,fill:T}=e.params.grid,A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length;let L,P,E;if(T==="row"&&w>1){const M=Math.floor(m/(w*y)),z=m-y*w*M,C=M===0?w:Math.min(Math.ceil((A-M*y*w)/y),w);E=Math.floor(z/C),P=z-E*C+M*w,L=P+E*n/y,v.style.order=L}else T==="column"?(P=Math.floor(m/y),E=m-P*y,(P>o||P===o&&E===y-1)&&(E+=1,E>=y&&(E=0,P+=1))):(E=Math.floor(m/r),P=m-E*r);v.row=E,v.column=P,v.style.height=`calc((100% - ${(y-1)*g}px) / ${y})`,v.style[e.getDirectionLabel("margin-top")]=E!==0?g&&`${g}px`:"",v.swiperSlideGridSet=!0},f=(m,v)=>{const{centeredSlides:b,roundLengths:w}=e.params,g=a(),{rows:y}=e.params.grid;if(e.virtualSize=(m+g)*n,e.virtualSize=Math.ceil(e.virtualSize/y)-g,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+g}px`),b){const T=[];for(let A=0;A{l=e.params.grid&&e.params.grid.rows>1},h=()=>{const{params:m,el:v}=e,b=m.grid&&m.grid.rows>1;l&&!b?(v.classList.remove(`${m.containerModifierClass}grid`,`${m.containerModifierClass}grid-column`),o=1,e.emitContainerClasses()):!l&&b&&(v.classList.add(`${m.containerModifierClass}grid`),m.grid.fill==="column"&&v.classList.add(`${m.containerModifierClass}grid-column`),e.emitContainerClasses()),l=b};i("init",p),i("update",h),e.grid={initSlides:d,unsetSlides:c,updateSlide:u,updateWrapperSize:f}}function sw(t){const e=this,{params:s,slidesEl:i}=e;s.loop&&e.loopDestroy();const n=r=>{if(typeof r=="string"){const o=document.createElement("div");o.innerHTML=r,i.append(o.children[0]),o.innerHTML=""}else i.append(r)};if(typeof t=="object"&&"length"in t)for(let r=0;r{if(typeof l=="string"){const a=document.createElement("div");a.innerHTML=l,n.prepend(a.children[0]),a.innerHTML=""}else n.prepend(l)};if(typeof t=="object"&&"length"in t){for(let l=0;l=l){s.appendSlide(e);return}let a=o>t?o+1:o;const d=[];for(let c=l-1;c>=t;c-=1){const u=s.slides[c];u.remove(),d.unshift(u)}if(typeof e=="object"&&"length"in e){for(let c=0;ct?o+e.length:o}else r.append(e);for(let c=0;c{if(s.params.effect!==e)return;s.classNames.push(`${s.params.containerModifierClass}${e}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const u=o?o():{};Object.assign(s.params,u),Object.assign(s.originalParams,u)}),i("setTranslate",()=>{s.params.effect===e&&n()}),i("setTransition",(u,f)=>{s.params.effect===e&&r(f)}),i("transitionEnd",()=>{if(s.params.effect===e&&a){if(!d||!d().slideShadows)return;s.slides.forEach(u=>{u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),a()}});let c;i("virtualUpdate",()=>{s.params.effect===e&&(s.slides.length||(c=!0),requestAnimationFrame(()=>{c&&s.slides&&s.slides.length&&(n(),c=!1)}))})}function pi(t,e){const s=ms(e);return s!==e&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function un(t){let{swiper:e,duration:s,transformElements:i,allSlides:n}=t;const{activeIndex:r}=e,o=l=>l.parentElement?l.parentElement:e.slides.filter(d=>d.shadowRoot&&d.shadowRoot===l.parentNode)[0];if(e.params.virtualTranslate&&s!==0){let l=!1,a;n?a=i:a=i.filter(d=>{const c=d.classList.contains("swiper-slide-transform")?o(d):d;return e.getSlideIndex(c)===r}),a.forEach(d=>{Xs(d,()=>{if(l||!e||e.destroyed)return;l=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function lw(t){let{swiper:e,extendParams:s,on:i}=t;s({fadeEffect:{crossFade:!1}}),Os({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:o}=e,l=e.params.fadeEffect;for(let a=0;a{const l=e.slides.map(a=>ms(a));l.forEach(a=>{a.style.transitionDuration=`${o}ms`}),un({swiper:e,duration:o,transformElements:l,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function cw(t){let{swiper:e,extendParams:s,on:i}=t;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const n=(a,d,c)=>{let u=c?a.querySelector(".swiper-slide-shadow-left"):a.querySelector(".swiper-slide-shadow-top"),f=c?a.querySelector(".swiper-slide-shadow-right"):a.querySelector(".swiper-slide-shadow-bottom");u||(u=rt("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),a.append(u)),f||(f=rt("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),a.append(f)),u&&(u.style.opacity=Math.max(-d,0)),f&&(f.style.opacity=Math.max(d,0))};Os({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{el:a,wrapperEl:d,slides:c,width:u,height:f,rtlTranslate:p,size:h,browser:m}=e,v=cn(e),b=e.params.cubeEffect,w=e.isHorizontal(),g=e.virtual&&e.params.virtual.enabled;let y=0,T;b.shadow&&(w?(T=e.wrapperEl.querySelector(".swiper-cube-shadow"),T||(T=rt("div","swiper-cube-shadow"),e.wrapperEl.append(T)),T.style.height=`${u}px`):(T=a.querySelector(".swiper-cube-shadow"),T||(T=rt("div","swiper-cube-shadow"),a.append(T))));for(let L=0;L-1&&(y=E*90+C*90,p&&(y=-E*90-C*90)),P.style.transform=H,b.slideShadows&&n(P,C,w)}if(d.style.transformOrigin=`50% 50% -${h/2}px`,d.style["-webkit-transform-origin"]=`50% 50% -${h/2}px`,b.shadow)if(w)T.style.transform=`translate3d(0px, ${u/2+b.shadowOffset}px, ${-u/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${b.shadowScale})`;else{const L=Math.abs(y)-Math.floor(Math.abs(y)/90)*90,P=1.5-(Math.sin(L*2*Math.PI/360)/2+Math.cos(L*2*Math.PI/360)/2),E=b.shadowScale,M=b.shadowScale/P,z=b.shadowOffset;T.style.transform=`scale3d(${E}, 1, ${M}) translate3d(0px, ${f/2+z}px, ${-f/2/M}px) rotateX(-89.99deg)`}const A=(m.isSafari||m.isWebView)&&m.needPerspectiveFix?-h/2:0;d.style.transform=`translate3d(0px,0,${A}px) rotateX(${v(e.isHorizontal()?0:y)}deg) rotateY(${v(e.isHorizontal()?-y:0)}deg)`,d.style.setProperty("--swiper-cube-translate-z",`${A}px`)},setTransition:a=>{const{el:d,slides:c}=e;if(c.forEach(u=>{u.style.transitionDuration=`${a}ms`,u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${a}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const u=d.querySelector(".swiper-cube-shadow");u&&(u.style.transitionDuration=`${a}ms`)}},recreateShadows:()=>{const a=e.isHorizontal();e.slides.forEach(d=>{const c=Math.max(Math.min(d.progress,1),-1);n(d,c,a)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Ms(t,e,s){const i=`swiper-slide-shadow${s?`-${s}`:""}${t?` swiper-slide-shadow-${t}`:""}`,n=ms(e);let r=n.querySelector(`.${i.split(" ").join(".")}`);return r||(r=rt("div",i.split(" ")),n.append(r)),r}function uw(t){let{swiper:e,extendParams:s,on:i}=t;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const n=(a,d)=>{let c=e.isHorizontal()?a.querySelector(".swiper-slide-shadow-left"):a.querySelector(".swiper-slide-shadow-top"),u=e.isHorizontal()?a.querySelector(".swiper-slide-shadow-right"):a.querySelector(".swiper-slide-shadow-bottom");c||(c=Ms("flip",a,e.isHorizontal()?"left":"top")),u||(u=Ms("flip",a,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-d,0)),u&&(u.style.opacity=Math.max(d,0))};Os({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:a,rtlTranslate:d}=e,c=e.params.flipEffect,u=cn(e);for(let f=0;f{const d=e.slides.map(c=>ms(c));d.forEach(c=>{c.style.transitionDuration=`${a}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),un({swiper:e,duration:a,transformElements:d})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(a=>{let d=a.progress;e.params.flipEffect.limitRotation&&(d=Math.max(Math.min(a.progress,1),-1)),n(a,d)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function dw(t){let{swiper:e,extendParams:s,on:i}=t;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Os({effect:"coverflow",swiper:e,on:i,setTranslate:()=>{const{width:o,height:l,slides:a,slidesSizesGrid:d}=e,c=e.params.coverflowEffect,u=e.isHorizontal(),f=e.translate,p=u?-f+o/2:-f+l/2,h=u?c.rotate:-c.rotate,m=c.depth,v=cn(e);for(let b=0,w=a.length;b0?L:0),I&&(I.style.opacity=-L>0?-L:0)}}},setTransition:o=>{e.slides.map(a=>ms(a)).forEach(a=>{a.style.transitionDuration=`${o}ms`,a.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function fw(t){let{swiper:e,extendParams:s,on:i}=t;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const n=l=>typeof l=="string"?l:`${l}px`;Os({effect:"creative",swiper:e,on:i,setTranslate:()=>{const{slides:l,wrapperEl:a,slidesSizesGrid:d}=e,c=e.params.creativeEffect,{progressMultiplier:u}=c,f=e.params.centeredSlides,p=cn(e);if(f){const h=d[0]/2-e.params.slidesOffsetBefore||0;a.style.transform=`translateX(calc(50% - ${h}px))`}for(let h=0;h0&&(L=c.prev,A=!0),y.forEach((R,N)=>{y[N]=`calc(${R}px + (${n(L.translate[N])} * ${Math.abs(b*u)}))`}),T.forEach((R,N)=>{let H=L.rotate[N]*Math.abs(b*u);T[N]=H}),m.style.zIndex=-Math.abs(Math.round(v))+l.length;const P=y.join(", "),E=`rotateX(${p(T[0])}deg) rotateY(${p(T[1])}deg) rotateZ(${p(T[2])}deg)`,M=w<0?`scale(${1+(1-L.scale)*w*u})`:`scale(${1-(1-L.scale)*w*u})`,z=w<0?1+(1-L.opacity)*w*u:1-(1-L.opacity)*w*u,C=`translate3d(${P}) ${E} ${M}`;if(A&&L.shadow||!A){let R=m.querySelector(".swiper-slide-shadow");if(!R&&L.shadow&&(R=Ms("creative",m)),R){const N=c.shadowPerProgress?b*(1/c.limitProgress):b;R.style.opacity=Math.min(Math.max(Math.abs(N),0),1)}}const _=pi(c,m);_.style.transform=C,_.style.opacity=z,L.origin&&(_.style.transformOrigin=L.origin)}},setTransition:l=>{const a=e.slides.map(d=>ms(d));a.forEach(d=>{d.style.transitionDuration=`${l}ms`,d.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${l}ms`})}),un({swiper:e,duration:l,transformElements:a,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function pw(t){let{swiper:e,extendParams:s,on:i}=t;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Os({effect:"cards",swiper:e,on:i,setTranslate:()=>{const{slides:o,activeIndex:l,rtlTranslate:a}=e,d=e.params.cardsEffect,{startTranslate:c,isTouched:u}=e.touchEventsData,f=a?-e.translate:e.translate;for(let p=0;p0&&v<1&&(u||e.params.cssMode)&&f-1&&(u||e.params.cssMode)&&f>c;if(E||M){const R=(1-Math.abs((Math.abs(v)-.5)/.5))**.5;A+=-28*v*R,T+=-.5*R,L+=96*R,g=`${-25*R*Math.abs(v)}%`}if(v<0?w=`calc(${w}px ${a?"-":"+"} (${L*Math.abs(v)}%))`:v>0?w=`calc(${w}px ${a?"-":"+"} (-${L*Math.abs(v)}%))`:w=`${w}px`,!e.isHorizontal()){const R=g;g=w,w=R}const z=v<0?`${1+(1-T)*v}`:`${1-(1-T)*v}`,C=` + translate3d(${w}, ${g}, ${y}px) + rotateZ(${d.rotate?a?-A:A:0}deg) + scale(${z}) + `;if(d.slideShadows){let R=h.querySelector(".swiper-slide-shadow");R||(R=Ms("cards",h)),R&&(R.style.opacity=Math.min(Math.max((Math.abs(v)-.5)/.5,0),1))}h.style.zIndex=-Math.abs(Math.round(m))+o.length;const _=pi(d,h);_.style.transform=C}},setTransition:o=>{const l=e.slides.map(a=>ms(a));l.forEach(a=>{a.style.transitionDuration=`${o}ms`,a.querySelectorAll(".swiper-slide-shadow").forEach(d=>{d.style.transitionDuration=`${o}ms`})}),un({swiper:e,duration:o,transformElements:l})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const hw=[Hv,Bv,jv,qv,Vv,Wv,Gv,Uv,Xv,Yv,Kv,Zv,Jv,Qv,ew,tw,aw,lw,cw,uw,dw,fw,pw];st.use(hw);const dn=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ps(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function pr(t,e){const s=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>s.indexOf(i)<0).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Ps(e[i])&&Ps(t[i])&&Object.keys(e[i]).length>0?e[i].__swiper__?t[i]=e[i]:pr(t[i],e[i]):t[i]=e[i]})}function mw(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function gw(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function vw(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Mi(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function ww(t){let{swiper:e,slides:s,passedParams:i,changedParams:n,nextEl:r,prevEl:o,scrollbarEl:l,paginationEl:a}=t;const d=n.filter(E=>E!=="children"&&E!=="direction"&&E!=="wrapperClass"),{params:c,pagination:u,navigation:f,scrollbar:p,virtual:h,thumbs:m}=e;let v,b,w,g,y,T,A,L;n.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(v=!0),n.includes("controller")&&i.controller&&i.controller.control&&c.controller&&!c.controller.control&&(b=!0),n.includes("pagination")&&i.pagination&&(i.pagination.el||a)&&(c.pagination||c.pagination===!1)&&u&&!u.el&&(w=!0),n.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||l)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(g=!0),n.includes("navigation")&&i.navigation&&(i.navigation.prevEl||o)&&(i.navigation.nextEl||r)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(y=!0);const P=E=>{e[E]&&(e[E].destroy(),E==="navigation"?(e.isElement&&(e[E].prevEl.remove(),e[E].nextEl.remove()),c[E].prevEl=void 0,c[E].nextEl=void 0,e[E].prevEl=void 0,e[E].nextEl=void 0):(e.isElement&&e[E].el.remove(),c[E].el=void 0,e[E].el=void 0))};n.includes("loop")&&e.isElement&&(c.loop&&!i.loop?T=!0:!c.loop&&i.loop?A=!0:L=!0),d.forEach(E=>{if(Ps(c[E])&&Ps(i[E]))Object.assign(c[E],i[E]),(E==="navigation"||E==="pagination"||E==="scrollbar")&&"enabled"in i[E]&&!i[E].enabled&&P(E);else{const M=i[E];(M===!0||M===!1)&&(E==="navigation"||E==="pagination"||E==="scrollbar")?M===!1&&P(E):c[E]=i[E]}}),d.includes("controller")&&!b&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),n.includes("children")&&s&&h&&c.virtual.enabled?(h.slides=s,h.update(!0)):n.includes("virtual")&&h&&c.virtual.enabled&&(s&&(h.slides=s),h.update(!0)),n.includes("children")&&s&&c.loop&&(L=!0),v&&m.init()&&m.update(!0),b&&(e.controller.control=c.controller.control),w&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(c.pagination.el=a),u.init(),u.render(),u.update()),g&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),e.el.appendChild(l)),l&&(c.scrollbar.el=l),p.init(),p.updateSize(),p.setTranslate()),y&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=e.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),e.el.appendChild(o))),r&&(c.navigation.nextEl=r),o&&(c.navigation.prevEl=o),f.init(),f.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=i.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=i.allowSlidePrev),n.includes("direction")&&e.changeDirection(i.direction,!1),(T||L)&&e.loopDestroy(),(A||L)&&e.loopCreate(),e.update()}const ma=t=>{if(parseFloat(t)===Number(t))return Number(t);if(t==="true"||t==="")return!0;if(t==="false")return!1;if(t==="null")return null;if(t!=="undefined"){if(typeof t=="string"&&t.includes("{")&&t.includes("}")&&t.includes('"')){let e;try{e=JSON.parse(t)}catch{e=t}return e}return t}},ga=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function va(t,e,s){const i={},n={};pr(i,fr);const r=[...dn,"on"],o=r.map(a=>a.replace(/_/,""));r.forEach(a=>{a=a.replace("_",""),typeof t[a]<"u"&&(n[a]=t[a])});const l=[...t.attributes];return typeof e=="string"&&typeof s<"u"&&l.push({name:e,value:Ps(s)?{...s}:s}),l.forEach(a=>{const d=ga.filter(c=>a.name.indexOf(`${c}-`)===0)[0];if(d){const c=Mi(d),u=Mi(a.name.split(`${d}-`)[1]);typeof n[c]>"u"&&(n[c]={}),n[c]===!0&&(n[c]={enabled:!0}),n[c][u]=ma(a.value)}else{const c=Mi(a.name);if(!o.includes(c))return;const u=ma(a.value);n[c]&&ga.includes(a.name)&&!Ps(u)?(n[c].constructor!==Object&&(n[c]={}),n[c].enabled=!!u):n[c]=u}}),pr(i,n),i.navigation?i.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...i.navigation!==!0?i.navigation:{}}:i.navigation===!1&&delete i.navigation,i.scrollbar?i.scrollbar={el:".swiper-scrollbar",...i.scrollbar!==!0?i.scrollbar:{}}:i.scrollbar===!1&&delete i.scrollbar,i.pagination?i.pagination={el:".swiper-pagination",...i.pagination!==!0?i.pagination:{}}:i.pagination===!1&&delete i.pagination,{params:i,passedParams:n}}const bw=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",yw="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class Sw{}const Dc=typeof window>"u"||typeof HTMLElement>"u"?Sw:HTMLElement,wa=` + `,$c=(t,e)=>{if(typeof CSSStyleSheet<"u"&&t.adoptedStyleSheets){const s=new CSSStyleSheet;s.replaceSync(e),t.adoptedStyleSheets=[s]}else{const s=document.createElement("style");s.rel="stylesheet",s.textContent=e,t.appendChild(s)}};class Nc extends Dc{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return wa}static get prevButtonSvg(){return wa.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[bw,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` +`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,s=[...this.querySelectorAll("[slot^=slide-]")].map(i=>parseInt(i.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=s.length?Math.max(...s)+1:0,!!this.rendered){if(this.slideSlots>e)for(let i=e;i=0;n-=1)n>this.slideSlots&&i[n].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&$c(this.shadowRoot,e),this.cssLinks().forEach(i=>{if(this.shadowRoot.querySelector(`link[href="${i}"]`))return;const r=document.createElement("link");r.rel="stylesheet",r.href=i,this.shadowRoot.appendChild(r)});const s=document.createElement("div");s.classList.add("swiper"),s.part="container",s.innerHTML=` + +
+ + ${Array.from({length:this.slideSlots}).map((i,n)=>` + + + + `).join("")} +
+ + ${mw(this.passedParams)?` +
${this.constructor.prevButtonSvg}
+
${this.constructor.nextButtonSvg}
+ `:""} + ${gw(this.passedParams)?` +
+ `:""} + ${vw(this.passedParams)?` +
+ `:""} + `,this.shadowRoot.appendChild(s),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;const{params:s,passedParams:i}=va(this);this.swiperParams=s,this.passedParams=i,delete this.swiperParams.init,this.render(),this.swiper=new st(this.shadowRoot.querySelector(".swiper"),{...s.virtual?{}:{observer:!0},...s,touchEventsTarget:"container",onAny:function(n){n==="observerUpdate"&&e.calcSlideSlots();const r=s.eventsPrefix?`${s.eventsPrefix}${n.toLowerCase()}`:n.toLowerCase();for(var o=arguments.length,l=new Array(o>1?o-1:0),a=1;as.includes("_")).map(s=>s.replace(/[A-Z]/g,i=>`-${i}`).replace("_","").toLowerCase())}}dn.forEach(t=>{t!=="init"&&(t=t.replace("_",""),Object.defineProperty(Nc.prototype,t,{configurable:!0,get(){return(this.passedParams||{})[t]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[t]=e,this.initialized&&this.updateSwiperOnPropChange(t,e)}}))});class Ew extends Dc{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if($c(this.shadowRoot,yw),this.shadowRoot.appendChild(document.createElement("slot")),e){const s=document.createElement("div");s.classList.add("swiper-lazy-preloader"),s.part.add("preloader"),this.shadowRoot.appendChild(s)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const xw=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Nc),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Ew))};typeof window<"u"&&(window.SwiperElementRegisterParams=t=>{dn.push(...t)});const Tw=["src","alt"],Cw={class:"caption"},_w={__name:"ModaleDiaporama",props:{partie:Object,couleur:String},setup(t){xw();const e=t,{isModaleOpen:s,currentImage:i,swiperPopupContent:n,openImageModale:r,closeImageModale:o}=Pc(),l=a=>{const d=a.target;if(d.tagName==="IMG"){const c=d.closest("SWIPER-SLIDE");let u=[];c&&d.closest("swiper-container").querySelectorAll("swiper-slide").forEach(p=>{var v;const h=p.querySelector("img"),m=((v=p.querySelector("figcaption"))==null?void 0:v.textContent)||"";u.push({src:h.getAttribute("src"),alt:m})}),r(d.src,d.alt,u)}};return ci(()=>{document.documentElement.style.setProperty("--etape-couleur",e.couleur)}),(a,d)=>{const c=Oi("swiper-slide"),u=Oi("swiper-container");return se(),re(Te,null,[Oe(u,{class:"diaporama",slidesPerView:1.5,centeredSlides:!0,loop:!0,navigation:!0,pagination:!0,injectStyles:[".swiper-button-next, .swiper-button-prev { z-index: 11; }"]},{default:It(()=>[(se(!0),re(Te,null,Rt(t.partie.diaporama,f=>(se(),Xe(c,{style:{width:"100%"}},{default:It(()=>[Z("figure",null,[Z("img",{src:f.url,alt:f.alt,onClick:l},null,8,Tw),Z("figcaption",Cw,Ee(f.alt),1)])]),_:2},1024))),256))]),_:1}),Oe(Ac,{isOpen:we(s),image:we(i),swiperContent:we(n),onClose:we(o)},null,8,["isOpen","image","swiperContent","onClose"])],64)}}},Mw={class:"entretien"},Pw={class:"personnes"},Aw={class:"personne"},Lw=["src","alt"],Ow={class:"description"},Iw=["innerHTML"],Rw=["innerHTML"],zw=["innerHTML"],kw={__name:"ModaleEntretien",props:{partie:Object,couleur:String},setup(t){return(e,s)=>(se(),re("div",Mw,[Z("h3",null,[Z("p",{style:Le({background:`linear-gradient(transparent 70%, ${t.couleur} 70%)`})},"Entretien",4)]),Z("div",Pw,[(se(!0),re(Te,null,Rt(t.partie.entretien.personnes,i=>(se(),re("div",Aw,[Z("figure",null,[Z("img",{src:i.portrait,alt:i.alt},null,8,Lw)]),Z("div",Ow,[Z("p",{innerHTML:i.description},null,8,Iw)])]))),256))]),Z("div",{class:"questions-reponses",style:Le({"--couleur":t.couleur})},[(se(!0),re(Te,null,Rt(t.partie.entretien.questionsReponses,i=>(se(),re("div",null,[Z("div",{innerHTML:i.question,class:"question"},null,8,Rw),Z("div",{innerHTML:i.reponse,class:"reponse"},null,8,zw)]))),256))],4)]))}},Dw=qr(kw,[["__scopeId","data-v-6b076244"]]),$w=["innerHTML"],Nw={__name:"ModaleExergue",props:{partie:Object,couleur:String},setup(t){return(e,s)=>(se(),re("div",{class:"exergue",style:Le({"--couleur":t.couleur}),innerHTML:t.partie.exergue},null,12,$w))}},Fw=qr(Nw,[["__scopeId","data-v-19738a4f"]]),Hw={class:"videos"},Bw=["src"],jw={__name:"ModaleVideos",props:{partie:Object},setup(t){return(e,s)=>(se(),re("div",Hw,[(se(!0),re(Te,null,Rt(t.partie.videos,i=>(se(),re("iframe",{src:i,frameborder:"0",width:"100%",style:{"aspect-ratio":"16 / 9"}},null,8,Bw))),256))]))}};function qw(){const t=s=>!s||typeof s!="object"?!0:!Object.keys(s).some(i=>{const n=s[i];return Array.isArray(n)?n.length>0:typeof n=="object"?!t(n):n!=null&&n!==""});return{isObjectEmpty:t,scrollTop:()=>{window.scrollTo({top:0,behavior:"smooth"})}}}const Vw={key:0},Ww={class:"content-wrapper"},Gw={class:"partie"},Ht="#80c8bf",hr={__name:"Modale",setup(t){const{isObjectEmpty:e,scrollTop:s}=qw(),i=um(),n=Hr(),r=mc(),o=dm(),{loading:l,error:a,href:d,map:c,etape:u,page:f}=Ro(n),{duration:p}=Ro(r),h=Ye(()=>!a.value&&!l.value&&u.value&&!e(u.value)),m=Ye(()=>!a.value&&!l.value&&f.value&&!e(f.value));let v,b,w=!1;const g=()=>{Et(()=>o.params.id,L=>{var P;if(w){w=!1;return}L?(n.fetchEtapeData(L,c.value),(P=u.value)!=null&&P.data||n.fetchStaticData(L,c.value),s()):n.emptyAll(c.value)},{immediate:!0})},y=()=>{Et(()=>d.value,()=>{document.documentElement.style.setProperty("--etape-couleur",u.value.couleur||Ht)})},T=()=>{Et(()=>d.value,L=>{const P=L.split(".fr")[1];w=!0,L==""?(i.push("/"),r.unlockMap(c.value)):P&&P!==""&&P!=="/"&&(r.lockMap(c.value),i.push(P),s())})},A=()=>{Et(()=>d.value,()=>{v=!e(u.value),!b&&v?(document.documentElement.style.setProperty("--modale-enter-delay",`${p.value}s`),r.zoomToPlace(c.value,u.value.coordinates.lat,u.value.coordinates.lon)):b&&v?(document.documentElement.style.setProperty("--modale-leave-delay",0),document.documentElement.style.setProperty("--modale-enter-delay",`${p.value*2}s`),r.resetMap(c.value),setTimeout(()=>{r.zoomToPlace(c.value,u.value.coordinates.lat,u.value.coordinates.lon)},p.value*1e3)):b&&!v&&(document.documentElement.style.setProperty("--modale-leave-delay",0),r.resetMap(c.value)),b=v})};return ci(()=>{v=!e(u.value),b=v,g(),y(),T(),A()}),(L,P)=>(se(),Xe(zi,null,{default:It(()=>[h.value||m.value?(se(),re("div",Vw,[Z("div",Ww,[Oe(vm,{content:we(u).title?we(u):we(f),couleur:we(u).couleur||Ht},null,8,["content","couleur"]),Z("main",null,[(se(!0),re(Te,null,Rt(we(u).parties||we(f).parties,E=>(se(),re("div",Gw,[E.type==="carte_sensible"?(se(),Xe(rg,{key:0,partie:E},null,8,["partie"])):Ae("",!0),E.type==="titre_texte"?(se(),Xe(wg,{key:1,partie:E,couleur:we(u).couleur||Ht},null,8,["partie","couleur"])):Ae("",!0),E.type==="chiffres_cles"?(se(),Xe(Eg,{key:2,partie:E,couleur:we(u).couleur||Ht},null,8,["partie","couleur"])):Ae("",!0),E.type==="diaporama"?(se(),Xe(_w,{key:3,partie:E,couleur:we(u).couleur||Ht},null,8,["partie","couleur"])):Ae("",!0),E.type==="entretien"?(se(),Xe(Dw,{key:4,partie:E,couleur:we(u).couleur||Ht},null,8,["partie","couleur"])):Ae("",!0),E.type==="exergue"?(se(),Xe(Fw,{key:5,partie:E,couleur:we(u).couleur||Ht},null,8,["partie","couleur"])):Ae("",!0),E.type==="video"?(se(),Xe(jw,{key:6,partie:E},null,8,["partie"])):Ae("",!0)]))),256))]),Oe(Rm,{content:we(u)||we(f),couleur:we(u).couleur||Ht,map:we(c)},null,8,["content","couleur","map"])])])):Ae("",!0)]),_:1}))}},Uw=[{path:"/node/:id",component:hr,name:"modale"},{path:"/",component:hr,name:"home"}],Xw=lm({history:Dh(),routes:Uw});(function(t,e,s){(function(){s.path.isFront,console.log("drupalSettings",s);function n(){console.log("CaravaneTheme init()"),r(),u()}function r(){o()}function o(){const h=Sf(hr).use(Cf()).use(Xw).use(sg),m=Hr(),v=mc();h.mount("#content-modale"),f(),e.behaviors.customLeafletInteraction={attach:function(b,w){t(b).on("leafletMapInit",function(g,y,T,A,L){v.defaultMapCenter=T.getCenter(),v.maxZoom=y.settings.maxZoom,v.defaultZoom=y.settings.minZoom,c(m,T),a(m,T),d(m,T),p(m,T)})}}}function l(h,m,v,b){h.preventDefault();let w;h.target.tagName!=="IMG"?w=h.target.closest("li").querySelector("a"):w=h.target.closest("a");let g=w.dataset.nodeNid;return b==="etape"?m.fetchEtapeData(g,v):b==="static"&&(g?m.fetchStaticData(g,v):m.emptyAll(null,v)),null}function a(h,m){let v=document.querySelectorAll("#menu > ul > li > a");for(let b=1;bl(y,h,m,"static")))}}function d(h,m){document.querySelector("#block-caravane-logocaravane a").addEventListener("click",b=>l(b,h,m,"static"))}function c(h,m){document.querySelectorAll("#etapes-liste li").forEach(b=>{let g=b.querySelector(".views-field-nid").innerText;g&&(b.querySelector("a").setAttribute("data-node-nid",g),b.addEventListener("click",L=>l(L,h,m,"etape")));let y=b.querySelector(".views-field-field-couleur .snippets-description").innerText,T=b.querySelectorAll(".icone-arret > div");for(let A of T)A.style.backgroundColor=y})}function u(){const h=document.querySelector("#block-caravane-mainnavigation > #menu"),m=document.querySelector("#block-caravane-mainnavigation > #menu > ul"),v=document.querySelector("#menu-title"),b=document.querySelector("#hamburger"),w=document.querySelector("#menu > h2");h.addEventListener("click",g=>{setTimeout(()=>{m.classList.toggle("open"),v.classList.toggle("open"),b.classList.toggle("open"),w.classList.toggle("open")},50)}),document.addEventListener("click",g=>{!m.contains(g.target)&&!b.contains(g.target)&&(m.classList.remove("open"),v.classList.remove("open"),b.classList.remove("open"),w.classList.remove("open"))})}function f(){if(s.user.uid!=0){const h=document.querySelector("#hamburger"),m=document.querySelector("#menu-title"),v=document.querySelector("#block-caravane-mainnavigation > #menu > ul"),w=document.querySelector(".dialog-off-canvas-main-canvas").getBoundingClientRect().top;m.style.top=`${w}px`,h.style.top=`${w}px`,v.style.paddingTop=`${w}px`}}function p(h,m){const v=document.querySelectorAll(".leaflet-map-divicon");for(let b of v){const w=b.querySelector(".couleur");let g=w.querySelectorAll(".separated-content"),y;g.forEach(P=>{P.innerText.startsWith('
')&&(y=P.innerText)}),y=y.substring(y.indexOf(">")+1,y.indexOf("<",y.indexOf(">")+1)).trim();const T=b.querySelector(".nid"),A=T.querySelector(".separated-content").innerText;b.addEventListener("click",function(P){h.fetchEtapeData(A,m)}),w.style.display="none",T.style.display="none";const L=b.querySelectorAll("div");for(let P of L)P.style.backgroundColor=y;b.removeAttribute("title"),b.addEventListener("mouseenter",function(P){b.style.transform=`${b.style.transform} scale(1.1)`;const E=document.querySelector(".leaflet-tooltip-center > div");E.style.opacity="1"}),b.addEventListener("mouseleave",function(P){b.style.transform=b.style.transform.split(" ")[0]+b.style.transform.split(" ")[1]+b.style.transform.split(" ")[2]})}}n()})()})(jQuery,Drupal,drupalSettings); diff --git a/web/themes/custom/caravane/assets/dist/redirect.js b/web/themes/custom/caravane/assets/dist/redirect.js new file mode 100644 index 0000000..543402b --- /dev/null +++ b/web/themes/custom/caravane/assets/dist/redirect.js @@ -0,0 +1 @@ +console.log("CARAVANE THEME redirect.js drupalDecoupled",drupalDecoupled);drupalDecoupled.redirect?(console.log("redirect",drupalDecoupled),console.log("window.location",window.location),drupalDecoupled.sys_path=edlp.sys_path.replace(/^\//,""),drupalDecoupled.url=window.location.pathname,drupalDecoupled.hash=window.location.hash,window.localStorage.setItem("decoupled_origin",JSON.stringify(drupalDecoupled)),window.location.replace(window.location.origin)):console.log("history do not redirect"); diff --git a/web/themes/custom/caravane/assets/js/main.js b/web/themes/custom/caravane/assets/js/main.js index 1787c33..37219eb 100644 --- a/web/themes/custom/caravane/assets/js/main.js +++ b/web/themes/custom/caravane/assets/js/main.js @@ -43,6 +43,7 @@ import router from './router/router'; function initVues(){ initVueContentModale(); + } function initVueContentModale(){ @@ -62,6 +63,8 @@ import router from './router/router'; mapStore.maxZoom = settings.settings.maxZoom; mapStore.defaultZoom = settings.settings.minZoom; + + initFirstLoadRouting(store, map); processEtapeLinks(store, map); processStaticLinks(store, map); processHeaderLogo(store, map); @@ -71,6 +74,38 @@ import router from './router/router'; } } + function initFirstLoadRouting(store, map){ + var decoupled_origin = JSON.parse(window.localStorage.getItem('decoupled_origin')); + console.log('decoupled_origin', decoupled_origin); + + + if(decoupled_origin && decoupled_origin.entity_id){ + // Si c'était moi je ne ferais qu'une seule function fetchdata capable de dealer avec les différent type de contenus + switch (decoupled_origin.entity_bundle) { + case 'etape': + store.fetchEtapeData(decoupled_origin.entity_id, map); + break; + case 'static': + store.fetchEtapeData(decoupled_origin.entity_id, map); + break; + } + + router.push({ + // name: decoupled_origin.entity_bundle, + path: decoupled_origin.url, + // params: { + // title: decoupled_origin.entity_uuid + // }, + // props: { + // nid: decoupled_origin.entity_id + // } + }); + + // reset the storage + window.localStorage.removeItem("decoupled_origin"); + } + } + function onClickContentLink(e, store, map, category){ e.preventDefault(); let a; @@ -82,7 +117,7 @@ import router from './router/router'; a = e.target.closest('a'); } - let nid = a.dataset.nodeNid; + let nid = a.dataset.nid; if (category === 'etape') { store.fetchEtapeData(nid, map); @@ -100,10 +135,11 @@ import router from './router/router'; function processStaticLinks(store, map) { let general_link_fields = document.querySelectorAll('#menu > ul > li > a'); for (let i =1; i < general_link_fields.length; i ++) { - let general_link_href = general_link_fields[i].getAttribute('href'); - const nid = general_link_href.charAt(general_link_href.length-1); - if (!isNaN(nid)) { - general_link_fields[i].setAttribute('data-node-nid', parseInt(nid)); + let general_link_path = general_link_fields[i].getAttribute('data-drupal-link-system-path'); + const match = [...general_link_path.match(/^node\/(\d+)$/)]; + if (match) { + const nid = match[1]; + general_link_fields[i].setAttribute('data-nid', parseInt(nid)); general_link_fields[i].addEventListener('click', (e) => onClickContentLink(e, store, map, 'static')); } } @@ -117,15 +153,13 @@ import router from './router/router'; function processEtapeLinks(store, map) { let etape_li = document.querySelectorAll('#etapes-liste li'); etape_li.forEach((li) => { - let nidElement = li.querySelector('.views-field-nid'); - let nid = nidElement.innerText; + let etape_link = li.querySelector('a.etape-link'); + let nid = etape_link.dataset.nid; if (nid) { - let a = li.querySelector('a'); - a.setAttribute('data-node-nid', nid); li.addEventListener('click', (e) => onClickContentLink(e, store, map, 'etape')); } - let couleur = li.querySelector('.views-field-field-couleur .snippets-description').innerText; + let couleur = etape_link.dataset.couleur; let iconElements = li.querySelectorAll('.icone-arret > div'); for (let element of iconElements) { element.style.backgroundColor = couleur; diff --git a/web/themes/custom/caravane/assets/js/redirect.js b/web/themes/custom/caravane/assets/js/redirect.js new file mode 100644 index 0000000..b04aef1 --- /dev/null +++ b/web/themes/custom/caravane/assets/js/redirect.js @@ -0,0 +1,16 @@ +console.log('CARAVANE THEME redirect.js drupalDecoupled', drupalDecoupled); + +// var drupalDecoupled is provided by edlp_ajax.module file +if(drupalDecoupled.redirect){ + console.log('redirect', drupalDecoupled); + console.log('window.location', window.location); + + drupalDecoupled.sys_path = drupalDecoupled.sys_path.replace(/^\//, ''); + drupalDecoupled.url = window.location.pathname; + drupalDecoupled.hash = window.location.hash; + window.localStorage.setItem('decoupled_origin', JSON.stringify(drupalDecoupled)); + // redirect to home + window.location.replace(window.location.origin); +}else{ + console.log('history do not redirect'); +} diff --git a/web/themes/custom/caravane/assets/js/router/router.js b/web/themes/custom/caravane/assets/js/router/router.js index d867ab2..c9ae289 100644 --- a/web/themes/custom/caravane/assets/js/router/router.js +++ b/web/themes/custom/caravane/assets/js/router/router.js @@ -2,8 +2,17 @@ import { createRouter, createWebHistory } from 'vue-router'; import ModaleView from '../vuejs/Modale.vue'; const routes = [ - { path: '/node/:id', component: ModaleView, name: 'modale' }, - { path: '/', component: ModaleView, name: 'home' }, + { + name: 'etape', + path: '/etapes/:title?', + component: ModaleView, + props: {id: null} + }, + { + name: 'home', + path: '/', + component: ModaleView + }, ]; const router = createRouter({ diff --git a/web/themes/custom/caravane/caravane.libraries.yml b/web/themes/custom/caravane/caravane.libraries.yml index df8a2ab..4fc7119 100644 --- a/web/themes/custom/caravane/caravane.libraries.yml +++ b/web/themes/custom/caravane/caravane.libraries.yml @@ -1,6 +1,12 @@ +# redirect-js: +# header: true +# js: +# assets/dist/scripts/redirect.min.js: { weight: -998, preprocess: false, minified: true } + # Main theme library. global: js: + assets/dist/scripts/redirect.min.js: { weight: -998, preprocess: false, minified: true } assets/dist/main.js: {} # assets/js/main.js: {} css: @@ -14,7 +20,12 @@ vitehmr: type: external attributes: type: module + http://localhost:5173/assets/js/redirect.js: + type: external + attributes: + type: module http://localhost:5173/assets/js/main.js: type: external attributes: - type: module \ No newline at end of file + type: module + \ No newline at end of file diff --git a/web/themes/custom/caravane/caravane.theme b/web/themes/custom/caravane/caravane.theme index 8789f24..e883cb2 100644 --- a/web/themes/custom/caravane/caravane.theme +++ b/web/themes/custom/caravane/caravane.theme @@ -13,6 +13,7 @@ function caravane_page_attachments_alter(&$page) { // $page['#attached']['library'][] = 'http://localhost:5173/assets/js/main.js'; $page['#attached']['library'][] = 'caravane/vitehmr'; }else{ + // $page['#attached']['library'][] = 'caravane/redirect-js'; $page['#attached']['library'][] = 'caravane/global'; } } diff --git a/web/themes/custom/caravane/vite.config.js b/web/themes/custom/caravane/vite.config.js index 767cbf3..68f0fe0 100644 --- a/web/themes/custom/caravane/vite.config.js +++ b/web/themes/custom/caravane/vite.config.js @@ -16,9 +16,12 @@ export default defineConfig({ build: { outDir: 'assets/dist', rollupOptions: { - input: 'assets/js/main.js', + input: { + main: 'assets/js/main.js', + redirect: 'assets/js/redirect' + }, output: { - entryFileNames: 'main.js', + entryFileNames: '[name].js', assetFileNames: 'main.css' } }