From 5deb49de6d0be9c8f89603e732351d70d235e73b Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 16 Jul 2024 17:01:09 +0200 Subject: [PATCH] first rest request --- composer.json | 1 + composer.lock | 58 ++++++++- config/sync/core.extension.yml | 2 + config/sync/jsonapi.settings.yml | 7 ++ ...ger.page_variant.home-panels_variant-0.yml | 2 +- config/sync/rest.resource.entity.node.yml | 18 +++ config/sync/views.view.etapes.yml | 90 +++++++++++++- .../custom/caravane/assets/dist/main.css | 2 +- .../custom/caravane/assets/dist/main.js | 13 ++- .../caravane/assets/js/api/json-axios.js | 32 +++++ .../caravane/assets/js/api/rest-axios.js | 45 +++++++ web/themes/custom/caravane/assets/js/main.js | 110 ++++++++++++++++-- .../custom/caravane/assets/js/vuejs/Etape.vue | 2 +- .../custom/caravane/assets/scss/main.scss | 2 +- web/themes/custom/caravane/caravane.info.yml | 6 +- .../custom/caravane/caravane.libraries.yml | 2 +- web/themes/custom/caravane/caravane.theme | 23 +++- web/themes/custom/caravane/package-lock.json | 100 ++++++++++++++++ web/themes/custom/caravane/package.json | 1 + .../caravane/templates/container.html.twig | 30 +++++ .../custom/caravane/vite-project/.gitignore | 24 ---- .../vite-project/.vscode/extensions.json | 3 - .../custom/caravane/vite-project/README.md | 5 - .../custom/caravane/vite-project/index.html | 13 --- .../custom/caravane/vite-project/package.json | 18 --- .../caravane/vite-project/public/vite.svg | 1 - .../custom/caravane/vite-project/src/App.vue | 30 ----- .../caravane/vite-project/src/assets/vue.svg | 1 - .../src/components/HelloWorld.vue | 43 ------- .../custom/caravane/vite-project/src/main.js | 5 - .../caravane/vite-project/src/style.css | 79 ------------- .../caravane/vite-project/vite.config.js | 7 -- web/themes/custom/caravane/vite.config.js | 12 ++ 33 files changed, 529 insertions(+), 258 deletions(-) create mode 100644 config/sync/jsonapi.settings.yml create mode 100644 config/sync/rest.resource.entity.node.yml create mode 100644 web/themes/custom/caravane/assets/js/api/json-axios.js create mode 100644 web/themes/custom/caravane/assets/js/api/rest-axios.js create mode 100644 web/themes/custom/caravane/templates/container.html.twig delete mode 100644 web/themes/custom/caravane/vite-project/.gitignore delete mode 100644 web/themes/custom/caravane/vite-project/.vscode/extensions.json delete mode 100644 web/themes/custom/caravane/vite-project/README.md delete mode 100644 web/themes/custom/caravane/vite-project/index.html delete mode 100644 web/themes/custom/caravane/vite-project/package.json delete mode 100644 web/themes/custom/caravane/vite-project/public/vite.svg delete mode 100644 web/themes/custom/caravane/vite-project/src/App.vue delete mode 100644 web/themes/custom/caravane/vite-project/src/assets/vue.svg delete mode 100644 web/themes/custom/caravane/vite-project/src/components/HelloWorld.vue delete mode 100644 web/themes/custom/caravane/vite-project/src/main.js delete mode 100644 web/themes/custom/caravane/vite-project/src/style.css delete mode 100644 web/themes/custom/caravane/vite-project/vite.config.js diff --git a/composer.json b/composer.json index c05fdee..d6a8d40 100644 --- a/composer.json +++ b/composer.json @@ -33,6 +33,7 @@ "drupal/panels": "^4.8", "drupal/paragraphs": "^1.17", "drupal/rest_menu_items": "^3.0", + "drupal/restui": "^1.21", "drupal/video_embed_field": "^2.5", "geocoder-php/mapquest-provider": "^4.3", "wikimedia/composer-merge-plugin": "^2.1" diff --git a/composer.lock b/composer.lock index 97b115e..b0970d7 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": "7a5c25b49d60842b036ca0c03a245ebc", + "content-hash": "b6ebb6bbd614bba5487d0d043fe1dbdd", "packages": [ { "name": "asm89/stack-cors", @@ -6957,6 +6957,62 @@ "irc": "irc://irc.freenode.org/drupal-contribute" } }, + { + "name": "drupal/restui", + "version": "1.21.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/restui.git", + "reference": "8.x-1.21" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/restui-8.x-1.21.zip", + "reference": "8.x-1.21", + "shasum": "2a67dc2c1953dced0bddaff25e5c60784ee0178c" + }, + "require": { + "drupal/core": "^8.7.7 || ^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.21", + "datestamp": "1659086914", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "-enzo-", + "homepage": "https://www.drupal.org/user/294937" + }, + { + "name": "clemens.tolboom", + "homepage": "https://www.drupal.org/user/125814" + }, + { + "name": "juampynr", + "homepage": "https://www.drupal.org/user/682736" + }, + { + "name": "klausi", + "homepage": "https://www.drupal.org/user/262198" + } + ], + "description": "Provides a user interface to manage REST resources.", + "homepage": "https://www.drupal.org/project/restui", + "support": { + "source": "https://git.drupalcode.org/project/restui" + } + }, { "name": "drupal/search_api", "version": "1.35.0", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index c4b5e87..64e2b80 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -64,6 +64,7 @@ module: image: 0 image_field_caption: 0 inline_entity_form: 0 + jsonapi: 0 language: 0 layout_discovery: 0 leaflet: 0 @@ -98,6 +99,7 @@ module: responsive_image: 0 rest: 0 rest_menu_items: 0 + restui: 0 search_api: 0 search_api_db: 0 serialization: 0 diff --git a/config/sync/jsonapi.settings.yml b/config/sync/jsonapi.settings.yml new file mode 100644 index 0000000..e6f94d1 --- /dev/null +++ b/config/sync/jsonapi.settings.yml @@ -0,0 +1,7 @@ +_core: + default_config_hash: ve5n0mfUSWWZEFldenHnFrpcL1XKTjzTacerxemPPU4 +langcode: fr +read_only: true +maintenance_header_retry_seconds: + min: 5 + max: 10 diff --git a/config/sync/page_manager.page_variant.home-panels_variant-0.yml b/config/sync/page_manager.page_variant.home-panels_variant-0.yml index fd77589..1cf68dc 100644 --- a/config/sync/page_manager.page_variant.home-panels_variant-0.yml +++ b/config/sync/page_manager.page_variant.home-panels_variant-0.yml @@ -50,7 +50,7 @@ variant_settings: uuid: 0dc81be2-9f88-4873-bf9d-30990e9f629e css_classes: - '' - html_id: '' + html_id: etapes-liste css_styles: '' a9f14bc3-d851-4430-b5d9-e0cc0fcbbff7: id: 'views_block:thematiques-block_1' diff --git a/config/sync/rest.resource.entity.node.yml b/config/sync/rest.resource.entity.node.yml new file mode 100644 index 0000000..b875b7a --- /dev/null +++ b/config/sync/rest.resource.entity.node.yml @@ -0,0 +1,18 @@ +uuid: 0effb7bc-e387-45b3-8bee-538a6f61e2ea +langcode: fr +status: true +dependencies: + module: + - node + - serialization + - user +id: entity.node +plugin_id: 'entity:node' +granularity: resource +configuration: + methods: + - GET + formats: + - json + authentication: + - cookie diff --git a/config/sync/views.view.etapes.yml b/config/sync/views.view.etapes.yml index cfa1835..cdfdf23 100644 --- a/config/sync/views.view.etapes.yml +++ b/config/sync/views.view.etapes.yml @@ -260,6 +260,72 @@ display: position: 1 display_options: fields: + nid: + id: nid + table: node_field_data + field: nid + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: nid + plugin_id: field + 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 + click_sort_column: value + type: number_integer + settings: + thousand_separator: '' + prefix_suffix: true + group_column: value + 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 title: id: title table: node_field_data @@ -274,20 +340,38 @@ display: exclude: false alter: alter_text: false - make_link: false + text: '' + make_link: true + 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: false ellipsis: false + 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: true + element_label_colon: false element_wrapper_type: '' - element_wrapper_class: '' + element_wrapper_class: 'data-node-{{ nid }}' element_default_classes: true empty: '' hide_empty: false diff --git a/web/themes/custom/caravane/assets/dist/main.css b/web/themes/custom/caravane/assets/dist/main.css index f2d09c0..26d7f9d 100644 --- a/web/themes/custom/caravane/assets/dist/main.css +++ b/web/themes/custom/caravane/assets/dist/main.css @@ -1 +1 @@ -body{background-color:#00f} +body{background-color:red} diff --git a/web/themes/custom/caravane/assets/dist/main.js b/web/themes/custom/caravane/assets/dist/main.js index 95ab4a8..f2c4fdb 100644 --- a/web/themes/custom/caravane/assets/dist/main.js +++ b/web/themes/custom/caravane/assets/dist/main.js @@ -2,16 +2,21 @@ * @vue/shared v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function fn(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const U={},Ke=[],ie=()=>{},hr=()=>!1,St=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),un=e=>e.startsWith("onUpdate:"),G=Object.assign,an=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pr=Object.prototype.hasOwnProperty,R=(e,t)=>pr.call(e,t),S=Array.isArray,ke=e=>Pt(e)==="[object Map]",gr=e=>Pt(e)==="[object Set]",P=e=>typeof e=="function",z=e=>typeof e=="string",Ge=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",ms=e=>(K(e)||P(e))&&P(e.then)&&P(e.catch),_r=Object.prototype.toString,Pt=e=>_r.call(e),mr=e=>Pt(e).slice(8,-1),br=e=>Pt(e)==="[object Object]",dn=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,et=fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),At=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xr=/-(\w)/g,We=At(e=>e.replace(xr,(t,n)=>n?n.toUpperCase():"")),yr=/\B([A-Z])/g,ze=At(e=>e.replace(yr,"-$1").toLowerCase()),bs=At(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vt=At(e=>e?`on${bs(e)}`:""),Ve=(e,t)=>!Object.is(e,t),Dt=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},wr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $n;const ys=()=>$n||($n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hn(e){if(S(e)){const t={};for(let n=0;n{if(n){const s=n.split(Er);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function pn(e){let t="";if(z(e))t=e;else if(S(e))for(let n=0;nn.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;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Pe()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Te,n=He;try{return Te=!0,He=this,this._runnings++,Un(this),this.fn()}finally{Vn(this),this._runnings--,He=n,Te=t}}stop(){this.active&&(Un(this),Vn(this),this.onStop&&this.onStop(),this.active=!1)}}function Rr(e){return e.value}function Un(e){e._trackId++,e._depsLength=0}function Vn(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},Qt=new WeakMap,$e=Symbol(""),kt=Symbol("");function ee(e,t,n){if(Te&&He){let s=Qt.get(e);s||Qt.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Ts(()=>s.delete(n))),Cs(He,r)}}function we(e,t,n,s,r,i){const o=Qt.get(e);if(!o)return;let f=[];if(t==="clear")f=[...o.values()];else if(n==="length"&&S(e)){const u=Number(s);o.forEach((d,h)=>{(h==="length"||!Ge(h)&&h>=u)&&f.push(d)})}else switch(n!==void 0&&f.push(o.get(n)),t){case"add":S(e)?dn(n)&&f.push(o.get("length")):(f.push(o.get($e)),ke(e)&&f.push(o.get(kt)));break;case"delete":S(e)||(f.push(o.get($e)),ke(e)&&f.push(o.get(kt)));break;case"set":ke(e)&&f.push(o.get($e));break}_n();for(const u of f)u&&Os(u,4);mn()}const Fr=fn("__proto__,__v_isRef,__isVue"),Is=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge)),Dn=Mr();function Mr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=N(this);for(let i=0,o=this.length;i{e[t]=function(...n){Se(),_n();const s=N(this)[t].apply(this,n);return mn(),Pe(),s}}),e}function Lr(e){Ge(e)||(e=String(e));const t=N(this);return ee(t,"has",e),t.hasOwnProperty(e)}class Ss{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?zr:Fs:i?Rs:As).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=S(t);if(!r){if(o&&R(Dn,n))return Reflect.get(Dn,n,s);if(n==="hasOwnProperty")return Lr}const f=Reflect.get(t,n,s);return(Ge(n)?Is.has(n):Fr(n))||(r||ee(t,"get",n),i)?f:se(f)?o&&dn(n)?f:f.value:K(f)?r?Ms(f):yn(f):f}}class Ps extends Ss{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const u=Ct(i);if(!en(s)&&!Ct(s)&&(i=N(i),s=N(s)),!S(t)&&se(i)&&!se(s))return u?!1:(i.value=s,!0)}const o=S(t)&&dn(n)?Number(n)e,Rt=e=>Reflect.getPrototypeOf(e);function pt(e,t,n=!1,s=!1){e=e.__v_raw;const r=N(e),i=N(t);n||(Ve(t,i)&&ee(r,"get",t),ee(r,"get",i));const{has:o}=Rt(r),f=s?bn:n?En:vn;if(o.call(r,t))return f(e.get(t));if(o.call(r,i))return f(e.get(i));e!==r&&e.get(t)}function gt(e,t=!1){const n=this.__v_raw,s=N(n),r=N(e);return t||(Ve(e,r)&&ee(s,"has",e),ee(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function _t(e,t=!1){return e=e.__v_raw,!t&&ee(N(e),"iterate",$e),Reflect.get(e,"size",e)}function Kn(e){e=N(e);const t=N(this);return Rt(t).has.call(t,e)||(t.add(e),we(t,"add",e,e)),this}function Bn(e,t){t=N(t);const n=N(this),{has:s,get:r}=Rt(n);let i=s.call(n,e);i||(e=N(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Ve(t,o)&&we(n,"set",e,t):we(n,"add",e,t),this}function Wn(e){const t=N(this),{has:n,get:s}=Rt(t);let r=n.call(t,e);r||(e=N(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&we(t,"delete",e,void 0),i}function qn(){const e=N(this),t=e.size!==0,n=e.clear();return t&&we(e,"clear",void 0,void 0),n}function mt(e,t){return function(s,r){const i=this,o=i.__v_raw,f=N(o),u=t?bn:e?En:vn;return!e&&ee(f,"iterate",$e),o.forEach((d,h)=>s.call(r,u(d),u(h),i))}}function bt(e,t,n){return function(...s){const r=this.__v_raw,i=N(r),o=ke(i),f=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,d=r[e](...s),h=n?bn:t?En:vn;return!t&&ee(i,"iterate",u?kt:$e),{next(){const{value:y,done:E}=d.next();return E?{value:y,done:E}:{value:f?[h(y[0]),h(y[1])]:h(y),done:E}},[Symbol.iterator](){return this}}}}function Ee(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ur(){const e={get(i){return pt(this,i)},get size(){return _t(this)},has:gt,add:Kn,set:Bn,delete:Wn,clear:qn,forEach:mt(!1,!1)},t={get(i){return pt(this,i,!1,!0)},get size(){return _t(this)},has:gt,add:Kn,set:Bn,delete:Wn,clear:qn,forEach:mt(!1,!0)},n={get(i){return pt(this,i,!0)},get size(){return _t(this,!0)},has(i){return gt.call(this,i,!0)},add:Ee("add"),set:Ee("set"),delete:Ee("delete"),clear:Ee("clear"),forEach:mt(!0,!1)},s={get(i){return pt(this,i,!0,!0)},get size(){return _t(this,!0)},has(i){return gt.call(this,i,!0)},add:Ee("add"),set:Ee("set"),delete:Ee("delete"),clear:Ee("clear"),forEach:mt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=bt(i,!1,!1),n[i]=bt(i,!0,!1),t[i]=bt(i,!1,!0),s[i]=bt(i,!0,!0)}),[e,n,t,s]}const[Vr,Dr,Kr,Br]=Ur();function xn(e,t){const n=t?e?Br:Kr:e?Dr:Vr;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(R(n,r)&&r in s?n:s,r,i)}const Wr={get:xn(!1,!1)},qr={get:xn(!1,!0)},Gr={get:xn(!0,!1)};const As=new WeakMap,Rs=new WeakMap,Fs=new WeakMap,zr=new WeakMap;function Jr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Yr(e){return e.__v_skip||!Object.isExtensible(e)?0:Jr(mr(e))}function yn(e){return Ct(e)?e:wn(e,!1,jr,Wr,As)}function Xr(e){return wn(e,!1,$r,qr,Rs)}function Ms(e){return wn(e,!0,Hr,Gr,Fs)}function wn(e,t,n,s,r){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Yr(e);if(o===0)return e;const f=new Proxy(e,o===2?s:n);return r.set(e,f),f}function tt(e){return Ct(e)?tt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ct(e){return!!(e&&e.__v_isReadonly)}function en(e){return!!(e&&e.__v_isShallow)}function Ls(e){return e?!!e.__v_raw:!1}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function Zr(e){return Object.isExtensible(e)&&xs(e,"__v_skip",!0),e}const vn=e=>K(e)?yn(e):e,En=e=>K(e)?Ms(e):e;class Ns{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new gn(()=>t(this._value),()=>Kt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=N(this);return(!t._cacheable||t.effect.dirty)&&Ve(t._value,t._value=t.effect.run())&&Kt(t,4),kr(t),t.effect._dirtyLevel>=2&&Kt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Qr(e,t,n=!1){let s,r;const i=P(e);return i?(s=e,r=ie):(s=e.get,r=e.set),new Ns(s,r,i||!r,n)}function kr(e){var t;Te&&He&&(e=N(e),Cs(He,(t=e.dep)!=null?t:e.dep=Ts(()=>e.dep=void 0,e instanceof Ns?e:void 0)))}function Kt(e,t=4,n,s){e=N(e);const r=e.dep;r&&Os(r,t)}function se(e){return!!(e&&e.__v_isRef===!0)}function ei(e){return se(e)?e.value:e}const ti={get:(e,t,n)=>ei(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return se(r)&&!se(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function js(e){return tt(e)?e:new Proxy(e,ti)}/** +**/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 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ie(e,t,n,s){try{return s?e(...s):e()}catch(r){Ft(r,t,n)}}function fe(e,t,n,s){if(P(e)){const r=Ie(e,t,n,s);return r&&ms(r)&&r.catch(i=>{Ft(i,t,n)}),r}if(S(e)){const r=[];for(let i=0;i>>1,r=Y[s],i=lt(r);ige&&Y.splice(t,1)}function li(e){S(e)?Be.push(...e):(!Ce||!Ce.includes(e,e.allowRecurse?Ne+1:Ne))&&Be.push(e),$s()}function Gn(e,t,n=it?ge+1:0){for(;nlt(n)-lt(s));if(Be.length=0,Ce){Ce.push(...t);return}for(Ce=t,Ne=0;Nee.id==null?1/0:e.id,oi=(e,t)=>{const n=lt(e)-lt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vs(e){tn=!1,it=!0,Y.sort(oi);try{for(ge=0;gez(I)?I.trim():I)),y&&(r=n.map(wr))}let f,u=s[f=Vt(t)]||s[f=Vt(We(t))];!u&&i&&(u=s[f=Vt(ze(t))]),u&&fe(u,e,6,r);const d=s[f+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,fe(d,e,6,r)}}function Ds(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},f=!1;if(!P(e)){const u=d=>{const h=Ds(d,t,!0);h&&(f=!0,G(o,h))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!f?(K(e)&&s.set(e,null),null):(S(i)?i.forEach(u=>o[u]=null):G(o,i),K(e)&&s.set(e,o),o)}function Mt(e,t){return!e||!St(t)?!1:(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,ze(t))||R(e,t))}let _e=null,Ks=null;function Ot(e){const t=_e;return _e=e,Ks=e&&e.type.__scopeId||null,t}function fi(e,t=_e,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ss(-1);const i=Ot(t);let o;try{o=e(...r)}finally{Ot(i),s._d&&ss(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Bt(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:f,emit:u,render:d,renderCache:h,props:y,data:E,setupState:I,ctx:D,inheritAttrs:L}=e,te=Ot(e);let B,J;try{if(n.shapeFlag&4){const W=r||s,re=W;B=pe(d.call(re,W,h,y,I,E,D)),J=f}else{const W=t;B=pe(W.length>1?W(y,{attrs:f,slots:o,emit:u}):W(y,null)),J=t.props?f:ui(f)}}catch(W){rt.length=0,Ft(W,e,1),B=Ue(ot)}let j=B;if(J&&L!==!1){const W=Object.keys(J),{shapeFlag:re}=j;W.length&&re&7&&(i&&W.some(un)&&(J=ai(J,i)),j=qe(j,J,!1,!0))}return n.dirs&&(j=qe(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(j.transition=n.transition),B=j,Ot(te),B}const ui=e=>{let t;for(const n in e)(n==="class"||n==="style"||St(n))&&((t||(t={}))[n]=e[n]);return t},ai=(e,t)=>{const n={};for(const s in e)(!un(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function di(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:f,patchFlag:u}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?zn(s,o,d):!!o;if(u&8){const h=t.dynamicProps;for(let y=0;ye.__isSuspense;function _i(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):li(e)}function Lt(e,t,n=Q,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Se();const f=ft(n),u=fe(t,n,e,o);return f(),Pe(),u});return s?r.unshift(i):r.push(i),i}}const ve=e=>(t,n=Q)=>{(!jt||e==="sp")&&Lt(e,(...s)=>t(...s),n)},mi=ve("bm"),bi=ve("m"),xi=ve("bu"),yi=ve("u"),wi=ve("bum"),Bs=ve("um"),vi=ve("sp"),Ei=ve("rtg"),Ci=ve("rtc");function Oi(e,t=Q){Lt("ec",e,t)}function Me(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o!!e.type.__asyncLoader,nn=e=>e?fr(e)?Pn(e):nn(e.parent):null,nt=G(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=>nn(e.parent),$root:e=>nn(e.root),$emit:e=>e.emit,$options:e=>Tn(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,On(e.update)}),$nextTick:e=>e.n||(e.n=si.bind(e.proxy)),$watch:e=>Gi.bind(e)}),Wt=(e,t)=>e!==U&&!e.__isScriptSetup&&R(e,t),Ti={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:f,appContext:u}=e;let d;if(t[0]!=="$"){const I=o[t];if(I!==void 0)switch(I){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Wt(s,t))return o[t]=1,s[t];if(r!==U&&R(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&R(d,t))return o[t]=3,i[t];if(n!==U&&R(n,t))return o[t]=4,n[t];sn&&(o[t]=0)}}const h=nt[t];let y,E;if(h)return t==="$attrs"&&ee(e.attrs,"get",""),h(e);if((y=f.__cssModules)&&(y=y[t]))return y;if(n!==U&&R(n,t))return o[t]=4,n[t];if(E=u.config.globalProperties,R(E,t))return E[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Wt(r,t)?(r[t]=n,!0):s!==U&&R(s,t)?(s[t]=n,!0):R(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let f;return!!n[o]||e!==U&&R(e,o)||Wt(t,o)||(f=i[0])&&R(f,o)||R(s,o)||R(nt,o)||R(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:R(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Jn(e){return S(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let sn=!0;function Ii(e){const t=Tn(e),n=e.proxy,s=e.ctx;sn=!1,t.beforeCreate&&Yn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:f,provide:u,inject:d,created:h,beforeMount:y,mounted:E,beforeUpdate:I,updated:D,activated:L,deactivated:te,beforeDestroy:B,beforeUnmount:J,destroyed:j,unmounted:W,render:re,renderTracked:F,renderTriggered:me,errorCaptured:ue,serverPrefetch:Ht,expose:Ae,inheritAttrs:Je,components:ut,directives:at,filters:$t}=t;if(d&&Si(d,s,null),o)for(const V in o){const H=o[V];P(H)&&(s[V]=H.bind(n))}if(r){const V=r.call(n,n);K(V)&&(e.data=yn(V))}if(sn=!0,i)for(const V in i){const H=i[V],Re=P(H)?H.bind(n,n):P(H.get)?H.get.bind(n,n):ie,dt=!P(H)&&P(H.set)?H.set.bind(n):ie,Fe=pl({get:Re,set:dt});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ae=>Fe.value=ae})}if(f)for(const V in f)Ws(f[V],s,n,V);if(u){const V=P(u)?u.call(n):u;Reflect.ownKeys(V).forEach(H=>{Li(H,V[H])})}h&&Yn(h,e,"c");function X(V,H){S(H)?H.forEach(Re=>V(Re.bind(n))):H&&V(H.bind(n))}if(X(mi,y),X(bi,E),X(xi,I),X(yi,D),X(zi,L),X(Ji,te),X(Oi,ue),X(Ci,F),X(Ei,me),X(wi,J),X(Bs,W),X(vi,Ht),S(Ae))if(Ae.length){const V=e.exposed||(e.exposed={});Ae.forEach(H=>{Object.defineProperty(V,H,{get:()=>n[H],set:Re=>n[H]=Re})})}else e.exposed||(e.exposed={});re&&e.render===ie&&(e.render=re),Je!=null&&(e.inheritAttrs=Je),ut&&(e.components=ut),at&&(e.directives=at)}function Si(e,t,n=ie){S(e)&&(e=rn(e));for(const s in e){const r=e[s];let i;K(r)?"default"in r?i=wt(r.from||s,r.default,!0):i=wt(r.from||s):i=wt(r),se(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Yn(e,t,n){fe(S(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ws(e,t,n,s){const r=s.includes(".")?sr(n,s):()=>n[s];if(z(e)){const i=t[e];P(i)&&Gt(r,i)}else if(P(e))Gt(r,e.bind(n));else if(K(e))if(S(e))e.forEach(i=>Ws(i,t,n,s));else{const i=P(e.handler)?e.handler.bind(n):t[e.handler];P(i)&&Gt(r,i,e)}}function Tn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,f=i.get(t);let u;return f?u=f:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>Tt(u,d,o,!0)),Tt(u,t,o)),K(t)&&i.set(t,u),u}function Tt(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Tt(e,i,n,!0),r&&r.forEach(o=>Tt(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const f=Pi[o]||n&&n[o];e[o]=f?f(e[o],t[o]):t[o]}return e}const Pi={data:Xn,props:Zn,emits:Zn,methods:Qe,computed:Qe,beforeCreate:Z,created:Z,beforeMount:Z,mounted:Z,beforeUpdate:Z,updated:Z,beforeDestroy:Z,beforeUnmount:Z,destroyed:Z,unmounted:Z,activated:Z,deactivated:Z,errorCaptured:Z,serverPrefetch:Z,components:Qe,directives:Qe,watch:Ri,provide:Xn,inject:Ai};function Xn(e,t){return t?e?function(){return G(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Ai(e,t){return Qe(rn(e),rn(t))}function rn(e){if(S(e)){const t={};for(let n=0;n1)return n&&P(t)?t.call(s&&s.proxy):t}}const Gs={},zs=()=>Object.create(Gs),Js=e=>Object.getPrototypeOf(e)===Gs;function Ni(e,t,n,s=!1){const r={},i=zs();e.propsDefaults=Object.create(null),Ys(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Xr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ji(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,f=N(r),[u]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const h=e.vnode.dynamicProps;for(let y=0;y{u=!0;const[E,I]=Xs(y,t,!0);G(o,E),I&&f.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!u)return K(e)&&s.set(e,Ke),Ke;if(S(i))for(let h=0;h-1,I[1]=L<0||D-1||R(I,"default"))&&f.push(y)}}}const d=[o,f];return K(e)&&s.set(e,d),d}function Qn(e){return e[0]!=="$"&&!et(e)}function kn(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function es(e,t){return kn(e)===kn(t)}function ts(e,t){return S(t)?t.findIndex(n=>es(n,e)):P(t)&&es(t,e)?0:-1}const Zs=e=>e[0]==="_"||e==="$stable",In=e=>S(e)?e.map(pe):[pe(e)],Hi=(e,t,n)=>{if(t._n)return t;const s=fi((...r)=>In(t(...r)),n);return s._c=!1,s},Qs=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Zs(r))continue;const i=e[r];if(P(i))t[r]=Hi(r,i,s);else if(i!=null){const o=In(i);t[r]=()=>o}}},ks=(e,t)=>{const n=In(t);e.slots.default=()=>n},$i=(e,t)=>{const n=e.slots=zs();if(e.vnode.shapeFlag&32){const s=t._;s?(G(n,t),xs(n,"_",s,!0)):Qs(t,n)}else t&&ks(e,t)},Ui=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=U;if(s.shapeFlag&32){const f=t._;f?n&&f===1?i=!1:(G(r,t),!n&&f===1&&delete r._):(i=!t.$stable,Qs(t,r)),o=t}else t&&(ks(e,t),o={default:1});if(i)for(const f in r)!Zs(f)&&o[f]==null&&delete r[f]};function on(e,t,n,s,r=!1){if(S(e)){e.forEach((E,I)=>on(E,t&&(S(t)?t[I]:t),n,s,r));return}if(yt(s)&&!r)return;const i=s.shapeFlag&4?Pn(s.component):s.el,o=r?null:i,{i:f,r:u}=e,d=t&&t.r,h=f.refs===U?f.refs={}:f.refs,y=f.setupState;if(d!=null&&d!==u&&(z(d)?(h[d]=null,R(y,d)&&(y[d]=null)):se(d)&&(d.value=null)),P(u))Ie(u,f,12,[o,h]);else{const E=z(u),I=se(u);if(E||I){const D=()=>{if(e.f){const L=E?R(y,u)?y[u]:h[u]:u.value;r?S(L)&&an(L,i):S(L)?L.includes(i)||L.push(i):E?(h[u]=[i],R(y,u)&&(y[u]=h[u])):(u.value=[i],e.k&&(h[e.k]=u.value))}else E?(h[u]=o,R(y,u)&&(y[u]=o)):I&&(u.value=o,e.k&&(h[e.k]=o))};o?(D.id=-1,k(D,n)):D()}}}const k=_i;function Vi(e){return Di(e)}function Di(e,t){const n=ys();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:f,createComment:u,setText:d,setElementText:h,parentNode:y,nextSibling:E,setScopeId:I=ie,insertStaticContent:D}=e,L=(l,c,a,p=null,g=null,b=null,w=void 0,m=null,x=!!c.dynamicChildren)=>{if(l===c)return;l&&!Ze(l,c)&&(p=ht(l),ae(l,g,b,!0),l=null),c.patchFlag===-2&&(x=!1,c.dynamicChildren=null);const{type:_,ref:v,shapeFlag:O}=c;switch(_){case Nt:te(l,c,a,p);break;case ot:B(l,c,a,p);break;case zt:l==null&&J(c,a,p,w);break;case ye:ut(l,c,a,p,g,b,w,m,x);break;default:O&1?re(l,c,a,p,g,b,w,m,x):O&6?at(l,c,a,p,g,b,w,m,x):(O&64||O&128)&&_.process(l,c,a,p,g,b,w,m,x,Ye)}v!=null&&g&&on(v,l&&l.ref,b,c||l,!c)},te=(l,c,a,p)=>{if(l==null)s(c.el=f(c.children),a,p);else{const g=c.el=l.el;c.children!==l.children&&d(g,c.children)}},B=(l,c,a,p)=>{l==null?s(c.el=u(c.children||""),a,p):c.el=l.el},J=(l,c,a,p)=>{[l.el,l.anchor]=D(l.children,c,a,p,l.el,l.anchor)},j=({el:l,anchor:c},a,p)=>{let g;for(;l&&l!==c;)g=E(l),s(l,a,p),l=g;s(c,a,p)},W=({el:l,anchor:c})=>{let a;for(;l&&l!==c;)a=E(l),r(l),l=a;r(c)},re=(l,c,a,p,g,b,w,m,x)=>{c.type==="svg"?w="svg":c.type==="math"&&(w="mathml"),l==null?F(c,a,p,g,b,w,m,x):Ht(l,c,g,b,w,m,x)},F=(l,c,a,p,g,b,w,m)=>{let x,_;const{props:v,shapeFlag:O,transition:C,dirs:T}=l;if(x=l.el=o(l.type,b,v&&v.is,v),O&8?h(x,l.children):O&16&&ue(l.children,x,null,p,g,qt(l,b),w,m),T&&Me(l,null,p,"created"),me(x,l,l.scopeId,w,p),v){for(const $ in v)$!=="value"&&!et($)&&i(x,$,null,v[$],b,l.children,p,g,be);"value"in v&&i(x,"value",null,v.value,b),(_=v.onVnodeBeforeMount)&&he(_,p,l)}T&&Me(l,null,p,"beforeMount");const A=Ki(g,C);A&&C.beforeEnter(x),s(x,c,a),((_=v&&v.onVnodeMounted)||A||T)&&k(()=>{_&&he(_,p,l),A&&C.enter(x),T&&Me(l,null,p,"mounted")},g)},me=(l,c,a,p,g)=>{if(a&&I(l,a),p)for(let b=0;b{for(let _=x;_{const m=c.el=l.el;let{patchFlag:x,dynamicChildren:_,dirs:v}=c;x|=l.patchFlag&16;const O=l.props||U,C=c.props||U;let T;if(a&&Le(a,!1),(T=C.onVnodeBeforeUpdate)&&he(T,a,c,l),v&&Me(c,l,a,"beforeUpdate"),a&&Le(a,!0),_?Ae(l.dynamicChildren,_,m,a,p,qt(c,g),b):w||H(l,c,m,null,a,p,qt(c,g),b,!1),x>0){if(x&16)Je(m,c,O,C,a,p,g);else if(x&2&&O.class!==C.class&&i(m,"class",null,C.class,g),x&4&&i(m,"style",O.style,C.style,g),x&8){const A=c.dynamicProps;for(let $=0;${T&&he(T,a,c,l),v&&Me(c,l,a,"updated")},p)},Ae=(l,c,a,p,g,b,w)=>{for(let m=0;m{if(a!==p){if(a!==U)for(const m in a)!et(m)&&!(m in p)&&i(l,m,a[m],null,w,c.children,g,b,be);for(const m in p){if(et(m))continue;const x=p[m],_=a[m];x!==_&&m!=="value"&&i(l,m,_,x,w,c.children,g,b,be)}"value"in p&&i(l,"value",a.value,p.value,w)}},ut=(l,c,a,p,g,b,w,m,x)=>{const _=c.el=l?l.el:f(""),v=c.anchor=l?l.anchor:f("");let{patchFlag:O,dynamicChildren:C,slotScopeIds:T}=c;T&&(m=m?m.concat(T):T),l==null?(s(_,a,p),s(v,a,p),ue(c.children||[],a,v,g,b,w,m,x)):O>0&&O&64&&C&&l.dynamicChildren?(Ae(l.dynamicChildren,C,a,g,b,w,m),(c.key!=null||g&&c===g.subTree)&&er(l,c,!0)):H(l,c,a,v,g,b,w,m,x)},at=(l,c,a,p,g,b,w,m,x)=>{c.slotScopeIds=m,l==null?c.shapeFlag&512?g.ctx.activate(c,a,p,w,x):$t(c,a,p,g,b,w,x):An(l,c,x)},$t=(l,c,a,p,g,b,w)=>{const m=l.component=cl(l,p,g);if(rr(l)&&(m.ctx.renderer=Ye),fl(m),m.asyncDep){if(g&&g.registerDep(m,X,w),!l.el){const x=m.subTree=Ue(ot);B(null,x,c,a)}}else X(m,l,c,a,g,b,w)},An=(l,c,a)=>{const p=c.component=l.component;if(di(l,c,a))if(p.asyncDep&&!p.asyncResolved){V(p,c,a);return}else p.next=c,ii(p.update),p.effect.dirty=!0,p.update();else c.el=l.el,p.vnode=c},X=(l,c,a,p,g,b,w)=>{const m=()=>{if(l.isMounted){let{next:v,bu:O,u:C,parent:T,vnode:A}=l;{const De=tr(l);if(De){v&&(v.el=A.el,V(l,v,w)),De.asyncDep.then(()=>{l.isUnmounted||m()});return}}let $=v,M;Le(l,!1),v?(v.el=A.el,V(l,v,w)):v=A,O&&Dt(O),(M=v.props&&v.props.onVnodeBeforeUpdate)&&he(M,T,v,A),Le(l,!0);const q=Bt(l),le=l.subTree;l.subTree=q,L(le,q,y(le.el),ht(le),l,g,b),v.el=q.el,$===null&&hi(l,q.el),C&&k(C,g),(M=v.props&&v.props.onVnodeUpdated)&&k(()=>he(M,T,v,A),g)}else{let v;const{el:O,props:C}=c,{bm:T,m:A,parent:$}=l,M=yt(c);if(Le(l,!1),T&&Dt(T),!M&&(v=C&&C.onVnodeBeforeMount)&&he(v,$,c),Le(l,!0),O&&Ln){const q=()=>{l.subTree=Bt(l),Ln(O,l.subTree,l,g,null)};M?c.type.__asyncLoader().then(()=>!l.isUnmounted&&q()):q()}else{const q=l.subTree=Bt(l);L(null,q,a,p,l,g,b),c.el=q.el}if(A&&k(A,g),!M&&(v=C&&C.onVnodeMounted)){const q=c;k(()=>he(v,$,q),g)}(c.shapeFlag&256||$&&yt($.vnode)&&$.vnode.shapeFlag&256)&&l.a&&k(l.a,g),l.isMounted=!0,c=a=p=null}},x=l.effect=new gn(m,ie,()=>On(_),l.scope),_=l.update=()=>{x.dirty&&x.run()};_.id=l.uid,Le(l,!0),_()},V=(l,c,a)=>{c.component=l;const p=l.vnode.props;l.vnode=c,l.next=null,ji(l,c.props,p,a),Ui(l,c.children,a),Se(),Gn(l),Pe()},H=(l,c,a,p,g,b,w,m,x=!1)=>{const _=l&&l.children,v=l?l.shapeFlag:0,O=c.children,{patchFlag:C,shapeFlag:T}=c;if(C>0){if(C&128){dt(_,O,a,p,g,b,w,m,x);return}else if(C&256){Re(_,O,a,p,g,b,w,m,x);return}}T&8?(v&16&&be(_,g,b),O!==_&&h(a,O)):v&16?T&16?dt(_,O,a,p,g,b,w,m,x):be(_,g,b,!0):(v&8&&h(a,""),T&16&&ue(O,a,p,g,b,w,m,x))},Re=(l,c,a,p,g,b,w,m,x)=>{l=l||Ke,c=c||Ke;const _=l.length,v=c.length,O=Math.min(_,v);let C;for(C=0;Cv?be(l,g,b,!0,!1,O):ue(c,a,p,g,b,w,m,x,O)},dt=(l,c,a,p,g,b,w,m,x)=>{let _=0;const v=c.length;let O=l.length-1,C=v-1;for(;_<=O&&_<=C;){const T=l[_],A=c[_]=x?Oe(c[_]):pe(c[_]);if(Ze(T,A))L(T,A,a,null,g,b,w,m,x);else break;_++}for(;_<=O&&_<=C;){const T=l[O],A=c[C]=x?Oe(c[C]):pe(c[C]);if(Ze(T,A))L(T,A,a,null,g,b,w,m,x);else break;O--,C--}if(_>O){if(_<=C){const T=C+1,A=TC)for(;_<=O;)ae(l[_],g,b,!0),_++;else{const T=_,A=_,$=new Map;for(_=A;_<=C;_++){const ne=c[_]=x?Oe(c[_]):pe(c[_]);ne.key!=null&&$.set(ne.key,_)}let M,q=0;const le=C-A+1;let De=!1,Nn=0;const Xe=new Array(le);for(_=0;_=le){ae(ne,g,b,!0);continue}let de;if(ne.key!=null)de=$.get(ne.key);else for(M=A;M<=C;M++)if(Xe[M-A]===0&&Ze(ne,c[M])){de=M;break}de===void 0?ae(ne,g,b,!0):(Xe[de-A]=_+1,de>=Nn?Nn=de:De=!0,L(ne,c[de],a,null,g,b,w,m,x),q++)}const jn=De?Bi(Xe):Ke;for(M=jn.length-1,_=le-1;_>=0;_--){const ne=A+_,de=c[ne],Hn=ne+1{const{el:b,type:w,transition:m,children:x,shapeFlag:_}=l;if(_&6){Fe(l.component.subTree,c,a,p);return}if(_&128){l.suspense.move(c,a,p);return}if(_&64){w.move(l,c,a,Ye);return}if(w===ye){s(b,c,a);for(let O=0;Om.enter(b),g);else{const{leave:O,delayLeave:C,afterLeave:T}=m,A=()=>s(b,c,a),$=()=>{O(b,()=>{A(),T&&T()})};C?C(b,A,$):$()}else s(b,c,a)},ae=(l,c,a,p=!1,g=!1)=>{const{type:b,props:w,ref:m,children:x,dynamicChildren:_,shapeFlag:v,patchFlag:O,dirs:C,memoIndex:T}=l;if(O===-2&&(g=!1),m!=null&&on(m,null,a,l,!0),T!=null&&(c.renderCache[T]=void 0),v&256){c.ctx.deactivate(l);return}const A=v&1&&C,$=!yt(l);let M;if($&&(M=w&&w.onVnodeBeforeUnmount)&&he(M,c,l),v&6)dr(l.component,a,p);else{if(v&128){l.suspense.unmount(a,p);return}A&&Me(l,null,c,"beforeUnmount"),v&64?l.type.remove(l,c,a,Ye,p):_&&(b!==ye||O>0&&O&64)?be(_,c,a,!1,!0):(b===ye&&O&384||!g&&v&16)&&be(x,c,a),p&&Rn(l)}($&&(M=w&&w.onVnodeUnmounted)||A)&&k(()=>{M&&he(M,c,l),A&&Me(l,null,c,"unmounted")},a)},Rn=l=>{const{type:c,el:a,anchor:p,transition:g}=l;if(c===ye){ar(a,p);return}if(c===zt){W(l);return}const b=()=>{r(a),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(l.shapeFlag&1&&g&&!g.persisted){const{leave:w,delayLeave:m}=g,x=()=>w(a,b);m?m(l.el,b,x):x()}else b()},ar=(l,c)=>{let a;for(;l!==c;)a=E(l),r(l),l=a;r(c)},dr=(l,c,a)=>{const{bum:p,scope:g,update:b,subTree:w,um:m,m:x,a:_}=l;ns(x),ns(_),p&&Dt(p),g.stop(),b&&(b.active=!1,ae(w,l,c,a)),m&&k(m,c),k(()=>{l.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},be=(l,c,a,p=!1,g=!1,b=0)=>{for(let w=b;wl.shapeFlag&6?ht(l.component.subTree):l.shapeFlag&128?l.suspense.next():E(l.anchor||l.el);let Ut=!1;const Fn=(l,c,a)=>{l==null?c._vnode&&ae(c._vnode,null,null,!0):L(c._vnode||null,l,c,null,null,null,a),Ut||(Ut=!0,Gn(),Us(),Ut=!1),c._vnode=l},Ye={p:L,um:ae,m:Fe,r:Rn,mt:$t,mc:ue,pc:H,pbc:Ae,n:ht,o:e};let Mn,Ln;return{render:Fn,hydrate:Mn,createApp:Mi(Fn,Mn)}}function qt({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 Le({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ki(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function er(e,t,n=!1){const s=e.children,r=t.children;if(S(s)&&S(r))for(let i=0;i>1,e[n[f]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function tr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:tr(t)}function ns(e){if(e)for(let t=0;twt(Wi),xt={};function Gt(e,t,n){return nr(e,t,n)}function nr(e,t,{immediate:n,deep:s,flush:r,once:i,onTrack:o,onTrigger:f}=U){if(t&&i){const F=t;t=(...me)=>{F(...me),re()}}const u=Q,d=F=>s===!0?F:je(F,s===!1?1:void 0);let h,y=!1,E=!1;if(se(e)?(h=()=>e.value,y=en(e)):tt(e)?(h=()=>d(e),y=!0):S(e)?(E=!0,y=e.some(F=>tt(F)||en(F)),h=()=>e.map(F=>{if(se(F))return F.value;if(tt(F))return d(F);if(P(F))return Ie(F,u,2)})):P(e)?t?h=()=>Ie(e,u,2):h=()=>(I&&I(),fe(e,u,3,[D])):h=ie,t&&s){const F=h;h=()=>je(F())}let I,D=F=>{I=j.onStop=()=>{Ie(F,u,4),I=j.onStop=void 0}},L;if(jt)if(D=ie,t?n&&fe(t,u,3,[h(),E?[]:void 0,D]):h(),r==="sync"){const F=qi();L=F.__watcherHandles||(F.__watcherHandles=[])}else return ie;let te=E?new Array(e.length).fill(xt):xt;const B=()=>{if(!(!j.active||!j.dirty))if(t){const F=j.run();(s||y||(E?F.some((me,ue)=>Ve(me,te[ue])):Ve(F,te)))&&(I&&I(),fe(t,u,3,[F,te===xt?void 0:E&&te[0]===xt?[]:te,D]),te=F)}else j.run()};B.allowRecurse=!!t;let J;r==="sync"?J=B:r==="post"?J=()=>k(B,u&&u.suspense):(B.pre=!0,u&&(B.id=u.uid),J=()=>On(B));const j=new gn(h,ie,J),W=Ar(),re=()=>{j.stop(),W&&an(W.effects,j)};return t?n?B():te=j.run():r==="post"?k(j.run.bind(j),u&&u.suspense):j.run(),L&&L.push(re),re}function Gi(e,t,n){const s=this.proxy,r=z(e)?e.includes(".")?sr(s,e):()=>s[e]:e.bind(s,s);let i;P(t)?i=t:(i=t.handler,n=t);const o=ft(this),f=nr(r,i.bind(s),n);return o(),f}function sr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{je(s,t,n)});else if(br(e)){for(const s in e)je(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&je(e[s],t,n)}return e}const rr=e=>e.type.__isKeepAlive;function zi(e,t){ir(e,"a",t)}function Ji(e,t){ir(e,"da",t)}function ir(e,t,n=Q){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Lt(t,s,n),n){let r=n.parent;for(;r&&r.parent;)rr(r.parent.vnode)&&Yi(s,t,n,r),r=r.parent}}function Yi(e,t,n,s){const r=Lt(t,e,s,!0);Bs(()=>{an(s[t],r)},n)}function lr(e,t){e.shapeFlag&6&&e.component?lr(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 Xi=e=>e.__isTeleport,ye=Symbol.for("v-fgt"),Nt=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),zt=Symbol.for("v-stc"),rt=[];let ce=null;function Zi(e=!1){rt.push(ce=e?null:[])}function Qi(){rt.pop(),ce=rt[rt.length-1]||null}let ct=1;function ss(e){ct+=e}function ki(e){return e.dynamicChildren=ct>0?ce||Ke:null,Qi(),ct>0&&ce&&ce.push(e),e}function el(e,t,n,s,r,i){return ki(cr(e,t,n,s,r,i,!0))}function tl(e){return e?e.__v_isVNode===!0:!1}function Ze(e,t){return e.type===t.type&&e.key===t.key}const or=({key:e})=>e??null,vt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?z(e)||se(e)||P(e)?{i:_e,r:e,k:t,f:!!n}:e:null);function cr(e,t=null,n=null,s=0,r=null,i=e===ye?0:1,o=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&or(t),ref:t&&vt(t),scopeId:Ks,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:_e};return f?(Sn(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=z(n)?8:16),ct>0&&!o&&ce&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&ce.push(u),u}const Ue=nl;function nl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===pi)&&(e=ot),tl(e)){const f=qe(e,t,!0);return n&&Sn(f,n),ct>0&&!i&&ce&&(f.shapeFlag&6?ce[ce.indexOf(e)]=f:ce.push(f)),f.patchFlag=-2,f}if(hl(e)&&(e=e.__vccOpts),t){t=sl(t);let{class:f,style:u}=t;f&&!z(f)&&(t.class=pn(f)),K(u)&&(Ls(u)&&!S(u)&&(u=G({},u)),t.style=hn(u))}const o=z(e)?1:gi(e)?128:Xi(e)?64:K(e)?4:P(e)?2:0;return cr(e,t,n,s,r,o,i,!0)}function sl(e){return e?Ls(e)||Js(e)?G({},e):e:null}function qe(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:f,transition:u}=e,d=t?il(r||{},t):r,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&or(d),ref:t&&t.ref?n&&i?S(i)?i.concat(vt(t)):[i,vt(t)]:vt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qe(e.ssContent),ssFallback:e.ssFallback&&qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&s&&lr(h,u.clone(h)),h}function rl(e=" ",t=0){return Ue(Nt,null,e,t)}function pe(e){return e==null||typeof e=="boolean"?Ue(ot):S(e)?Ue(ye,null,e.slice()):typeof e=="object"?Oe(e):Ue(Nt,null,String(e))}function Oe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qe(e)}function Sn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(S(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Sn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Js(t)?t._ctx=_e:r===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else P(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),s&64?(n=16,t=[rl(t)]):n=8);e.children=t,e.shapeFlag|=n}function il(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};It=t("__VUE_INSTANCE_SETTERS__",n=>Q=n),cn=t("__VUE_SSR_SETTERS__",n=>jt=n)}const ft=e=>{const t=Q;return It(e),e.scope.on(),()=>{e.scope.off(),It(t)}},rs=()=>{Q&&Q.scope.off(),It(null)};function fr(e){return e.vnode.shapeFlag&4}let jt=!1;function fl(e,t=!1){t&&cn(t);const{props:n,children:s}=e.vnode,r=fr(e);Ni(e,n,r,t),$i(e,s);const i=r?ul(e,t):void 0;return t&&cn(!1),i}function ul(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ti);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?dl(e):null,i=ft(e);Se();const o=Ie(s,e,0,[e.props,r]);if(Pe(),i(),ms(o)){if(o.then(rs,rs),t)return o.then(f=>{is(e,f,t)}).catch(f=>{Ft(f,e,0)});e.asyncDep=o}else is(e,o,t)}else ur(e,t)}function is(e,t,n){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=js(t)),ur(e,n)}let ls;function ur(e,t,n){const s=e.type;if(!e.render){if(!t&&ls&&!s.render){const r=s.template||Tn(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:f,compilerOptions:u}=s,d=G(G({isCustomElement:i,delimiters:f},o),u);s.render=ls(r,d)}}e.render=s.render||ie}{const r=ft(e);Se();try{Ii(e)}finally{Pe(),r()}}}const al={get(e,t){return ee(e,"get",""),e[t]}};function dl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,al),slots:e.slots,emit:e.emit,expose:t}}function Pn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(js(Zr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nt)return nt[n](e)},has(t,n){return n in t||n in nt}})):e.proxy}function hl(e){return P(e)&&"__vccOpts"in e}const pl=(e,t)=>Qr(e,t,jt),gl="3.4.31";/** +**/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 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const _l="http://www.w3.org/2000/svg",ml="http://www.w3.org/1998/Math/MathML",xe=typeof document<"u"?document:null,os=xe&&xe.createElement("template"),bl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?xe.createElementNS(_l,e):t==="mathml"?xe.createElementNS(ml,e):n?xe.createElement(e,{is:n}):xe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>xe.createTextNode(e),createComment:e=>xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{os.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const f=os.content;if(s==="svg"||s==="mathml"){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xl=Symbol("_vtc");function yl(e,t,n){const s=e[xl];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cs=Symbol("_vod"),wl=Symbol("_vsh"),vl=Symbol(""),El=/(^|;)\s*display\s*:/;function Cl(e,t,n){const s=e.style,r=z(n);let i=!1;if(n&&!r){if(t)if(z(t))for(const o of t.split(";")){const f=o.slice(0,o.indexOf(":")).trim();n[f]==null&&Et(s,f,"")}else for(const o in t)n[o]==null&&Et(s,o,"");for(const o in n)o==="display"&&(i=!0),Et(s,o,n[o])}else if(r){if(t!==n){const o=s[vl];o&&(n+=";"+o),s.cssText=n,i=El.test(n)}}else t&&e.removeAttribute("style");cs in e&&(e[cs]=i?s.display:"",e[wl]&&(s.display="none"))}const fs=/\s*!important$/;function Et(e,t,n){if(S(n))n.forEach(s=>Et(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ol(e,t);fs.test(n)?e.setProperty(ze(s),n.replace(fs,""),"important"):e[s]=n}}const us=["Webkit","Moz","ms"],Jt={};function Ol(e,t){const n=Jt[t];if(n)return n;let s=We(t);if(s!=="filter"&&s in e)return Jt[t]=s;s=bs(s);for(let r=0;rYt||(Rl.then(()=>Yt=0),Yt=Date.now());function Ml(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;fe(Ll(s,n.value),t,5,[s])};return n.value=e,n.attached=Fl(),n}function Ll(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Nl=(e,t,n,s,r,i,o,f,u)=>{const d=r==="svg";t==="class"?yl(e,s,d):t==="style"?Cl(e,n,s):St(t)?un(t)||Pl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):jl(e,t,s,d))?(Tl(e,t,s,i,o,f,u),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ds(e,t,s,d,o,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ds(e,t,s,d))};function jl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&gs(t)&&P(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return gs(t)&&z(n)?!1:t in e}const Hl=G({patchProp:Nl},bl);let _s;function $l(){return _s||(_s=Vi(Hl))}const Ul=(...e)=>{const t=$l().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Dl(s);if(!r)return;const i=t._component;!P(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,Vl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Vl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dl(e){return z(e)?document.querySelector(e):e}const Kl=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Bl={};function Wl(e,t){return Zi(),el("div",null," hello ")}const ql=Kl(Bl,[["render",Wl]]);(function(e){e.behaviors.reha={attach:function(t,n){console.log("It works!"),Ul(ql).mount("#etape-modale")}}})(Drupal); +**/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); diff --git a/web/themes/custom/caravane/assets/js/api/json-axios.js b/web/themes/custom/caravane/assets/js/api/json-axios.js new file mode 100644 index 0000000..8695a74 --- /dev/null +++ b/web/themes/custom/caravane/assets/js/api/json-axios.js @@ -0,0 +1,32 @@ +import axios from 'axios' + +// https://github.com/alvar0hurtad0/drupal-vuejs-todo/blob/master/frontend/src/api/axiosInterceptor.js + +// console.log('drupalSettings', drupalSettings) +console.log(window.location) + +const JSONAPI = axios.create({ + baseURL: `${window.location.origin}/jsonapi`, + withCredentials: true, + headers: { + Accept: 'application/vnd.api+json' + // Authorization: 'Basic {token}', + // 'Content-Type': 'application/json' + } +}) + +JSONAPI.interceptors.response.use( + response => { + return Promise.resolve(response) + }, + error => { + const { status } = error.response + console.warn('error in json-axios', status) + // if (status === 403) { + // window.location = '/' + // } + return Promise.reject(error) + } +) + +export default JSONAPI diff --git a/web/themes/custom/caravane/assets/js/api/rest-axios.js b/web/themes/custom/caravane/assets/js/api/rest-axios.js new file mode 100644 index 0000000..c89bb1a --- /dev/null +++ b/web/themes/custom/caravane/assets/js/api/rest-axios.js @@ -0,0 +1,45 @@ +import axios from 'axios' + +// https://github.com/alvar0hurtad0/drupal-vuejs-todo/blob/master/frontend/src/api/axiosInterceptor.js + +// console.log('drupalSettings', drupalSettings) +// console.log('window.location.origin', window.location.origin) + +// axios.interceptors.response.use( +// response => { +// return Promise.resolve(response) +// }, +// error => { +// const { status } = error.response +// console.warn('error in rest-axios', status) +// if (status === 403) { +// window.location = '/' +// } +// return Promise.reject(error) +// } +// ) + +const REST = axios.create({ + baseURL: `${window.location.origin}`, + withCredentials: true, + headers: { + // Authorization: 'Bearer {token}', + 'Content-Type': 'application/json' + } +}) + +REST.interceptors.response.use( + response => { + return Promise.resolve(response) + }, + error => { + const { status } = error.response + console.warn('error in rest-axios', status) + // if (status === 403) { + // window.location = '/' + // } + return Promise.reject(error) + } +) + +export default REST diff --git a/web/themes/custom/caravane/assets/js/main.js b/web/themes/custom/caravane/assets/js/main.js index 36f562b..f3f1400 100644 --- a/web/themes/custom/caravane/assets/js/main.js +++ b/web/themes/custom/caravane/assets/js/main.js @@ -2,22 +2,108 @@ import { createApp } from 'vue' import '../scss/main.scss' import Etape from './vuejs/Etape.vue' +import REST from './api/rest-axios' -/** - * @file - * reha behaviors. - */ -(function (Drupal) { - 'use strict'; +// /** +// * @file +// * reha behaviors. +// * https://www.drupal.org/docs/drupal-apis/javascript-api/javascript-api-overview +// */ +// (function (Drupal) { + +// 'use strict'; + +// Drupal.behaviors.reha = { +// attach: function (context, settings) { +// console.log('It works!'); +// } +// }; + +// } (Drupal)); + +(function (Drupal, drupalSettings) { + const CaravaneTheme = function () { + const _is_front = drupalSettings.path.isFront + console.log('drupalSettings', drupalSettings) + + // let _I18n + + // ___ _ _ + // |_ _|_ _ (_) |_ + // | || ' \| | _| + // |___|_||_|_|\__| + function init () { + console.log('CaravaneTheme init()') + initVues() + } + + function initVues(){ + initVueEtapeModale(); - Drupal.behaviors.reha = { - attach: function (context, settings) { - console.log('It works!'); - createApp(Etape).mount('#etape-modale'); } - }; -} (Drupal)); + function initVueEtapeModale(){ + createApp(Etape).mount('#etape-modale'); + + processEtapeLinks(); + } + + + function onClickEtapeLink(e){ + e.preventDefault(); + + let a = e.currentTarget; + let nid = a.dataset.nodeNid; + console.log(nid); + + getNodeData(nid); + + return null; + } + + + function processEtapeLinks(){ + let etape_link_fields = document.querySelectorAll('#etapes-liste div.views-field-title'); + etape_link_fields.forEach((field, index) => { + let nid = null; + let classList = field.classList; + classList.forEach((classe) => { + let reg = /data-node-(\d+)/; + let result = classe.match(reg); + if (result) { + nid = result[1]; + console.log(nid); + } + }) + + if (nid) { + let a = field.querySelector('a'); + a.setAttribute('data-node-nid', nid); + a.addEventListener('click', onClickEtapeLink); + } + + + }) + } + + function getNodeData(nid){ + const params = { + } + REST.get(`/node/${nid}?_format=json`, params) + .then((data) => { + console.log('user REST getUser data', data) + }) + .catch(error => { + console.warn('Issue with getNodedata', error) + Promise.reject(error) + }) + } + + init() + } // end CaravaneTheme() + + CaravaneTheme() +})(Drupal, drupalSettings) \ No newline at end of file diff --git a/web/themes/custom/caravane/assets/js/vuejs/Etape.vue b/web/themes/custom/caravane/assets/js/vuejs/Etape.vue index 1458950..bb1de47 100644 --- a/web/themes/custom/caravane/assets/js/vuejs/Etape.vue +++ b/web/themes/custom/caravane/assets/js/vuejs/Etape.vue @@ -1,6 +1,6 @@ diff --git a/web/themes/custom/caravane/assets/scss/main.scss b/web/themes/custom/caravane/assets/scss/main.scss index 55ada15..1a45828 100644 --- a/web/themes/custom/caravane/assets/scss/main.scss +++ b/web/themes/custom/caravane/assets/scss/main.scss @@ -1,3 +1,3 @@ body{ - background-color: red; + background-color: purple; } \ No newline at end of file diff --git a/web/themes/custom/caravane/caravane.info.yml b/web/themes/custom/caravane/caravane.info.yml index 34cac1e..9478f45 100644 --- a/web/themes/custom/caravane/caravane.info.yml +++ b/web/themes/custom/caravane/caravane.info.yml @@ -3,10 +3,10 @@ type: theme base theme: stark description: caravane drupal theme based on stark package: caravane -core: 8.x +core: 0.x core_version_requirement: ^8 || ^9 || ^10 -libraries: - - caravane/global +# libraries: +# - caravane/global regions: header: 'Header' primary_menu: 'Primary menu' diff --git a/web/themes/custom/caravane/caravane.libraries.yml b/web/themes/custom/caravane/caravane.libraries.yml index d038302..df8a2ab 100644 --- a/web/themes/custom/caravane/caravane.libraries.yml +++ b/web/themes/custom/caravane/caravane.libraries.yml @@ -8,7 +8,7 @@ global: assets/dist/main.css: {} # assets/scss/main.css: {} -vitehmr: +vitehmr: js: http://localhost:5173/@vite/client: type: external diff --git a/web/themes/custom/caravane/caravane.theme b/web/themes/custom/caravane/caravane.theme index 7473a1a..dfa8a68 100644 --- a/web/themes/custom/caravane/caravane.theme +++ b/web/themes/custom/caravane/caravane.theme @@ -12,13 +12,14 @@ function caravane_page_attachments_alter(&$page) { // $attachments['#attached']['html_head'][] = [['src' => 'http://localhost:5173/assets/js/main.js', 'type' => 'module'],'vite-main']; // $page['#attached']['library'][] = 'http://localhost:5173/assets/js/main.js'; $page['#attached']['library'][] = 'caravane/vitehmr'; + }else{ + $page['#attached']['library'][] = 'caravane/global'; } } /** * Implements hook_preprocess_HOOK() for html.html.twig. */ function caravane_preprocess_html(&$variables) { - } /** @@ -34,3 +35,23 @@ function caravane_preprocess_page(&$variables) { function caravane_preprocess_node(&$variables) { } + + +function caravane_preprocess_contanier(&$variables) { + +} + + + +// function A(){ +// $attr = 6; +// B($attr); +// print($attr); +// } + +// function B($attr){ +// $attr = 3; +// print($attr); +// } + +// A(); \ No newline at end of file diff --git a/web/themes/custom/caravane/package-lock.json b/web/themes/custom/caravane/package-lock.json index 6d332a6..83d136e 100644 --- a/web/themes/custom/caravane/package-lock.json +++ b/web/themes/custom/caravane/package-lock.json @@ -8,6 +8,7 @@ "name": "caravane", "version": "0.0.0", "dependencies": { + "axios": "^1.7.2", "vue": "^3.4.29" }, "devDependencies": { @@ -784,6 +785,23 @@ "node": ">= 8" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/binary-extensions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", @@ -835,12 +853,33 @@ "fsevents": "~2.3.2" } }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/csstype": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", "license": "MIT" }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", @@ -911,6 +950,40 @@ "node": ">=8" } }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -1001,6 +1074,27 @@ "@jridgewell/sourcemap-codec": "^1.4.15" } }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/nanoid": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", @@ -1076,6 +1170,12 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "license": "MIT" + }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", diff --git a/web/themes/custom/caravane/package.json b/web/themes/custom/caravane/package.json index a32e2b3..27e0c2f 100644 --- a/web/themes/custom/caravane/package.json +++ b/web/themes/custom/caravane/package.json @@ -9,6 +9,7 @@ "preview": "vite preview" }, "dependencies": { + "axios": "^1.7.2", "vue": "^3.4.29" }, "devDependencies": { diff --git a/web/themes/custom/caravane/templates/container.html.twig b/web/themes/custom/caravane/templates/container.html.twig new file mode 100644 index 0000000..6cb299b --- /dev/null +++ b/web/themes/custom/caravane/templates/container.html.twig @@ -0,0 +1,30 @@ +{# +/** + * @file + * Default theme implementation of a container used to wrap child elements. + * + * Used for grouped form items. Can also be used as a theme wrapper for any + * renderable element, to surround it with a
and HTML attributes. + * See \Drupal\Core\Render\Element\RenderElement for more + * information on the #theme_wrappers render array property, and + * \Drupal\Core\Render\Element\container for usage of the container render + * element. + * + * Available variables: + * - attributes: HTML attributes for the containing element. + * - children: The rendered child elements of the container. + * - has_parent: A flag to indicate that the container has one or more parent + containers. + * + * @see template_preprocess_container() + * + * @ingroup themeable + */ +#} +{% + set classes = [ + has_parent ? 'js-form-wrapper', + has_parent ? 'form-wrapper', + ] +%} +{{ children }}
diff --git a/web/themes/custom/caravane/vite-project/.gitignore b/web/themes/custom/caravane/vite-project/.gitignore deleted file mode 100644 index a547bf3..0000000 --- a/web/themes/custom/caravane/vite-project/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/web/themes/custom/caravane/vite-project/.vscode/extensions.json b/web/themes/custom/caravane/vite-project/.vscode/extensions.json deleted file mode 100644 index a7cea0b..0000000 --- a/web/themes/custom/caravane/vite-project/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["Vue.volar"] -} diff --git a/web/themes/custom/caravane/vite-project/README.md b/web/themes/custom/caravane/vite-project/README.md deleted file mode 100644 index 1511959..0000000 --- a/web/themes/custom/caravane/vite-project/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Vue 3 + Vite - -This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` - - diff --git a/web/themes/custom/caravane/vite-project/package.json b/web/themes/custom/caravane/vite-project/package.json deleted file mode 100644 index 0750f60..0000000 --- a/web/themes/custom/caravane/vite-project/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "caravane", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview" - }, - "dependencies": { - "vue": "^3.4.29" - }, - "devDependencies": { - "@vitejs/plugin-vue": "^5.0.5", - "vite": "^5.3.1" - } -} diff --git a/web/themes/custom/caravane/vite-project/public/vite.svg b/web/themes/custom/caravane/vite-project/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/web/themes/custom/caravane/vite-project/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/themes/custom/caravane/vite-project/src/App.vue b/web/themes/custom/caravane/vite-project/src/App.vue deleted file mode 100644 index 341dbf0..0000000 --- a/web/themes/custom/caravane/vite-project/src/App.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - - diff --git a/web/themes/custom/caravane/vite-project/src/assets/vue.svg b/web/themes/custom/caravane/vite-project/src/assets/vue.svg deleted file mode 100644 index 770e9d3..0000000 --- a/web/themes/custom/caravane/vite-project/src/assets/vue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web/themes/custom/caravane/vite-project/src/components/HelloWorld.vue b/web/themes/custom/caravane/vite-project/src/components/HelloWorld.vue deleted file mode 100644 index 546ebbc..0000000 --- a/web/themes/custom/caravane/vite-project/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/web/themes/custom/caravane/vite-project/src/main.js b/web/themes/custom/caravane/vite-project/src/main.js deleted file mode 100644 index 2425c0f..0000000 --- a/web/themes/custom/caravane/vite-project/src/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import { createApp } from 'vue' -import './style.css' -import App from './App.vue' - -createApp(App).mount('#app') diff --git a/web/themes/custom/caravane/vite-project/src/style.css b/web/themes/custom/caravane/vite-project/src/style.css deleted file mode 100644 index bb131d6..0000000 --- a/web/themes/custom/caravane/vite-project/src/style.css +++ /dev/null @@ -1,79 +0,0 @@ -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -.card { - padding: 2em; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/web/themes/custom/caravane/vite-project/vite.config.js b/web/themes/custom/caravane/vite-project/vite.config.js deleted file mode 100644 index 315212d..0000000 --- a/web/themes/custom/caravane/vite-project/vite.config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [vue()] -}) diff --git a/web/themes/custom/caravane/vite.config.js b/web/themes/custom/caravane/vite.config.js index 399b389..767cbf3 100644 --- a/web/themes/custom/caravane/vite.config.js +++ b/web/themes/custom/caravane/vite.config.js @@ -1,5 +1,6 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' +import { fileURLToPath, URL } from 'node:url' // https://vitejs.dev/config/ export default defineConfig({ @@ -21,5 +22,16 @@ export default defineConfig({ assetFileNames: 'main.css' } } + }, + resolve: { + alias: { + '@api': fileURLToPath(new URL('api', import.meta.url)), + // '@': fileURLToPath(new URL('./src', import.meta.url)), + // '@stores': fileURLToPath(new URL('./src/stores', import.meta.url)), + // '@components': fileURLToPath(new URL('./src/components', import.meta.url)), + // '@views': fileURLToPath(new URL('./src/views', import.meta.url)), + // // '@icons': fileURLToPath(new URL('./node_modules/vue-material-design-icons', import.meta.url)), + // '@node_modules': fileURLToPath(new URL('./node_modules', import.meta.url)) + } } })