diff --git a/.github/workflows/auto-deploy.yml b/.github/workflows/auto-deploy.yml new file mode 100644 index 0000000..693c1b8 --- /dev/null +++ b/.github/workflows/auto-deploy.yml @@ -0,0 +1,52 @@ +name: Deploy + +on: + push: + branches: [main] + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Install dependencies + run: npm i + - name: Build with VitePress + run: npm run docs:build + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: docs/.vitepress/dist + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + needs: build + runs-on: ubuntu-latest + name: Deploy + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.gitignore b/.gitignore index c38e6d2..d451ff1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,4 @@ node_modules .DS_Store dist dist-ssr -!/docs/.vitepress/dist *.local diff --git a/docs/.vitepress/dist/assets/Home.e40c3557.js b/docs/.vitepress/dist/assets/Home.e40c3557.js deleted file mode 100644 index 3fb09fb..0000000 --- a/docs/.vitepress/dist/assets/Home.e40c3557.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d,f as h,u as k,g as i,h as e,o,c as a,b as c,i as F,j as r,t as l,k as g,N as x,F as I,l as L,r as A,a as m,m as y}from"./app.7fe229af.js";const B={key:0,class:"home-hero"},C={key:0,class:"figure"},N=["src","alt"],b={key:1,id:"main-title",class:"title"},w={key:2,class:"tagline"},V=h({setup(p){const{site:s,frontmatter:t}=k(),_=i(()=>{const{heroImage:n,heroText:u,tagline:$,actionLink:H,actionText:T}=t.value;return n||u||$||H&&T}),v=i(()=>t.value.heroText||s.value.title),f=i(()=>t.value.tagline||s.value.description);return(n,u)=>e(_)?(o(),a("header",B,[e(t).heroImage?(o(),a("figure",C,[c("img",{class:"image",src:e(F)(e(t).heroImage),alt:e(t).heroAlt},null,8,N)])):r("",!0),e(v)?(o(),a("h1",b,l(e(v)),1)):r("",!0),e(f)?(o(),a("p",w,l(e(f)),1)):r("",!0),e(t).actionLink&&e(t).actionText?(o(),g(x,{key:3,item:{link:e(t).actionLink,text:e(t).actionText},class:"action"},null,8,["item"])):r("",!0),e(t).altActionLink&&e(t).altActionText?(o(),g(x,{key:4,item:{link:e(t).altActionLink,text:e(t).altActionText},class:"action alt"},null,8,["item"])):r("",!0)])):r("",!0)}});var j=d(V,[["__scopeId","data-v-370f18c0"]]);const D={key:0,class:"home-features"},S={class:"wrapper"},E={class:"container"},q={class:"features"},z={key:0,class:"title"},G={key:1,class:"details"},J=h({setup(p){const{frontmatter:s}=k(),t=i(()=>s.value.features&&s.value.features.length>0),_=i(()=>s.value.features?s.value.features:[]);return(v,f)=>e(t)?(o(),a("div",D,[c("div",S,[c("div",E,[c("div",q,[(o(!0),a(I,null,L(e(_),(n,u)=>(o(),a("section",{key:u,class:"feature"},[n.title?(o(),a("h2",z,l(n.title),1)):r("",!0),n.details?(o(),a("p",G,l(n.details),1)):r("",!0)]))),128))])])])])):r("",!0)}});var K=d(J,[["__scopeId","data-v-e39c13e0"]]);const M={key:0,class:"footer"},O={class:"container"},P={class:"text"},Q=h({setup(p){const{frontmatter:s}=k();return(t,_)=>e(s).footer?(o(),a("footer",M,[c("div",O,[c("p",P,l(e(s).footer),1)])])):r("",!0)}});var R=d(Q,[["__scopeId","data-v-30918238"]]);const U={class:"home","aria-labelledby":"main-title"},W={class:"home-content"},X=h({setup(p){return(s,t)=>{const _=A("Content");return o(),a("main",U,[m(j),y(s.$slots,"hero",{},void 0,!0),m(K),c("div",W,[m(_)]),y(s.$slots,"features",{},void 0,!0),m(R),y(s.$slots,"footer",{},void 0,!0)])}}});var Z=d(X,[["__scopeId","data-v-10122c92"]]);export{Z as default}; diff --git a/docs/.vitepress/dist/assets/app.7fe229af.js b/docs/.vitepress/dist/assets/app.7fe229af.js deleted file mode 100644 index 15ce957..0000000 --- a/docs/.vitepress/dist/assets/app.7fe229af.js +++ /dev/null @@ -1,4 +0,0 @@ -var nc=Object.defineProperty,sc=Object.defineProperties;var rc=Object.getOwnPropertyDescriptors;var oo=Object.getOwnPropertySymbols;var oc=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable;var io=(e,t,n)=>t in e?nc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dt=(e,t)=>{for(var n in t||(t={}))oc.call(t,n)&&io(e,n,t[n]);if(oo)for(var n of oo(t))ic.call(t,n)&&io(e,n,t[n]);return e},Un=(e,t)=>sc(e,rc(t));function jn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const lc="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",cc=jn(lc),ac="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uc=jn(ac);function lo(e){return!!e||e===""}function on(e){if(D(e)){const t={};for(let n=0;n{if(n){const s=n.split(dc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Te(e){let t="";if(de(e))t=e;else if(D(e))for(let n=0;not(n,t))}const Ae=e=>e==null?"":D(e)||he(e)&&(e.toString===uo||!q(e.toString))?JSON.stringify(e,co,2):String(e),co=(e,t)=>t&&t.__v_isRef?co(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:yt(t)?{[`Set(${t.size})`]:[...t.values()]}:he(t)&&!D(t)&&!fo(t)?String(t):t,te={},Ht=[],He=()=>{},gc=()=>!1,_c=/^on[^a-z]/,ln=e=>_c.test(e),Bs=e=>e.startsWith("onUpdate:"),fe=Object.assign,Ds=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},vc=Object.prototype.hasOwnProperty,ee=(e,t)=>vc.call(e,t),D=Array.isArray,Ut=e=>Kn(e)==="[object Map]",yt=e=>Kn(e)==="[object Set]",ao=e=>e instanceof Date,q=e=>typeof e=="function",de=e=>typeof e=="string",Hs=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",Us=e=>he(e)&&q(e.then)&&q(e.catch),uo=Object.prototype.toString,Kn=e=>uo.call(e),bc=e=>Kn(e).slice(8,-1),fo=e=>Kn(e)==="[object Object]",js=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,cn=jn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yc=/-(\w)/g,Se=Wn(e=>e.replace(yc,(t,n)=>n?n.toUpperCase():"")),xc=/\B([A-Z])/g,Ve=Wn(e=>e.replace(xc,"-$1").toLowerCase()),an=Wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=Wn(e=>e?`on${an(e)}`:""),fn=(e,t)=>!Object.is(e,t),jt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},it=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ho;const wc=()=>ho||(ho=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ke;const zn=[];class Vs{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ke&&(this.parent=Ke,this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}}on(){this.active&&(zn.push(this),Ke=this)}off(){this.active&&(zn.pop(),Ke=zn[zn.length-1])}stop(t){if(this.active){if(this.effects.forEach(n=>n.stop()),this.cleanups.forEach(n=>n()),this.scopes&&this.scopes.forEach(n=>n.stop(!0)),this.parent&&!t){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.active=!1}}}function Cc(e){return new Vs(e)}function po(e,t){t=t||Ke,t&&t.active&&t.effects.push(e)}function Ec(){return Ke}function kc(e){Ke&&Ke.cleanups.push(e)}const Ks=e=>{const t=new Set(e);return t.w=0,t.n=0,t},mo=e=>(e.w<)>0,go=e=>(e.n<)>0,Tc=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s0?hn[t-1]:void 0}}stop(){this.active&&(_o(this),this.onStop&&this.onStop(),this.active=!1)}}function _o(e){const{deps:t}=e;if(t.length){for(let n=0;n{(a==="length"||a>=s)&&l.push(c)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":D(e)?js(n)&&l.push(i.get("length")):(l.push(i.get(wt)),Ut(e)&&l.push(i.get(zs)));break;case"delete":D(e)||(l.push(i.get(wt)),Ut(e)&&l.push(i.get(zs)));break;case"set":Ut(e)&&l.push(i.get(wt));break}if(l.length===1)l[0]&&Ys(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Ys(Ks(c))}}function Ys(e,t){for(const n of D(e)?e:[...e])(n!==xt||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Rc=jn("__proto__,__v_isRef,__isVue"),yo=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Hs)),Lc=Jn(),Ic=Jn(!1,!0),Mc=Jn(!0),Fc=Jn(!0,!0),xo=Nc();function Nc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Q(this);for(let o=0,i=this.length;o{e[t]=function(...n){Ct();const s=Q(this)[t].apply(this,n);return ct(),s}}),e}function Jn(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_raw"&&o===(e?t?Lo:Ro:t?So:Po).get(s))return s;const i=D(s);if(!e&&i&&ee(xo,r))return Reflect.get(xo,r,o);const l=Reflect.get(s,r,o);return(Hs(r)?yo.has(r):Rc(r))||(e||Re(s,"get",r),t)?l:ve(l)?!i||!js(r)?l.value:l:he(l)?e?ns(l):mn(l):l}}const Oc=wo(),Bc=wo(!0);function wo(e=!1){return function(n,s,r,o){let i=n[s];if(!e&&!rs(r)&&(r=Q(r),i=Q(i),!D(n)&&ve(i)&&!ve(r)))return i.value=r,!0;const l=D(n)&&js(s)?Number(s)e,Yn=e=>Reflect.getPrototypeOf(e);function Xn(e,t,n=!1,s=!1){e=e.__v_raw;const r=Q(e),o=Q(t);t!==o&&!n&&Re(r,"get",t),!n&&Re(r,"get",o);const{has:i}=Yn(r),l=s?Xs:n?Qs:gn;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Zn(e,t=!1){const n=this.__v_raw,s=Q(n),r=Q(e);return e!==r&&!t&&Re(s,"has",e),!t&&Re(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Qn(e,t=!1){return e=e.__v_raw,!t&&Re(Q(e),"iterate",wt),Reflect.get(e,"size",e)}function ko(e){e=Q(e);const t=Q(this);return Yn(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function To(e,t){t=Q(t);const n=Q(this),{has:s,get:r}=Yn(n);let o=s.call(n,e);o||(e=Q(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?fn(t,i)&&Qe(n,"set",e,t):Qe(n,"add",e,t),this}function Ao(e){const t=Q(this),{has:n,get:s}=Yn(t);let r=n.call(t,e);r||(e=Q(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Qe(t,"delete",e,void 0),o}function $o(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&Qe(e,"clear",void 0,void 0),n}function Gn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=Q(i),c=t?Xs:e?Qs:gn;return!e&&Re(l,"iterate",wt),i.forEach((a,f)=>s.call(r,c(a),c(f),o))}}function es(e,t,n){return function(...s){const r=this.__v_raw,o=Q(r),i=Ut(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),f=n?Xs:t?Qs:gn;return!t&&Re(o,"iterate",c?zs:wt),{next(){const{value:h,done:p}=a.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}},[Symbol.iterator](){return this}}}}function at(e){return function(...t){return e==="delete"?!1:this}}function Kc(){const e={get(o){return Xn(this,o)},get size(){return Qn(this)},has:Zn,add:ko,set:To,delete:Ao,clear:$o,forEach:Gn(!1,!1)},t={get(o){return Xn(this,o,!1,!0)},get size(){return Qn(this)},has:Zn,add:ko,set:To,delete:Ao,clear:$o,forEach:Gn(!1,!0)},n={get(o){return Xn(this,o,!0)},get size(){return Qn(this,!0)},has(o){return Zn.call(this,o,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:Gn(!0,!1)},s={get(o){return Xn(this,o,!0,!0)},get size(){return Qn(this,!0)},has(o){return Zn.call(this,o,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:Gn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=es(o,!1,!1),n[o]=es(o,!0,!1),t[o]=es(o,!1,!0),s[o]=es(o,!0,!0)}),[e,n,t,s]}const[Wc,qc,zc,Jc]=Kc();function ts(e,t){const n=t?e?Jc:zc:e?qc:Wc;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ee(n,r)&&r in s?n:s,r,o)}const Yc={get:ts(!1,!1)},Xc={get:ts(!1,!0)},Zc={get:ts(!0,!1)},Qc={get:ts(!0,!0)},Po=new WeakMap,So=new WeakMap,Ro=new WeakMap,Lo=new WeakMap;function Gc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ea(e){return e.__v_skip||!Object.isExtensible(e)?0:Gc(bc(e))}function mn(e){return e&&e.__v_isReadonly?e:ss(e,!1,Co,Yc,Po)}function Io(e){return ss(e,!1,jc,Xc,So)}function ns(e){return ss(e,!0,Eo,Zc,Ro)}function ta(e){return ss(e,!0,Vc,Qc,Lo)}function ss(e,t,n,s,r){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=ea(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Et(e){return rs(e)?Et(e.__v_raw):!!(e&&e.__v_isReactive)}function rs(e){return!!(e&&e.__v_isReadonly)}function Zs(e){return Et(e)||rs(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Kt(e){return qn(e,"__v_skip",!0),e}const gn=e=>he(e)?mn(e):e,Qs=e=>he(e)?ns(e):e;function Gs(e){vo()&&(e=Q(e),e.dep||(e.dep=Ks()),bo(e.dep))}function os(e,t){e=Q(e),e.dep&&Ys(e.dep)}function ve(e){return Boolean(e&&e.__v_isRef===!0)}function pe(e){return Fo(e,!1)}function Mo(e){return Fo(e,!0)}function Fo(e,t){return ve(e)?e:new na(e,t)}class na{constructor(t,n){this._shallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:gn(t)}get value(){return Gs(this),this._value}set value(t){t=this._shallow?t:Q(t),fn(t,this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:gn(t),os(this))}}function sa(e){os(e)}function H(e){return ve(e)?e.value:e}const ra={get:(e,t,n)=>H(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ve(r)&&!ve(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function er(e){return Et(e)?e:new Proxy(e,ra)}class oa{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Gs(this),()=>os(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function ia(e){return new oa(e)}function _n(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=No(e,n);return t}class la{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function No(e,t,n){const s=e[t];return ve(s)?s:new la(e,t,n)}class ca{constructor(t,n,s){this._setter=n,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new pn(t,()=>{this._dirty||(this._dirty=!0,os(this))}),this.__v_isReadonly=s}get value(){const t=Q(this);return Gs(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function X(e,t){let n,s;const r=q(e);return r?(n=e,s=He):(n=e.get,s=e.set),new ca(n,s,r||!s)}Promise.resolve();let Wt,is=[];function Oo(e,t){var n,s;Wt=e,Wt?(Wt.enabled=!0,is.forEach(({event:r,args:o})=>Wt.emit(r,...o)),is=[]):typeof window!="undefined"&&window.HTMLElement&&!((s=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||s===void 0?void 0:s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Oo(o,t)}),setTimeout(()=>{Wt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,is=[])},3e3)):is=[]}function aa(e,t,...n){const s=e.vnode.props||te;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const f=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:p}=s[f]||te;p?r=n.map(y=>y.trim()):h&&(r=n.map(it))}let l,c=s[l=un(t)]||s[l=un(Se(t))];!c&&o&&(c=s[l=un(Ve(t))]),c&&Me(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(a,e,6,r)}}function Bo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!q(e)){const c=a=>{const f=Bo(a,t,!0);f&&(l=!0,fe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(s.set(e,null),null):(D(o)?o.forEach(c=>i[c]=null):fe(i,o),s.set(e,i),i)}function tr(e,t){return!e||!ln(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,Ve(t))||ee(e,t))}let Le=null,ls=null;function vn(e){const t=Le;return Le=e,ls=e&&e.type.__scopeId||null,t}function nr(e){ls=e}function sr(){ls=null}const ua=e=>we;function we(e,t=Le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&wr(-1);const o=vn(t),i=e(...r);return vn(o),s._d&&wr(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function cs(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:a,render:f,renderCache:h,data:p,setupState:y,ctx:x,inheritAttrs:L}=e;let m,b;const g=vn(e);try{if(n.shapeFlag&4){const v=r||s;m=Ie(f.call(v,v,h,o,y,p,x)),b=c}else{const v=t;m=Ie(v.length>1?v(o,{attrs:c,slots:l,emit:a}):v(o,null)),b=t.props?c:da(c)}}catch(v){Tn.length=0,Rt(v,e,1),m=F(Ee)}let w=m;if(b&&L!==!1){const v=Object.keys(b),{shapeFlag:R}=w;v.length&&R&(1|6)&&(i&&v.some(Bs)&&(b=ha(b,i)),w=dt(w,b))}return n.dirs&&(w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),m=w,vn(g),m}function fa(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||ln(n))&&((t||(t={}))[n]=e[n]);return t},ha=(e,t)=>{const n={};for(const s in e)(!Bs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function pa(e,t,n){const{props:s,children:r,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 s?Do(s,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense,ga={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,l,c,a){e==null?va(t,n,s,r,o,i,l,c,a):ba(e,t,n,s,r,i,l,c,a)},hydrate:ya,create:or,normalize:xa},_a=ga;function bn(e,t){const n=e.props&&e.props[t];q(n)&&n()}function va(e,t,n,s,r,o,i,l,c){const{p:a,o:{createElement:f}}=c,h=f("div"),p=e.suspense=or(e,r,s,t,h,n,o,i,l,c);a(null,p.pendingBranch=e.ssContent,h,null,s,p,o,i),p.deps>0?(bn(e,"onPending"),bn(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,o,i),qt(p,e.ssFallback)):p.resolve()}function ba(e,t,n,s,r,o,i,l,{p:c,um:a,o:{createElement:f}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const p=t.ssContent,y=t.ssFallback,{activeBranch:x,pendingBranch:L,isInFallback:m,isHydrating:b}=h;if(L)h.pendingBranch=p,ze(p,L)?(c(L,p,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0?h.resolve():m&&(c(x,y,n,s,r,null,o,i,l),qt(h,y))):(h.pendingId++,b?(h.isHydrating=!1,h.activeBranch=L):a(L,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=f("div"),m?(c(null,p,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0?h.resolve():(c(x,y,n,s,r,null,o,i,l),qt(h,y))):x&&ze(p,x)?(c(x,p,n,s,r,h,o,i,l),h.resolve(!0)):(c(null,p,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0&&h.resolve()));else if(x&&ze(p,x))c(x,p,n,s,r,h,o,i,l),qt(h,p);else if(bn(t,"onPending"),h.pendingBranch=p,h.pendingId++,c(null,p,h.hiddenContainer,null,r,h,o,i,l),h.deps<=0)h.resolve();else{const{timeout:g,pendingId:w}=h;g>0?setTimeout(()=>{h.pendingId===w&&h.fallback(y)},g):g===0&&h.fallback(y)}}function or(e,t,n,s,r,o,i,l,c,a,f=!1){const{p:h,m:p,um:y,n:x,o:{parentNode:L,remove:m}}=a,b=it(e.props&&e.props.timeout),g={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:r,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve(w=!1){const{vnode:v,activeBranch:R,pendingBranch:N,pendingId:T,effects:I,parentComponent:O,container:K}=g;if(g.isHydrating)g.isHydrating=!1;else if(!w){const Y=R&&N.transition&&N.transition.mode==="out-in";Y&&(R.transition.afterLeave=()=>{T===g.pendingId&&p(N,K,re,0)});let{anchor:re}=g;R&&(re=x(R),y(R,O,g,!0)),Y||p(N,K,re,0)}qt(g,N),g.pendingBranch=null,g.isInFallback=!1;let W=g.parent,A=!1;for(;W;){if(W.pendingBranch){W.effects.push(...I),A=!0;break}W=W.parent}A||Ir(I),g.effects=[],bn(v,"onResolve")},fallback(w){if(!g.pendingBranch)return;const{vnode:v,activeBranch:R,parentComponent:N,container:T,isSVG:I}=g;bn(v,"onFallback");const O=x(R),K=()=>{!g.isInFallback||(h(null,w,T,O,N,null,I,l,c),qt(g,w))},W=w.transition&&w.transition.mode==="out-in";W&&(R.transition.afterLeave=K),g.isInFallback=!0,y(R,N,null,!0),W||K()},move(w,v,R){g.activeBranch&&p(g.activeBranch,w,v,R),g.container=w},next(){return g.activeBranch&&x(g.activeBranch)},registerDep(w,v){const R=!!g.pendingBranch;R&&g.deps++;const N=w.vnode.el;w.asyncDep.catch(T=>{Rt(T,w,0)}).then(T=>{if(w.isUnmounted||g.isUnmounted||g.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:I}=w;Tr(w,T,!1),N&&(I.el=N);const O=!N&&w.subTree.el;v(w,I,L(N||w.subTree.el),N?null:x(w.subTree),g,i,c),O&&m(O),rr(w,I.el),R&&--g.deps==0&&g.resolve()})},unmount(w,v){g.isUnmounted=!0,g.activeBranch&&y(g.activeBranch,n,w,v),g.pendingBranch&&y(g.pendingBranch,n,w,v)}};return g}function ya(e,t,n,s,r,o,i,l,c){const a=t.suspense=or(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,l,!0),f=c(e,a.pendingBranch=t.ssContent,n,a,o,i);return a.deps===0&&a.resolve(),f}function xa(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ho(s?n.default:n),e.ssFallback=s?Ho(n.fallback):F(Ee)}function Ho(e){let t;if(q(e)){const n=Yt&&e._c;n&&(e._d=!1,V()),e=e(),n&&(e._d=!0,t=qe,xi())}return D(e)&&(e=fa(e)),e=Ie(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Uo(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):Ir(e)}function qt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,rr(s,r))}function jo(e,t){if(ge){let n=ge.provides;const s=ge.parent&&ge.parent.provides;s===n&&(n=ge.provides=Object.create(s)),n[e]=t}}function kt(e,t,n=!1){const s=ge||Le;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&q(t)?t.call(s.proxy):t}}function ir(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ue(()=>{e.isMounted=!0}),En(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],wa={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Oe,onEnter:Oe,onAfterEnter:Oe,onEnterCancelled:Oe,onBeforeLeave:Oe,onLeave:Oe,onAfterLeave:Oe,onLeaveCancelled:Oe,onBeforeAppear:Oe,onAppear:Oe,onAfterAppear:Oe,onAppearCancelled:Oe},setup(e,{slots:t}){const n=pt(),s=ir();let r;return()=>{const o=t.default&&as(t.default(),!0);if(!o||!o.length)return;const i=Q(e),{mode:l}=i,c=o[0];if(s.isLeaving)return cr(c);const a=Ko(c);if(!a)return cr(c);const f=zt(a,i,s,n);Tt(a,f);const h=n.subTree,p=h&&Ko(h);let y=!1;const{getTransitionKey:x}=a.type;if(x){const L=x();r===void 0?r=L:L!==r&&(r=L,y=!0)}if(p&&p.type!==Ee&&(!ze(a,p)||y)){const L=zt(p,i,s,n);if(Tt(p,L),l==="out-in")return s.isLeaving=!0,L.afterLeave=()=>{s.isLeaving=!1,n.update()},cr(c);l==="in-out"&&a.type!==Ee&&(L.delayLeave=(m,b,g)=>{const w=Vo(s,p);w[String(p.key)]=p,m._leaveCb=()=>{b(),m._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=g})}return c}}},lr=wa;function Vo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function zt(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:y,onLeaveCancelled:x,onBeforeAppear:L,onAppear:m,onAfterAppear:b,onAppearCancelled:g}=t,w=String(e.key),v=Vo(n,e),R=(T,I)=>{T&&Me(T,s,9,I)},N={mode:o,persisted:i,beforeEnter(T){let I=l;if(!n.isMounted)if(r)I=L||l;else return;T._leaveCb&&T._leaveCb(!0);const O=v[w];O&&ze(e,O)&&O.el._leaveCb&&O.el._leaveCb(),R(I,[T])},enter(T){let I=c,O=a,K=f;if(!n.isMounted)if(r)I=m||c,O=b||a,K=g||f;else return;let W=!1;const A=T._enterCb=Y=>{W||(W=!0,Y?R(K,[T]):R(O,[T]),N.delayedLeave&&N.delayedLeave(),T._enterCb=void 0)};I?(I(T,A),I.length<=1&&A()):A()},leave(T,I){const O=String(e.key);if(T._enterCb&&T._enterCb(!0),n.isUnmounting)return I();R(h,[T]);let K=!1;const W=T._leaveCb=A=>{K||(K=!0,I(),A?R(x,[T]):R(y,[T]),T._leaveCb=void 0,v[O]===e&&delete v[O])};v[O]=e,p?(p(T,W),p.length<=1&&W()):W()},clone(T){return zt(T,t,n,s)}};return N}function cr(e){if(xn(e))return e=dt(e),e.children=null,e}function Ko(e){return xn(e)?e.children?e.children[0]:void 0:e}function Tt(e,t){e.shapeFlag&6&&e.component?Tt(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function as(e,t=!1){let n=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;function Wo(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,a,f=0;const h=()=>(f++,c=null,p()),p=()=>{let y;return c||(y=c=t().catch(x=>{if(x=x instanceof Error?x:new Error(String(x)),l)return new Promise((L,m)=>{l(x,()=>L(h()),()=>m(x),f+1)});throw x}).then(x=>y!==c&&c?c:(x&&(x.__esModule||x[Symbol.toStringTag]==="Module")&&(x=x.default),a=x,x)))};return ae({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return a},setup(){const y=ge;if(a)return()=>ar(a,y);const x=g=>{c=null,Rt(g,y,13,!s)};if(i&&y.suspense||$n)return p().then(g=>()=>ar(g,y)).catch(g=>(x(g),()=>s?F(s,{error:g}):null));const L=pe(!1),m=pe(),b=pe(!!r);return r&&setTimeout(()=>{b.value=!1},r),o!=null&&setTimeout(()=>{if(!L.value&&!m.value){const g=new Error(`Async component timed out after ${o}ms.`);x(g),m.value=g}},o),p().then(()=>{L.value=!0,y.parent&&xn(y.parent.vnode)&&Lr(y.parent.update)}).catch(g=>{x(g),m.value=g}),()=>{if(L.value&&a)return ar(a,y);if(m.value&&s)return F(s,{error:m.value});if(n&&!b.value)return F(n)}}})}function ar(e,{vnode:{ref:t,props:n,children:s}}){const r=F(e,n,s);return r.ref=t,r}const xn=e=>e.type.__isKeepAlive,Ca={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=pt(),s=n.ctx;if(!s.renderer)return t.default;const r=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:f,o:{createElement:h}}}=s,p=h("div");s.activate=(g,w,v,R,N)=>{const T=g.component;a(g,w,v,0,l),c(T.vnode,g,w,v,T,l,R,g.slotScopeIds,N),ye(()=>{T.isDeactivated=!1,T.a&&jt(T.a);const I=g.props&&g.props.onVnodeMounted;I&&$e(I,T.parent,g)},l)},s.deactivate=g=>{const w=g.component;a(g,p,null,1,l),ye(()=>{w.da&&jt(w.da);const v=g.props&&g.props.onVnodeUnmounted;v&&$e(v,w.parent,g),w.isDeactivated=!0},l)};function y(g){ur(g),f(g,n,l)}function x(g){r.forEach((w,v)=>{const R=ys(w.type);R&&(!g||!g(R))&&L(v)})}function L(g){const w=r.get(g);!i||w.type!==i.type?y(w):i&&ur(i),r.delete(g),o.delete(g)}xe(()=>[e.include,e.exclude],([g,w])=>{g&&x(v=>wn(g,v)),w&&x(v=>!wn(w,v))},{flush:"post",deep:!0});let m=null;const b=()=>{m!=null&&r.set(m,fr(n.subTree))};return Ue(b),Cn(b),En(()=>{r.forEach(g=>{const{subTree:w,suspense:v}=n,R=fr(w);if(g.type===R.type){ur(R);const N=R.component.da;N&&ye(N,v);return}y(g)})}),()=>{if(m=null,!t.default)return null;const g=t.default(),w=g[0];if(g.length>1)return i=null,g;if(!ft(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return i=null,w;let v=fr(w);const R=v.type,N=ys(yn(v)?v.type.__asyncResolved||{}:R),{include:T,exclude:I,max:O}=e;if(T&&(!N||!wn(T,N))||I&&N&&wn(I,N))return i=v,w;const K=v.key==null?R:v.key,W=r.get(K);return v.el&&(v=dt(v),w.shapeFlag&128&&(w.ssContent=v)),m=K,W?(v.el=W.el,v.component=W.component,v.transition&&Tt(v,v.transition),v.shapeFlag|=512,o.delete(K),o.add(K)):(o.add(K),O&&o.size>parseInt(O,10)&&L(o.values().next().value)),v.shapeFlag|=256,i=v,w}}},Ea=Ca;function wn(e,t){return D(e)?e.some(n=>wn(n,t)):de(e)?e.split(",").indexOf(t)>-1:e.test?e.test(t):!1}function qo(e,t){Jo(e,"a",t)}function zo(e,t){Jo(e,"da",t)}function Jo(e,t,n=ge){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(us(t,s,n),n){let r=n.parent;for(;r&&r.parent;)xn(r.parent.vnode)&&ka(s,t,n,r),r=r.parent}}function ka(e,t,n,s){const r=us(t,e,s,!0);At(()=>{Ds(s[t],r)},n)}function ur(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function fr(e){return e.shapeFlag&128?e.ssContent:e}function us(e,t,n=ge,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ct(),mt(n);const l=Me(t,n,e,i);return gt(),ct(),l});return s?r.unshift(o):r.push(o),o}}const Ge=e=>(t,n=ge)=>(!$n||e==="sp")&&us(e,t,n),Yo=Ge("bm"),Ue=Ge("m"),Xo=Ge("bu"),Cn=Ge("u"),En=Ge("bum"),At=Ge("um"),Zo=Ge("sp"),Qo=Ge("rtg"),Go=Ge("rtc");function ei(e,t=ge){us("ec",e,t)}let dr=!0;function Ta(e){const t=si(e),n=e.proxy,s=e.ctx;dr=!1,t.beforeCreate&&ti(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:p,beforeUpdate:y,updated:x,activated:L,deactivated:m,beforeDestroy:b,beforeUnmount:g,destroyed:w,unmounted:v,render:R,renderTracked:N,renderTriggered:T,errorCaptured:I,serverPrefetch:O,expose:K,inheritAttrs:W,components:A,directives:Y,filters:re}=t;if(a&&Aa(a,s,null,e.appContext.config.unwrapInjectedRef),i)for(const ue in i){const oe=i[ue];q(oe)&&(s[ue]=oe.bind(n))}if(r){const ue=r.call(n,n);he(ue)&&(e.data=mn(ue))}if(dr=!0,o)for(const ue in o){const oe=o[ue],Xe=q(oe)?oe.bind(n,n):q(oe.get)?oe.get.bind(n,n):He,Fs=!q(oe)&&q(oe.set)?oe.set.bind(n):He,sn=X({get:Xe,set:Fs});Object.defineProperty(s,ue,{enumerable:!0,configurable:!0,get:()=>sn.value,set:Nt=>sn.value=Nt})}if(l)for(const ue in l)ni(l[ue],s,n,ue);if(c){const ue=q(c)?c.call(n):c;Reflect.ownKeys(ue).forEach(oe=>{jo(oe,ue[oe])})}f&&ti(f,e,"c");function be(ue,oe){D(oe)?oe.forEach(Xe=>ue(Xe.bind(n))):oe&&ue(oe.bind(n))}if(be(Yo,h),be(Ue,p),be(Xo,y),be(Cn,x),be(qo,L),be(zo,m),be(ei,I),be(Go,N),be(Qo,T),be(En,g),be(At,v),be(Zo,O),D(K))if(K.length){const ue=e.exposed||(e.exposed={});K.forEach(oe=>{Object.defineProperty(ue,oe,{get:()=>n[oe],set:Xe=>n[oe]=Xe})})}else e.exposed||(e.exposed={});R&&e.render===He&&(e.render=R),W!=null&&(e.inheritAttrs=W),A&&(e.components=A),Y&&(e.directives=Y)}function Aa(e,t,n=He,s=!1){D(e)&&(e=hr(e));for(const r in e){const o=e[r];let i;he(o)?"default"in o?i=kt(o.from||r,o.default,!0):i=kt(o.from||r):i=kt(o),ve(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function ti(e,t,n){Me(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ni(e,t,n,s){const r=s.includes(".")?Ui(n,s):()=>n[s];if(de(e)){const o=t[e];q(o)&&xe(r,o)}else if(q(e))xe(r,e.bind(n));else if(he(e))if(D(e))e.forEach(o=>ni(o,t,n,s));else{const o=q(e.handler)?e.handler.bind(n):t[e.handler];q(o)&&xe(r,o,e)}}function si(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>fs(c,a,i,!0)),fs(c,t,i)),o.set(t,c),c}function fs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&fs(e,o,n,!0),r&&r.forEach(i=>fs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=$a[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const $a={data:ri,props:$t,emits:$t,methods:$t,computed:$t,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:$t,directives:$t,watch:Sa,provide:ri,inject:Pa};function ri(e,t){return t?e?function(){return fe(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function Pa(e,t){return $t(hr(e),hr(t))}function hr(e){if(D(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,y]=ii(h,t,!0);fe(i,p),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return s.set(e,Ht),Ht;if(D(o))for(let f=0;f-1,y[1]=L<0||x-1||ee(y,"default"))&&l.push(h)}}}const a=[i,l];return s.set(e,a),a}function li(e){return e[0]!=="$"}function ci(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ai(e,t){return ci(e)===ci(t)}function ui(e,t){return D(t)?t.findIndex(n=>ai(n,e)):q(t)&&ai(t,e)?0:-1}const fi=e=>e[0]==="_"||e==="$stable",mr=e=>D(e)?e.map(Ie):[Ie(e)],Ia=(e,t,n)=>{const s=we((...r)=>mr(t(...r)),n);return s._c=!1,s},di=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fi(r))continue;const o=e[r];if(q(o))t[r]=Ia(r,o,s);else if(o!=null){const i=mr(o);t[r]=()=>i}}},hi=(e,t)=>{const n=mr(t);e.slots.default=()=>n},Ma=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),qn(t,"_",n)):di(t,e.slots={})}else e.slots={},t&&hi(e,t);qn(e.slots,gs,1)},Fa=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(fe(r,t),!n&&l===1&&delete r._):(o=!t.$stable,di(t,r)),i=t}else t&&(hi(e,t),i={default:1});if(o)for(const l in r)!fi(l)&&!(l in i)&&delete r[l]};function gr(e,t){const n=Le;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;ods(p,t&&(D(t)?t[y]:t),n,s,r));return}if(yn(s)&&!r)return;const o=s.shapeFlag&4?$r(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(de(a)?(f[a]=null,ee(h,a)&&(h[a]=null)):ve(a)&&(a.value=null)),q(c))Je(c,l,12,[i,f]);else{const p=de(c),y=ve(c);if(p||y){const x=()=>{if(e.f){const L=p?f[c]:c.value;r?D(L)&&Ds(L,o):D(L)?L.includes(o)||L.push(o):p?f[c]=[o]:(c.value=[o],e.k&&(f[e.k]=c.value))}else p?(f[c]=i,ee(h,c)&&(h[c]=i)):ve(c)&&(c.value=i,e.k&&(f[e.k]=i))};i?(x.id=-1,ye(x,n)):x()}}}let ut=!1;const hs=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",_r=e=>e.nodeType===8;function Ba(e){const{mt:t,p:n,o:{patchProp:s,nextSibling:r,parentNode:o,remove:i,insert:l,createComment:c}}=e,a=(m,b)=>{if(!b.hasChildNodes()){n(null,m,b),ws();return}ut=!1,f(b.firstChild,m,null,null,null),ws(),ut&&console.error("Hydration completed but contains mismatches.")},f=(m,b,g,w,v,R=!1)=>{const N=_r(m)&&m.data==="[",T=()=>x(m,b,g,w,v,N),{type:I,ref:O,shapeFlag:K}=b,W=m.nodeType;b.el=m;let A=null;switch(I){case Jt:W!==3?A=T():(m.data!==b.children&&(ut=!0,m.data=b.children),A=r(m));break;case Ee:W!==8||N?A=T():A=r(m);break;case St:if(W!==1)A=T();else{A=m;const Y=!b.children.length;for(let re=0;re{R=R||!!b.dynamicChildren;const{type:N,props:T,patchFlag:I,shapeFlag:O,dirs:K}=b,W=N==="input"&&K||N==="option";if(W||I!==-1){if(K&&We(b,null,g,"created"),T)if(W||!R||I&(16|32))for(const Y in T)(W&&Y.endsWith("value")||ln(Y)&&!cn(Y))&&s(m,Y,null,T[Y],!1,void 0,g);else T.onClick&&s(m,"onClick",null,T.onClick,!1,void 0,g);let A;if((A=T&&T.onVnodeBeforeMount)&&$e(A,g,b),K&&We(b,null,g,"beforeMount"),((A=T&&T.onVnodeMounted)||K)&&Uo(()=>{A&&$e(A,g,b),K&&We(b,null,g,"mounted")},w),O&16&&!(T&&(T.innerHTML||T.textContent))){let Y=p(m.firstChild,b,m,g,w,v,R);for(;Y;){ut=!0;const re=Y;Y=Y.nextSibling,i(re)}}else O&8&&m.textContent!==b.children&&(ut=!0,m.textContent=b.children)}return m.nextSibling},p=(m,b,g,w,v,R,N)=>{N=N||!!b.dynamicChildren;const T=b.children,I=T.length;for(let O=0;O{const{slotScopeIds:N}=b;N&&(v=v?v.concat(N):N);const T=o(m),I=p(r(m),b,T,g,w,v,R);return I&&_r(I)&&I.data==="]"?r(b.anchor=I):(ut=!0,l(b.anchor=c("]"),T,I),I)},x=(m,b,g,w,v,R)=>{if(ut=!0,b.el=null,R){const I=L(m);for(;;){const O=r(m);if(O&&O!==I)i(O);else break}}const N=r(m),T=o(m);return i(m),n(null,b,T,N,g,w,hs(T),v),N},L=m=>{let b=0;for(;m;)if(m=r(m),m&&_r(m)&&(m.data==="["&&b++,m.data==="]")){if(b===0)return r(m);b--}return m};return[a,f]}const ye=Uo;function mi(e){return _i(e)}function gi(e){return _i(e,Ba)}function _i(e,t){const n=wc();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:p,setScopeId:y=He,cloneNode:x,insertStaticContent:L}=e,m=(u,d,_,E=null,C=null,P=null,M=!1,$=null,S=!!d.dynamicChildren)=>{if(u===d)return;u&&!ze(u,d)&&(E=Hn(u),rt(u,C,P,!0),u=null),d.patchFlag===-2&&(S=!1,d.dynamicChildren=null);const{type:k,ref:U,shapeFlag:B}=d;switch(k){case Jt:b(u,d,_,E);break;case Ee:g(u,d,_,E);break;case St:u==null&&w(d,_,E,M);break;case se:Y(u,d,_,E,C,P,M,$,S);break;default:B&1?N(u,d,_,E,C,P,M,$,S):B&6?re(u,d,_,E,C,P,M,$,S):(B&64||B&128)&&k.process(u,d,_,E,C,P,M,$,S,Ot)}U!=null&&C&&ds(U,u&&u.ref,P,d||u,!d)},b=(u,d,_,E)=>{if(u==null)s(d.el=l(d.children),_,E);else{const C=d.el=u.el;d.children!==u.children&&a(C,d.children)}},g=(u,d,_,E)=>{u==null?s(d.el=c(d.children||""),_,E):d.el=u.el},w=(u,d,_,E)=>{[u.el,u.anchor]=L(u.children,d,_,E)},v=({el:u,anchor:d},_,E)=>{let C;for(;u&&u!==d;)C=p(u),s(u,_,E),u=C;s(d,_,E)},R=({el:u,anchor:d})=>{let _;for(;u&&u!==d;)_=p(u),r(u),u=_;r(d)},N=(u,d,_,E,C,P,M,$,S)=>{M=M||d.type==="svg",u==null?T(d,_,E,C,P,M,$,S):K(u,d,C,P,M,$,S)},T=(u,d,_,E,C,P,M,$)=>{let S,k;const{type:U,props:B,shapeFlag:j,transition:J,patchFlag:G,dirs:ce}=u;if(u.el&&x!==void 0&&G===-1)S=u.el=x(u.el);else{if(S=u.el=i(u.type,P,B&&B.is,B),j&8?f(S,u.children):j&16&&O(u.children,S,null,E,C,P&&U!=="foreignObject",M,$),ce&&We(u,null,E,"created"),B){for(const ie in B)ie!=="value"&&!cn(ie)&&o(S,ie,null,B[ie],P,u.children,E,C,Ze);"value"in B&&o(S,"value",null,B.value),(k=B.onVnodeBeforeMount)&&$e(k,E,u)}I(S,u,u.scopeId,M,E)}ce&&We(u,null,E,"beforeMount");const ne=(!C||C&&!C.pendingBranch)&&J&&!J.persisted;ne&&J.beforeEnter(S),s(S,d,_),((k=B&&B.onVnodeMounted)||ne||ce)&&ye(()=>{k&&$e(k,E,u),ne&&J.enter(S),ce&&We(u,null,E,"mounted")},C)},I=(u,d,_,E,C)=>{if(_&&y(u,_),E)for(let P=0;P{for(let k=S;k{const $=d.el=u.el;let{patchFlag:S,dynamicChildren:k,dirs:U}=d;S|=u.patchFlag&16;const B=u.props||te,j=d.props||te;let J;_&&Pt(_,!1),(J=j.onVnodeBeforeUpdate)&&$e(J,_,d,u),U&&We(d,u,_,"beforeUpdate"),_&&Pt(_,!0);const G=C&&d.type!=="foreignObject";if(k?W(u.dynamicChildren,k,$,_,E,G,P):M||Xe(u,d,$,null,_,E,G,P,!1),S>0){if(S&16)A($,d,B,j,_,E,C);else if(S&2&&B.class!==j.class&&o($,"class",null,j.class,C),S&4&&o($,"style",B.style,j.style,C),S&8){const ce=d.dynamicProps;for(let ne=0;ne{J&&$e(J,_,d,u),U&&We(d,u,_,"updated")},E)},W=(u,d,_,E,C,P,M)=>{for(let $=0;${if(_!==E){for(const $ in E){if(cn($))continue;const S=E[$],k=_[$];S!==k&&$!=="value"&&o(u,$,k,S,M,d.children,C,P,Ze)}if(_!==te)for(const $ in _)!cn($)&&!($ in E)&&o(u,$,_[$],null,M,d.children,C,P,Ze);"value"in E&&o(u,"value",_.value,E.value)}},Y=(u,d,_,E,C,P,M,$,S)=>{const k=d.el=u?u.el:l(""),U=d.anchor=u?u.anchor:l("");let{patchFlag:B,dynamicChildren:j,slotScopeIds:J}=d;J&&($=$?$.concat(J):J),u==null?(s(k,_,E),s(U,_,E),O(d.children,_,U,C,P,M,$,S)):B>0&&B&64&&j&&u.dynamicChildren?(W(u.dynamicChildren,j,_,C,P,M,$),(d.key!=null||C&&d===C.subTree)&&vr(u,d,!0)):Xe(u,d,_,U,C,P,M,$,S)},re=(u,d,_,E,C,P,M,$,S)=>{d.slotScopeIds=$,u==null?d.shapeFlag&512?C.ctx.activate(d,_,E,M,S):Ft(d,_,E,C,P,M,S):be(u,d,S)},Ft=(u,d,_,E,C,P,M)=>{const $=u.component=Ti(u,E,C);if(xn(u)&&($.ctx.renderer=Ot),$i($),$.asyncDep){if(C&&C.registerDep($,ue),!u.el){const S=$.subTree=F(Ee);g(null,S,d,_)}return}ue($,u,d,_,C,P,M)},be=(u,d,_)=>{const E=d.component=u.component;if(pa(u,d,_))if(E.asyncDep&&!E.asyncResolved){oe(E,d,_);return}else E.next=d,pu(E.update),E.update();else d.component=u.component,d.el=u.el,E.vnode=d},ue=(u,d,_,E,C,P,M)=>{const $=()=>{if(u.isMounted){let{next:U,bu:B,u:j,parent:J,vnode:G}=u,ce=U,ne;Pt(u,!1),U?(U.el=G.el,oe(u,U,M)):U=G,B&&jt(B),(ne=U.props&&U.props.onVnodeBeforeUpdate)&&$e(ne,J,U,G),Pt(u,!0);const ie=cs(u),De=u.subTree;u.subTree=ie,m(De,ie,h(De.el),Hn(De),u,C,P),U.el=ie.el,ce===null&&rr(u,ie.el),j&&ye(j,C),(ne=U.props&&U.props.onVnodeUpdated)&&ye(()=>$e(ne,J,U,G),C)}else{let U;const{el:B,props:j}=d,{bm:J,m:G,parent:ce}=u,ne=yn(d);if(Pt(u,!1),J&&jt(J),!ne&&(U=j&&j.onVnodeBeforeMount)&&$e(U,ce,d),Pt(u,!0),B&&Os){const ie=()=>{u.subTree=cs(u),Os(B,u.subTree,u,C,null)};ne?d.type.__asyncLoader().then(()=>!u.isUnmounted&&ie()):ie()}else{const ie=u.subTree=cs(u);m(null,ie,_,E,u,C,P),d.el=ie.el}if(G&&ye(G,C),!ne&&(U=j&&j.onVnodeMounted)){const ie=d;ye(()=>$e(U,ce,ie),C)}d.shapeFlag&256&&u.a&&ye(u.a,C),u.isMounted=!0,d=_=E=null}},S=u.effect=new pn($,()=>Lr(u.update),u.scope),k=u.update=S.run.bind(S);k.id=u.uid,Pt(u,!0),k()},oe=(u,d,_)=>{d.component=u;const E=u.vnode.props;u.vnode=d,u.next=null,La(u,d.props,E,_),Fa(u,d.children,_),Ct(),Mr(void 0,u.update),ct()},Xe=(u,d,_,E,C,P,M,$,S=!1)=>{const k=u&&u.children,U=u?u.shapeFlag:0,B=d.children,{patchFlag:j,shapeFlag:J}=d;if(j>0){if(j&128){sn(k,B,_,E,C,P,M,$,S);return}else if(j&256){Fs(k,B,_,E,C,P,M,$,S);return}}J&8?(U&16&&Ze(k,C,P),B!==k&&f(_,B)):U&16?J&16?sn(k,B,_,E,C,P,M,$,S):Ze(k,C,P,!0):(U&8&&f(_,""),J&16&&O(B,_,E,C,P,M,$,S))},Fs=(u,d,_,E,C,P,M,$,S)=>{u=u||Ht,d=d||Ht;const k=u.length,U=d.length,B=Math.min(k,U);let j;for(j=0;jU?Ze(u,C,P,!0,!1,B):O(d,_,E,C,P,M,$,S,B)},sn=(u,d,_,E,C,P,M,$,S)=>{let k=0;const U=d.length;let B=u.length-1,j=U-1;for(;k<=B&&k<=j;){const J=u[k],G=d[k]=S?ht(d[k]):Ie(d[k]);if(ze(J,G))m(J,G,_,null,C,P,M,$,S);else break;k++}for(;k<=B&&k<=j;){const J=u[B],G=d[j]=S?ht(d[j]):Ie(d[j]);if(ze(J,G))m(J,G,_,null,C,P,M,$,S);else break;B--,j--}if(k>B){if(k<=j){const J=j+1,G=Jj)for(;k<=B;)rt(u[k],C,P,!0),k++;else{const J=k,G=k,ce=new Map;for(k=G;k<=j;k++){const Pe=d[k]=S?ht(d[k]):Ie(d[k]);Pe.key!=null&&ce.set(Pe.key,k)}let ne,ie=0;const De=j-G+1;let Bt=!1,no=0;const rn=new Array(De);for(k=0;k=De){rt(Pe,C,P,!0);continue}let je;if(Pe.key!=null)je=ce.get(Pe.key);else for(ne=G;ne<=j;ne++)if(rn[ne-G]===0&&ze(Pe,d[ne])){je=ne;break}je===void 0?rt(Pe,C,P,!0):(rn[je-G]=k+1,je>=no?no=je:Bt=!0,m(Pe,d[je],_,null,C,P,M,$,S),ie++)}const so=Bt?Da(rn):Ht;for(ne=so.length-1,k=De-1;k>=0;k--){const Pe=G+k,je=d[Pe],ro=Pe+1{const{el:P,type:M,transition:$,children:S,shapeFlag:k}=u;if(k&6){Nt(u.component.subTree,d,_,E);return}if(k&128){u.suspense.move(d,_,E);return}if(k&64){M.move(u,d,_,Ot);return}if(M===se){s(P,d,_);for(let B=0;B$.enter(P),C);else{const{leave:B,delayLeave:j,afterLeave:J}=$,G=()=>s(P,d,_),ce=()=>{B(P,()=>{G(),J&&J()})};j?j(P,G,ce):ce()}else s(P,d,_)},rt=(u,d,_,E=!1,C=!1)=>{const{type:P,props:M,ref:$,children:S,dynamicChildren:k,shapeFlag:U,patchFlag:B,dirs:j}=u;if($!=null&&ds($,null,_,u,!0),U&256){d.ctx.deactivate(u);return}const J=U&1&&j,G=!yn(u);let ce;if(G&&(ce=M&&M.onVnodeBeforeUnmount)&&$e(ce,d,u),U&6)tc(u.component,_,E);else{if(U&128){u.suspense.unmount(_,E);return}J&&We(u,null,d,"beforeUnmount"),U&64?u.type.remove(u,d,_,C,Ot,E):k&&(P!==se||B>0&&B&64)?Ze(k,d,_,!1,!0):(P===se&&B&(128|256)||!C&&U&16)&&Ze(S,d,_),E&&eo(u)}(G&&(ce=M&&M.onVnodeUnmounted)||J)&&ye(()=>{ce&&$e(ce,d,u),J&&We(u,null,d,"unmounted")},_)},eo=u=>{const{type:d,el:_,anchor:E,transition:C}=u;if(d===se){ec(_,E);return}if(d===St){R(u);return}const P=()=>{r(_),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(u.shapeFlag&1&&C&&!C.persisted){const{leave:M,delayLeave:$}=C,S=()=>M(_,P);$?$(u.el,P,S):S()}else P()},ec=(u,d)=>{let _;for(;u!==d;)_=p(u),r(u),u=_;r(d)},tc=(u,d,_)=>{const{bum:E,scope:C,update:P,subTree:M,um:$}=u;E&&jt(E),C.stop(),P&&(P.active=!1,rt(M,u,d,_)),$&&ye($,d),ye(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ze=(u,d,_,E=!1,C=!1,P=0)=>{for(let M=P;Mu.shapeFlag&6?Hn(u.component.subTree):u.shapeFlag&128?u.suspense.next():p(u.anchor||u.el),to=(u,d,_)=>{u==null?d._vnode&&rt(d._vnode,null,null,!0):m(d._vnode||null,u,d,null,null,null,_),ws(),d._vnode=u},Ot={p:m,um:rt,m:Nt,r:eo,mt:Ft,mc:O,pc:Xe,pbc:W,n:Hn,o:e};let Ns,Os;return t&&([Ns,Os]=t(Ot)),{render:to,hydrate:Ns,createApp:Oa(to,Ns)}}function Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function vr(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Ha=e=>e.__isTeleport,kn=e=>e&&(e.disabled||e.disabled===""),vi=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,br=(e,t)=>{const n=e&&e.to;return de(n)?t?t(n):null:n},Ua={__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:f,pc:h,pbc:p,o:{insert:y,querySelector:x,createText:L,createComment:m}}=a,b=kn(t.props);let{shapeFlag:g,children:w,dynamicChildren:v}=t;if(e==null){const R=t.el=L(""),N=t.anchor=L("");y(R,n,s),y(N,n,s);const T=t.target=br(t.props,x),I=t.targetAnchor=L("");T&&(y(I,T),i=i||vi(T));const O=(K,W)=>{g&16&&f(w,K,W,r,o,i,l,c)};b?O(n,N):T&&O(T,I)}else{t.el=e.el;const R=t.anchor=e.anchor,N=t.target=e.target,T=t.targetAnchor=e.targetAnchor,I=kn(e.props),O=I?n:N,K=I?R:T;if(i=i||vi(N),v?(p(e.dynamicChildren,v,O,r,o,i,l),vr(e,t,!0)):c||h(e,t,O,K,r,o,i,l,!1),b)I||ps(t,n,R,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=br(t.props,x);W&&ps(t,W,null,a,0)}else I&&ps(t,N,T,a,1)}},remove(e,t,n,s,{um:r,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:p}=e;if(h&&o(f),(i||!kn(p))&&(o(a),l&16))for(let y=0;y0?qe||Ht:null,xi(),Yt>0&&qe&&qe.push(e),e}function Z(e,t,n,s,r,o){return wi(z(e,t,n,s,r,o,!0))}function ke(e,t,n,s,r){return wi(F(e,t,n,s,r,!0))}function ft(e){return e?e.__v_isVNode===!0:!1}function ze(e,t){return e.type===t.type&&e.key===t.key}function za(e){}const gs="__vInternal",Ci=({key:e})=>e!=null?e:null,_s=({ref:e,ref_key:t,ref_for:n})=>e!=null?de(e)||ve(e)||q(e)?{i:Le,r:e,k:t,f:!!n}:e:null;function z(e,t=null,n=null,s=0,r=null,o=e===se?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ci(t),ref:t&&_s(t),scopeId:ls,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(Cr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=de(n)?8:16),Yt>0&&!i&&qe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&qe.push(c),c}const F=Ja;function Ja(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===bi)&&(e=Ee),ft(e)){const l=dt(e,t,!0);return n&&Cr(l,n),l}if(lu(e)&&(e=e.__vccOpts),t){t=Ei(t);let{class:l,style:c}=t;l&&!de(l)&&(t.class=Te(l)),he(c)&&(Zs(c)&&!D(c)&&(c=fe({},c)),t.style=on(c))}const i=de(e)?1:ma(e)?128:Ha(e)?64:he(e)?4:q(e)?2:0;return z(e,t,n,s,r,i,o,!0)}function Ei(e){return e?Zs(e)||gs in e?fe({},e):e:null}function dt(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Zt(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ci(l),ref:t&&t.ref?n&&r?D(r)?r.concat(_s(t)):[r,_s(t)]:_s(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dt(e.ssContent),ssFallback:e.ssFallback&&dt(e.ssFallback),el:e.el,anchor:e.anchor}}function Xt(e=" ",t=0){return F(Jt,null,e,t)}function Ya(e,t){const n=F(St,null,e);return n.staticCount=t,n}function me(e="",t=!1){return t?(V(),ke(Ee,null,e)):F(Ee,null,e)}function Ie(e){return e==null||typeof e=="boolean"?F(Ee):D(e)?F(se,null,e.slice()):typeof e=="object"?ht(e):F(Jt,null,String(e))}function ht(e){return e.el===null||e.memo?e:dt(e)}function Cr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&(1|64)){const r=t.default;r&&(r._c&&(r._d=!1),Cr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(gs in t)?t._ctx=Le:r===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[Xt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Zt(...e){const t={};for(let n=0;nt(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;lft(t)?!(t.type===Ee||t.type===se&&!ki(t.children)):!0)?e:null}function Za(e){const t={};for(const n in e)t[un(n)]=e[n];return t}const Er=e=>e?Ai(e)?$r(e)||e.proxy:Er(e.parent):null,vs=fe(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=>Er(e.parent),$root:e=>Er(e.root),$emit:e=>e.emit,$options:e=>si(e),$forceUpdate:e=>()=>Lr(e.update),$nextTick:e=>In.bind(e.proxy),$watch:e=>_u.bind(e)}),kr={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==te&&ee(s,t))return i[t]=1,s[t];if(r!==te&&ee(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&ee(a,t))return i[t]=3,o[t];if(n!==te&&ee(n,t))return i[t]=4,n[t];dr&&(i[t]=0)}}const f=vs[t];let h,p;if(f)return t==="$attrs"&&Re(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&ee(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,ee(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;if(r!==te&&ee(r,t))r[t]=n;else if(s!==te&&ee(s,t))s[t]=n;else if(ee(e.props,t))return!1;return t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==te&&ee(e,i)||t!==te&&ee(t,i)||(l=o[0])&&ee(l,i)||ee(s,i)||ee(vs,i)||ee(r.config.globalProperties,i)}},Qa=fe({},kr,{get(e,t){if(t!==Symbol.unscopables)return kr.get(e,t,e)},has(e,t){return t[0]!=="_"&&!cc(t)}}),Ga=pi();let eu=0;function Ti(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Ga,o={uid:eu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Vs(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ii(s,r),emitsOptions:Bo(s,r),emit:null,emitted:null,propsDefaults:te,inheritAttrs:s.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=aa.bind(null,o),e.ce&&e.ce(o),o}let ge=null;const pt=()=>ge||Le,mt=e=>{ge=e,e.scope.on()},gt=()=>{ge&&ge.scope.off(),ge=null};function Ai(e){return e.vnode.shapeFlag&4}let $n=!1;function $i(e,t=!1){$n=t;const{props:n,children:s}=e.vnode,r=Ai(e);Ra(e,n,r,t),Ma(e,s);const o=r?tu(e,t):void 0;return $n=!1,o}function tu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kt(new Proxy(e.ctx,kr));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Si(e):null;mt(e),Ct();const o=Je(s,e,0,[e.props,r]);if(ct(),gt(),Us(o)){if(o.then(gt,gt),t)return o.then(i=>{Tr(e,i,t)}).catch(i=>{Rt(i,e,0)});e.asyncDep=o}else Tr(e,o,t)}else Pi(e,t)}function Tr(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=er(t)),Pi(e,n)}let bs,Ar;function nu(e){bs=e,Ar=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Qa))}}const su=()=>!bs;function Pi(e,t,n){const s=e.type;if(!e.render){if(!t&&bs&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=fe(fe({isCustomElement:o,delimiters:l},i),c);s.render=bs(r,a)}}e.render=s.render||He,Ar&&Ar(e)}mt(e),Ct(),Ta(e),ct(),gt()}function ru(e){return new Proxy(e.attrs,{get(t,n){return Re(e,"get","$attrs"),t[n]}})}function Si(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=ru(e))},slots:e.slots,emit:e.emit,expose:t}}function $r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(er(Kt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vs)return vs[n](e)}}))}const ou=/(?:^|[-_])(\w)/g,iu=e=>e.replace(ou,t=>t.toUpperCase()).replace(/[-_]/g,"");function ys(e){return q(e)&&e.displayName||e.name}function Ri(e,t,n=!1){let s=ys(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e&&e.parent){const r=o=>{for(const i in o)if(o[i]===t)return i};s=r(e.components||e.parent.type.components)||r(e.appContext.components)}return s?iu(s):n?"App":"Anonymous"}function lu(e){return q(e)&&"__vccOpts"in e}const Pn=[];function Li(e,...t){Ct();const n=Pn.length?Pn[Pn.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=cu();if(s)Je(s,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:o})=>`at <${Ri(n,o.type)}>`).join(` -`),r]);else{const o=[`[Vue warn]: ${e}`,...t];r.length&&o.push(` -`,...au(r)),console.warn(...o)}ct()}function cu(){let e=Pn[Pn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function au(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` -`],...uu(n))}),t}function uu({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${Ri(e.component,e.type,s)}`,o=">"+n;return e.props?[r,...fu(e.props),o]:[r+o]}function fu(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Ii(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Ii(e,t,n){return de(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ve(t)?(t=Ii(e,Q(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Q(t),n?t:[`${e}=`,t])}function Je(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Rt(o,t,n)}return r}function Me(e,t,n,s){if(q(e)){const o=Je(e,t,n,s);return o&&Us(o)&&o.catch(i=>{Rt(i,t,n)}),o}const r=[];for(let o=0;o>>1;Mn(Fe[s])et&&Fe.splice(t,1)}function Ni(e,t,n,s){D(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),Fi()}function mu(e){Ni(e,Rn,Sn,Qt)}function Ir(e){Ni(e,_t,Ln,Gt)}function Mr(e,t=null){if(Sn.length){for(Rr=t,Rn=[...new Set(Sn)],Sn.length=0,Qt=0;QtMn(n)-Mn(s)),Gt=0;Gt<_t.length;Gt++)_t[Gt]();_t=null,Gt=0}}const Mn=e=>e.id==null?1/0:e.id;function Oi(e){Pr=!1,xs=!0,Mr(e),Fe.sort((n,s)=>Mn(n)-Mn(s));const t=He;try{for(et=0;ete.value,a=!!e._shallow):Et(e)?(c=()=>e,s=!0):D(e)?(f=!0,a=e.some(Et),c=()=>e.map(b=>{if(ve(b))return b.value;if(Et(b))return Lt(b);if(q(b))return Je(b,l,2)})):q(e)?t?c=()=>Je(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),Me(e,l,3,[p])}:c=He,t&&s){const b=c;c=()=>Lt(b())}let h,p=b=>{h=m.onStop=()=>{Je(b,l,4)}};if($n)return p=He,t?n&&Me(t,l,3,[c(),f?[]:void 0,p]):c(),He;let y=f?[]:Hi;const x=()=>{if(!!m.active)if(t){const b=m.run();(s||a||(f?b.some((g,w)=>fn(g,y[w])):fn(b,y)))&&(h&&h(),Me(t,l,3,[b,y===Hi?void 0:y,p]),y=b)}else m.run()};x.allowRecurse=!!t;let L;r==="sync"?L=x:r==="post"?L=()=>ye(x,l&&l.suspense):L=()=>{!l||l.isMounted?mu(x):x()};const m=new pn(c,L);return t?n?x():y=m.run():r==="post"?ye(m.run.bind(m),l&&l.suspense):m.run(),()=>{m.stop(),l&&l.scope&&Ds(l.scope.effects,m)}}function _u(e,t,n){const s=this.proxy,r=de(e)?e.includes(".")?Ui(s,e):()=>s[e]:e.bind(s,s);let o;q(t)?o=t:(o=t.handler,n=t);const i=ge;mt(this);const l=Fn(r,o.bind(s),n);return i?mt(i):gt(),l}function Ui(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Lt(n,t)});else if(fo(e))for(const n in e)Lt(e[n],t);return e}function vu(){return null}function bu(){return null}function yu(e){}function xu(e,t){return null}function Cs(){return ji().slots}function wu(){return ji().attrs}function ji(){const e=pt();return e.setupContext||(e.setupContext=Si(e))}function Cu(e,t){const n=D(e)?e.reduce((s,r)=>(s[r]={},s),{}):e;for(const s in t){const r=n[s];r?D(r)||q(r)?n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(n[s]={default:t[s]})}return n}function Eu(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function ku(e){const t=pt();let n=e();return gt(),Us(n)&&(n=n.catch(s=>{throw mt(t),s})),[n,()=>mt(t)]}function Ye(e,t,n){const s=arguments.length;return s===2?he(t)&&!D(t)?ft(t)?F(e,null,[t]):F(e,t):F(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ft(n)&&(n=[n]),F(e,t,n))}const Vi=Symbol(""),Tu=()=>{{const e=kt(Vi);return e||Li("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Au(){}function $u(e,t,n,s){const r=n[s];if(r&&Ki(r,e))return r;const o=t();return o.memo=e.slice(),n[s]=o}function Ki(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&qe&&qe.push(e),!0}const Wi="3.2.26",Pu={createComponentInstance:Ti,setupComponent:$i,renderComponentRoot:cs,setCurrentRenderingInstance:vn,isVNode:ft,normalizeVNode:Ie},Su=Pu,Ru=null,Lu=null,Iu="http://www.w3.org/2000/svg",en=typeof document!="undefined"?document:null,qi=new Map,Mu={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?en.createElementNS(Iu,e):en.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>en.createTextNode(e),createComment:e=>en.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>en.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s){const r=n?n.previousSibling:t.lastChild;let o=qi.get(e);if(!o){const i=en.createElement("template");if(i.innerHTML=s?`${e}`:e,o=i.content,s){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}qi.set(e,o)}return t.insertBefore(o.cloneNode(!0),n),[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Fu(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Nu(e,t,n){const s=e.style,r=de(n);if(n&&!r){for(const o in n)Fr(s,o,n[o]);if(t&&!de(t))for(const o in t)n[o]==null&&Fr(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const zi=/\s*!important$/;function Fr(e,t,n){if(D(n))n.forEach(s=>Fr(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Ou(e,t);zi.test(n)?e.setProperty(Ve(s),n.replace(zi,""),"important"):e[s]=n}}const Ji=["Webkit","Moz","ms"],Nr={};function Ou(e,t){const n=Nr[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return Nr[t]=s;s=an(s);for(let r=0;rdocument.createEvent("Event").timeStamp&&(Es=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Xi=!!(e&&Number(e[1])<=53)}let Or=0;const Hu=Promise.resolve(),Uu=()=>{Or=0},ju=()=>Or||(Hu.then(Uu),Or=Es());function tt(e,t,n,s){e.addEventListener(t,n,s)}function Vu(e,t,n,s){e.removeEventListener(t,n,s)}function Ku(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Wu(t);if(s){const a=o[t]=qu(s,r);tt(e,l,a,c)}else i&&(Vu(e,l,i,c),o[t]=void 0)}}const Zi=/(?:Once|Passive|Capture)$/;function Wu(e){let t;if(Zi.test(e)){t={};let n;for(;n=e.match(Zi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Ve(e.slice(2)),t]}function qu(e,t){const n=s=>{const r=s.timeStamp||Es();(Xi||r>=n.attached-1)&&Me(zu(s,n.value),t,5,[s])};return n.value=e,n.attached=ju(),n}function zu(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s(r))}else return t}const Qi=/^on[a-z]/,Ju=(e,t,n,s,r=!1,o,i,l,c)=>{t==="class"?Fu(e,s,r):t==="style"?Nu(e,n,s):ln(t)?Bs(t)||Ku(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yu(e,t,s,r))?Du(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Bu(e,t,s,r))};function Yu(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Qi.test(t)&&q(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Qi.test(t)&&de(n)?!1:t in e}function Gi(e,t){const n=ae(e);class s extends ks{constructor(o){super(n,o,t)}}return s.def=n,s}const Xu=e=>Gi(e,Cl),Zu=typeof HTMLElement!="undefined"?HTMLElement:class{};class ks extends Zu{constructor(t,n={},s){super();this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,In(()=>{this._connected||(jr(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let s=0;s{for(const r of s)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=s=>{const{props:r,styles:o}=s,i=!D(r),l=r?i?Object.keys(r):r:[];let c;if(i)for(const a in this._props){const f=r[a];(f===Number||f&&f.type===Number)&&(this._props[a]=it(this._props[a]),(c||(c=Object.create(null)))[a]=!0)}this._numberProps=c;for(const a of Object.keys(this))a[0]!=="_"&&this._setProp(a,this[a],!0,!1);for(const a of l.map(Se))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(f){this._setProp(a,f)}});this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=it(n)),this._setProp(Se(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(Ve(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ve(t),n+""):n||this.removeAttribute(Ve(t))))}_update(){jr(this._createVNode(),this.shadowRoot)}_createVNode(){const t=F(this._def,fe({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(r,...o)=>{this.dispatchEvent(new CustomEvent(r,{detail:o}))};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof ks){n.parent=s._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}function Qu(e="$style"){{const t=pt();if(!t)return te;const n=t.type.__cssModules;if(!n)return te;const s=n[e];return s||te}}function Gu(e){const t=pt();if(!t)return;const n=()=>Br(t.subTree,e(t.proxy));Di(n),Ue(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),At(()=>s.disconnect())})}function Br(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Br(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)el(e.el,t);else if(e.type===se)e.children.forEach(n=>Br(n,t));else if(e.type===St){let{el:n,anchor:s}=e;for(;n&&(el(n,t),n!==s);)n=n.nextSibling}}function el(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const vt="transition",Nn="animation",tn=(e,{slots:t})=>Ye(lr,sl(e),t);tn.displayName="Transition";const tl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ef=tn.props=fe({},lr.props,tl),It=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},nl=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function sl(e){const t={};for(const A in e)A in tl||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:a=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,x=tf(r),L=x&&x[0],m=x&&x[1],{onBeforeEnter:b,onEnter:g,onEnterCancelled:w,onLeave:v,onLeaveCancelled:R,onBeforeAppear:N=b,onAppear:T=g,onAppearCancelled:I=w}=t,O=(A,Y,re)=>{Mt(A,Y?f:l),Mt(A,Y?a:i),re&&re()},K=(A,Y)=>{Mt(A,y),Mt(A,p),Y&&Y()},W=A=>(Y,re)=>{const Ft=A?T:g,be=()=>O(Y,A,re);It(Ft,[Y,be]),rl(()=>{Mt(Y,A?c:o),nt(Y,A?f:l),nl(Ft)||ol(Y,s,L,be)})};return fe(t,{onBeforeEnter(A){It(b,[A]),nt(A,o),nt(A,i)},onBeforeAppear(A){It(N,[A]),nt(A,c),nt(A,a)},onEnter:W(!1),onAppear:W(!0),onLeave(A,Y){const re=()=>K(A,Y);nt(A,h),al(),nt(A,p),rl(()=>{Mt(A,h),nt(A,y),nl(v)||ol(A,s,m,re)}),It(v,[A,re])},onEnterCancelled(A){O(A,!1),It(w,[A])},onAppearCancelled(A){O(A,!0),It(I,[A])},onLeaveCancelled(A){K(A),It(R,[A])}})}function tf(e){if(e==null)return null;if(he(e))return[Dr(e.enter),Dr(e.leave)];{const t=Dr(e);return[t,t]}}function Dr(e){return it(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function rl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nf=0;function ol(e,t,n,s){const r=e._endId=++nf,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=il(e,t);if(!i)return s();const a=i+"end";let f=0;const h=()=>{e.removeEventListener(a,p),o()},p=y=>{y.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[x]||"").split(", "),r=s(vt+"Delay"),o=s(vt+"Duration"),i=ll(r,o),l=s(Nn+"Delay"),c=s(Nn+"Duration"),a=ll(l,c);let f=null,h=0,p=0;t===vt?i>0&&(f=vt,h=i,p=o.length):t===Nn?a>0&&(f=Nn,h=a,p=c.length):(h=Math.max(i,a),f=h>0?i>a?vt:Nn:null,p=f?f===vt?o.length:c.length:0);const y=f===vt&&/\b(transform|all)(,|$)/.test(n[vt+"Property"]);return{type:f,timeout:h,propCount:p,hasTransform:y}}function ll(e,t){for(;e.lengthcl(n)+cl(e[s])))}function cl(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function al(){return document.body.offsetHeight}const ul=new WeakMap,fl=new WeakMap,sf={name:"TransitionGroup",props:fe({},ef,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=pt(),s=ir();let r,o;return Cn(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!cf(r[0].el,n.vnode.el,i))return;r.forEach(rf),r.forEach(of);const l=r.filter(lf);al(),l.forEach(c=>{const a=c.el,f=a.style;nt(a,i),f.transform=f.webkitTransform=f.transitionDuration="";const h=a._moveCb=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",h),a._moveCb=null,Mt(a,i))};a.addEventListener("transitionend",h)})}),()=>{const i=Q(e),l=sl(i);let c=i.tag||se;r=o,o=t.default?as(t.default()):[];for(let a=0;a{i.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=il(s);return r.removeChild(s),o}const bt=e=>{const t=e.props["onUpdate:modelValue"];return D(t)?n=>jt(t,n):t};function af(e){e.target.composing=!0}function hl(e){const t=e.target;t.composing&&(t.composing=!1,uf(t,"input"))}function uf(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const Ts={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=bt(r);const o=s||r.props&&r.props.type==="number";tt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n?l=l.trim():o&&(l=it(l)),e._assign(l)}),n&&tt(e,"change",()=>{e.value=e.value.trim()}),t||(tt(e,"compositionstart",af),tt(e,"compositionend",hl),tt(e,"change",hl))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=bt(o),e.composing||document.activeElement===e&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&it(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Hr={deep:!0,created(e,t,n){e._assign=bt(n),tt(e,"change",()=>{const s=e._modelValue,r=nn(e),o=e.checked,i=e._assign;if(D(s)){const l=Vn(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const a=[...s];a.splice(l,1),i(a)}}else if(yt(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(_l(e,o))})},mounted:pl,beforeUpdate(e,t,n){e._assign=bt(n),pl(e,t,n)}};function pl(e,{value:t,oldValue:n},s){e._modelValue=t,D(t)?e.checked=Vn(t,s.props.value)>-1:yt(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=ot(t,_l(e,!0)))}const Ur={created(e,{value:t},n){e.checked=ot(t,n.props.value),e._assign=bt(n),tt(e,"change",()=>{e._assign(nn(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=bt(s),t!==n&&(e.checked=ot(t,s.props.value))}},ml={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=yt(t);tt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?it(nn(i)):nn(i));e._assign(e.multiple?r?new Set(o):o:o[0])}),e._assign=bt(s)},mounted(e,{value:t}){gl(e,t)},beforeUpdate(e,t,n){e._assign=bt(n)},updated(e,{value:t}){gl(e,t)}};function gl(e,t){const n=e.multiple;if(!(n&&!D(t)&&!yt(t))){for(let s=0,r=e.options.length;s-1:o.selected=t.has(i);else if(ot(nn(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function nn(e){return"_value"in e?e._value:e.value}function _l(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ff={created(e,t,n){As(e,t,n,null,"created")},mounted(e,t,n){As(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){As(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){As(e,t,n,s,"updated")}};function As(e,t,n,s,r){let o;switch(e.tagName){case"SELECT":o=ml;break;case"TEXTAREA":o=Ts;break;default:switch(n.props&&n.props.type){case"checkbox":o=Hr;break;case"radio":o=Ur;break;default:o=Ts}}const i=o[r];i&&i(e,t,n,s)}function df(){Ts.getSSRProps=({value:e})=>({value:e}),Ur.getSSRProps=({value:e},t)=>{if(t.props&&ot(t.props.value,e))return{checked:!0}},Hr.getSSRProps=({value:e},t)=>{if(D(e)){if(t.props&&Vn(e,t.props.value)>-1)return{checked:!0}}else if(yt(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}}}const hf=["ctrl","shift","alt","meta"],pf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>hf.some(n=>e[`${n}Key`]&&!t.includes(n))},vl=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=Ve(n.key);if(t.some(r=>r===s||mf[r]===s))return e(n)},$s={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):On(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),On(e,!0),s.enter(e)):s.leave(e,()=>{On(e,!1)}):On(e,t))},beforeUnmount(e,{value:t}){On(e,t)}};function On(e,t){e.style.display=t?e._vod:"none"}function _f(){$s.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const bl=fe({patchProp:Ju},Mu);let Bn,yl=!1;function xl(){return Bn||(Bn=mi(bl))}function wl(){return Bn=yl?Bn:gi(bl),yl=!0,Bn}const jr=(...e)=>{xl().render(...e)},Cl=(...e)=>{wl().hydrate(...e)},El=(...e)=>{const t=xl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Tl(s);if(!r)return;const o=t._component;!q(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},kl=(...e)=>{const t=wl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Tl(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Tl(e){return de(e)?document.querySelector(e):e}let Al=!1;const vf=()=>{Al||(Al=!0,df(),_f())},bf=()=>{};var Sp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",compile:bf,EffectScope:Vs,ReactiveEffect:pn,computed:X,customRef:ia,effect:$c,effectScope:Cc,getCurrentScope:Ec,isProxy:Zs,isReactive:Et,isReadonly:rs,isRef:ve,markRaw:Kt,onScopeDispose:kc,proxyRefs:er,reactive:mn,readonly:ns,ref:pe,shallowReactive:Io,shallowReadonly:ta,shallowRef:Mo,stop:Pc,toRaw:Q,toRef:No,toRefs:_n,triggerRef:sa,unref:H,camelize:Se,capitalize:an,normalizeClass:Te,normalizeProps:pc,normalizeStyle:on,toDisplayString:Ae,toHandlerKey:un,BaseTransition:lr,Comment:Ee,Fragment:se,KeepAlive:Ea,Static:St,Suspense:_a,Teleport:Va,Text:Jt,callWithAsyncErrorHandling:Me,callWithErrorHandling:Je,cloneVNode:dt,compatUtils:Lu,createBlock:ke,createCommentVNode:me,createElementBlock:Z,createElementVNode:z,createHydrationRenderer:gi,createPropsRestProxy:Eu,createRenderer:mi,createSlots:Xa,createStaticVNode:Ya,createTextVNode:Xt,createVNode:F,defineAsyncComponent:Wo,defineComponent:ae,defineEmits:bu,defineExpose:yu,defineProps:vu,get devtools(){return Wt},getCurrentInstance:pt,getTransitionRawChildren:as,guardReactiveProps:Ei,h:Ye,handleError:Rt,initCustomFormatter:Au,inject:kt,isMemoSame:Ki,isRuntimeOnly:su,isVNode:ft,mergeDefaults:Cu,mergeProps:Zt,nextTick:In,onActivated:qo,onBeforeMount:Yo,onBeforeUnmount:En,onBeforeUpdate:Xo,onDeactivated:zo,onErrorCaptured:ei,onMounted:Ue,onRenderTracked:Go,onRenderTriggered:Qo,onServerPrefetch:Zo,onUnmounted:At,onUpdated:Cn,openBlock:V,popScopeId:sr,provide:jo,pushScopeId:nr,queuePostFlushCb:Ir,registerRuntimeCompiler:nu,renderList:An,renderSlot:le,resolveComponent:ms,resolveDirective:qa,resolveDynamicComponent:Wa,resolveFilter:Ru,resolveTransitionHooks:zt,setBlockTracking:wr,setDevtoolsHook:Oo,setTransitionHooks:Tt,ssrContextKey:Vi,ssrUtils:Su,toHandlers:Za,transformVNodeArgs:za,useAttrs:wu,useSSRContext:Tu,useSlots:Cs,useTransitionState:ir,version:Wi,warn:Li,watch:xe,watchEffect:Bi,watchPostEffect:Di,watchSyncEffect:gu,withAsyncContext:ku,withCtx:we,withDefaults:xu,withDirectives:gr,withMemo:$u,withScopeId:ua,Transition:tn,TransitionGroup:dl,VueElement:ks,createApp:El,createSSRApp:kl,defineCustomElement:Gi,defineSSRCustomElement:Xu,hydrate:Cl,initDirectivesForSSR:vf,render:jr,useCssModule:Qu,useCssVars:Gu,vModelCheckbox:Hr,vModelDynamic:ff,vModelRadio:Ur,vModelSelect:ml,vModelText:Ts,vShow:$s,withKeys:gf,withModifiers:vl}),yf='{"lang":"en-US","title":"Vue Carousel","description":"A VitePress site","base":"/vue-carousel/","head":[],"themeConfig":{"sidebar":{"/":[{"text":"\u5FEB\u901F\u5F00\u59CB","link":"/"},{"text":"\u7279\u6027","children":[{"text":"\u57FA\u672C\u7528\u6CD5","link":"/features/basic/"},{"text":"\u81EA\u52A8\u64AD\u653E","link":"/features/autoplay/"},{"text":"\u6398\u91D1\u6D3B\u52A8","link":"/features/juejin-events/"},{"text":"\u6307\u793A\u5668\u4F4D\u7F6E","link":"/features/indicator-position/"},{"text":"\u81EA\u5B9A\u4E49\u6307\u793A\u5668","link":"/features/custom-indicator/"},{"text":"\u5206\u9875\u5668\u4F4D\u7F6E","link":"/features/pagination-position/"},{"text":"\u81EA\u5B9A\u4E49\u5206\u9875\u5668","link":"/features/custom-pagination/"},{"text":"\u624B\u98CE\u7434\u5F0F\u6298\u53E0\u5361\u7247","link":"/features/collapse-card/"},{"text":"\u534E\u4E3A","link":"/features/huawei-events/"},{"text":"B\u7AD9","link":"/features/bilibili-events/"},{"text":"QQ\u97F3\u4E50","link":"/features/qqmusic/"},{"text":"LeetCode","link":"/features/leetcode-card/"}]}]},"nav":[{"text":"Github","link":"https://github.com/kagol/vue-carousel"}],"logo":"/assets/logo.svg"},"locales":{},"langs":{}}';const $l=/^https?:/i,Be=typeof window!="undefined";function xf(e,t){t.sort((n,s)=>{const r=s.split("/").length-n.split("/").length;return r!==0?r:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function Pl(e,t){const n=xf(t,Object.keys(e));return n?e[n]:void 0}function wf(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,r)=>(s[r]={label:t[r].label,lang:n[r].lang},s),{}):{}}function Cf(e,t){t=Ef(e,t);const n=Pl(e.locales||{},t),s=Pl(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:wf(e)})}function Ef(e,t){if(!Be)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}const Sl=Symbol(),Vr=Mo(kf(yf));function kf(e){return ns(JSON.parse(e))}function Tf(e){const t=X(()=>Cf(Vr.value,e.path));return{site:t,theme:X(()=>t.value.themeConfig),page:X(()=>e.data),frontmatter:X(()=>e.data.frontmatter),lang:X(()=>t.value.lang),localePath:X(()=>{const{langs:n,lang:s}=t.value,r=Object.keys(n).find(o=>n[o].lang===s);return Dn(r||"/")}),title:X(()=>e.data.title?e.data.title+" | "+t.value.title:t.value.title),description:X(()=>e.data.description||t.value.description)}}function Ne(){const e=kt(Sl);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Af(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Dn(e){return $l.test(e)?e:Af(Vr.value.base,e)}function Rl(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Be){const n="/vue-carousel/";t=t.slice(n.length).replace(/\//g,"_")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${t.slice(1).replace(/\//g,"_")}.md.js`;return t}const Ll=Symbol(),Il="http://a.com",$f=()=>({path:"/",component:null,data:{frontmatter:{}}});function Pf(e,t){const n=mn($f());function s(i=Be?location.href:"/"){const l=new URL(i,Il);return!l.pathname.endsWith("/")&&!l.pathname.endsWith(".html")&&(l.pathname+=".html",i=l.pathname+l.search+l.hash),Be&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",i)),o(i)}let r=null;async function o(i,l=0){const c=new URL(i,Il),a=r=c.pathname;try{let f=e(a);if("then"in f&&typeof f.then=="function"&&(f=await f),r===a){r=null;const{default:h,__pageData:p}=f;if(!h)throw new Error(`Invalid route component: ${h}`);n.path=a,n.component=Kt(h),n.data=Kt(JSON.parse(p)),Be&&In(()=>{if(c.hash&&!l){let y=null;try{y=document.querySelector(decodeURIComponent(c.hash))}catch(x){console.warn(x)}if(y){Ml(y,c.hash);return}}window.scrollTo(0,l)})}}catch(f){f.message.match(/fetch/)||console.error(f),r===a&&(r=null,n.path=a,n.component=t?Kt(t):null)}}return Be&&(window.addEventListener("click",i=>{const l=i.target.closest("a");if(l){const{href:c,protocol:a,hostname:f,pathname:h,hash:p,target:y}=l,x=window.location,L=h.match(/\.\w+$/);!i.ctrlKey&&!i.shiftKey&&!i.altKey&&!i.metaKey&&y!=="_blank"&&a===x.protocol&&f===x.hostname&&!(L&&L[0]!==".html")&&(i.preventDefault(),h===x.pathname?p&&p!==x.hash&&(history.pushState(null,"",p),window.dispatchEvent(new Event("hashchange")),Ml(l,p,l.classList.contains("header-anchor"))):s(c))}},{capture:!0}),window.addEventListener("popstate",i=>{o(location.href,i.state&&i.state.scrollPosition||0)}),window.addEventListener("hashchange",i=>{i.preventDefault()})),{route:n,go:s}}function Sf(){const e=kt(Ll);if(!e)throw new Error("useRouter() is called without provider.");return e}function st(){return Sf().route}function Ml(e,t,n=!1){let s=null;try{s=e.classList.contains(".header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(r){console.warn(r)}if(s){const r=s.offsetTop;!n||Math.abs(r-window.scrollY)>window.innerHeight?window.scrollTo(0,r):window.scrollTo({left:0,top:r,behavior:"smooth"})}}function Rf(e,t){let n=[],s=!0;const r=o=>{if(s){s=!1;return}const i=[],l=Math.min(n.length,o.length);for(let c=0;cdocument.head.removeChild(c)),o.slice(l).forEach(c=>{const a=Fl(c);document.head.appendChild(a),i.push(a)}),n=i};Bi(()=>{const o=e.data,i=t.value,l=o&&o.title,c=o&&o.description,a=o&&o.frontmatter.head;document.title=(l?l+" | ":"")+i.title,document.querySelector("meta[name=description]").setAttribute("content",c||i.description),r([...a?If(a):[]])})}function Fl([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function Lf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function If(e){return e.filter(t=>!Lf(t))}const Mf=ae({name:"VitePressContent",setup(){const e=st();return()=>Ye("div",{style:{position:"relative"}},[e.component?Ye(e.component):null])}});var _e=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const Ff=/#.*$/,Nf=/(index)?\.(md|html)$/,Ps=/\/$/,Of=/^[a-z]+:/i;function Kr(e){return Array.isArray(e)}function Wr(e){return Of.test(e)}function Bf(e,t){if(t===void 0)return!1;const n=Nl(`/${e.data.relativePath}`),s=Nl(t);return n===s}function Nl(e){return decodeURI(e).replace(Ff,"").replace(Nf,"")}function Df(e,t){const n=e.endsWith("/"),s=t.startsWith("/");return n&&s?e.slice(0,-1)+t:!n&&!s?`${e}/${t}`:e+t}function qr(e){return/^\//.test(e)?e:`/${e}`}function Ol(e){return e.replace(/(index)?(\.(md|html))?$/,"")||"/"}function Hf(e){return e===!1||e==="auto"||Kr(e)}function Uf(e){return e.children!==void 0}function jf(e){return Kr(e)?e.length===0:!e}function zr(e,t){if(Hf(e))return e;t=qr(t);for(const n in e)if(t.startsWith(qr(n)))return e[n];return"auto"}function Bl(e){return e.reduce((t,n)=>(n.link&&t.push({text:n.text,link:Ol(n.link)}),Uf(n)&&(t=[...t,...Bl(n.children)]),t),[])}const Vf=["href","aria-label"],Kf=["src"],Wf=ae({setup(e){const{site:t,theme:n,localePath:s}=Ne();return(r,o)=>(V(),Z("a",{class:"nav-bar-title",href:H(s),"aria-label":`${H(t).title}, back to home`},[H(n).logo?(V(),Z("img",{key:0,class:"logo",src:H(Dn)(H(n).logo),alt:"Logo"},null,8,Kf)):me("",!0),Xt(" "+Ae(H(t).title),1)],8,Vf))}});var qf=_e(Wf,[["__scopeId","data-v-cc01ef16"]]);function zf(){const{site:e,localePath:t,theme:n}=Ne();return X(()=>{const s=e.value.langs,r=Object.keys(s);if(r.length<2)return null;const i=st().path.replace(t.value,""),l=r.map(a=>({text:s[a].label,link:`${a}${i}`}));return{text:n.value.selectText||"Languages",items:l}})}const Jf=["GitHub","GitLab","Bitbucket"].map(e=>[e,new RegExp(e,"i")]);function Yf(){const{site:e}=Ne();return X(()=>{const t=e.value.themeConfig,n=t.docsRepo||t.repo;if(!n)return null;const s=Xf(n);return{text:Zf(s,t.repoLabel),link:s}})}function Xf(e){return $l.test(e)?e:`https://github.com/${e}`}function Zf(e,t){if(t)return t;const n=e.match(/^https?:\/\/[^/]+/);if(!n)return"Source";const s=Jf.find(([r,o])=>o.test(n[0]));return s&&s[0]?s[0]:"Source"}function Dl(e){const t=st(),n=Wr(e.value.link);return{props:X(()=>{const r=Hl(`/${t.data.relativePath}`);let o=!1;if(e.value.activeMatch)o=new RegExp(e.value.activeMatch).test(r);else{const i=Hl(e.value.link);o=i==="/"?i===r:r.startsWith(i)}return{class:{active:o,isExternal:n},href:n?e.value.link:Dn(e.value.link),target:e.value.target||(n?"_blank":null),rel:e.value.rel||(n?"noopener noreferrer":null),"aria-label":e.value.ariaLabel}}),isExternal:n}}function Hl(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\.(html|md)$/,"").replace(/\/index$/,"/")}const Qf={},Gf={class:"icon outbound",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},ed=z("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"},null,-1),td=z("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"},null,-1),nd=[ed,td];function sd(e,t){return V(),Z("svg",Gf,nd)}var Jr=_e(Qf,[["render",sd]]);const rd={class:"nav-link"},od=ae({props:{item:null},setup(e){const n=_n(e),{props:s,isExternal:r}=Dl(n.item);return(o,i)=>(V(),Z("div",rd,[z("a",Zt({class:"item"},H(s)),[Xt(Ae(e.item.text)+" ",1),H(r)?(V(),ke(Jr,{key:0})):me("",!0)],16)]))}});var Ul=_e(od,[["__scopeId","data-v-b8818f8c"]]);const id=e=>(nr("data-v-bbc27490"),e=e(),sr(),e),ld={class:"nav-dropdown-link-item"},cd=id(()=>z("span",{class:"arrow"},null,-1)),ad={class:"text"},ud={class:"icon"},fd=ae({props:{item:null},setup(e){const n=_n(e),{props:s,isExternal:r}=Dl(n.item);return(o,i)=>(V(),Z("div",ld,[z("a",Zt({class:"item"},H(s)),[cd,z("span",ad,Ae(e.item.text),1),z("span",ud,[H(r)?(V(),ke(Jr,{key:0})):me("",!0)])],16)]))}});var dd=_e(fd,[["__scopeId","data-v-bbc27490"]]);const hd=["aria-label"],pd={class:"button-text"},md={class:"dialog"},gd=ae({props:{item:null},setup(e){const t=st(),n=pe(!1);xe(()=>t.path,()=>{n.value=!1});function s(){n.value=!n.value}return(r,o)=>(V(),Z("div",{class:Te(["nav-dropdown-link",{open:n.value}])},[z("button",{class:"button","aria-label":e.item.ariaLabel,onClick:s},[z("span",pd,Ae(e.item.text),1),z("span",{class:Te(["button-arrow",n.value?"down":"right"])},null,2)],8,hd),z("ul",md,[(V(!0),Z(se,null,An(e.item.items,i=>(V(),Z("li",{key:i.text,class:"dialog-item"},[F(dd,{item:i},null,8,["item"])]))),128))])],2))}});var jl=_e(gd,[["__scopeId","data-v-56bf3a3f"]]);const _d={key:0,class:"nav-links"},vd={key:1,class:"item"},bd={key:2,class:"item"},yd=ae({setup(e){const{theme:t}=Ne(),n=zf(),s=Yf(),r=X(()=>t.value.nav||s.value||n.value);return(o,i)=>H(r)?(V(),Z("nav",_d,[H(t).nav?(V(!0),Z(se,{key:0},An(H(t).nav,l=>(V(),Z("div",{key:l.text,class:"item"},[l.items?(V(),ke(jl,{key:0,item:l},null,8,["item"])):(V(),ke(Ul,{key:1,item:l},null,8,["item"]))]))),128)):me("",!0),H(n)?(V(),Z("div",vd,[F(jl,{item:H(n)},null,8,["item"])])):me("",!0),H(s)?(V(),Z("div",bd,[F(Ul,{item:H(s)},null,8,["item"])])):me("",!0)])):me("",!0)}});var Vl=_e(yd,[["__scopeId","data-v-eab3edfe"]]);const xd={emits:["toggle"]},wd=z("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"},[z("path",{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z",class:""})],-1),Cd=[wd];function Ed(e,t,n,s,r,o){return V(),Z("div",{class:"sidebar-button",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},Cd)}var kd=_e(xd,[["render",Ed]]);const Td=e=>(nr("data-v-675d8756"),e=e(),sr(),e),Ad={class:"nav-bar"},$d=Td(()=>z("div",{class:"flex-grow"},null,-1)),Pd={class:"nav"},Sd=ae({emits:["toggle"],setup(e){return(t,n)=>(V(),Z("header",Ad,[F(kd,{onToggle:n[0]||(n[0]=s=>t.$emit("toggle"))}),F(qf),$d,z("div",Pd,[F(Vl)]),le(t.$slots,"search",{},void 0,!0)]))}});var Rd=_e(Sd,[["__scopeId","data-v-675d8756"]]);function Ld(){let e=null,t=null;const n=Od(s,300);function s(){const i=Id(),l=Md(i);for(let c=0;c ul > li");l&&l!==t.parentElement?(e=l.querySelector("a"),e&&e.classList.add("active")):e=null}function o(i){i&&i.classList.remove("active")}Ue(()=>{s(),window.addEventListener("scroll",n)}),Cn(()=>{r(decodeURIComponent(location.hash))}),At(()=>{window.removeEventListener("scroll",n)})}function Id(){return[].slice.call(document.querySelectorAll(".sidebar a.sidebar-link-item"))}function Md(e){return[].slice.call(document.querySelectorAll(".header-anchor")).filter(t=>e.some(n=>n.hash===t.hash))}function Fd(){return document.querySelector(".nav-bar").offsetHeight}function Kl(e){const t=Fd();return e.parentElement.offsetTop-t-15}function Nd(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Bd(){const e=st(),{site:t}=Ne();return Ld(),X(()=>{const n=e.data.headers,s=e.data.frontmatter.sidebar,r=e.data.frontmatter.sidebarDepth;if(s===!1)return[];if(s==="auto")return Wl(n,r);const o=zr(t.value.themeConfig.sidebar,e.data.relativePath);return o===!1?[]:o==="auto"?Wl(n,r):o})}function Wl(e,t){const n=[];if(e===void 0)return[];let s;return e.forEach(({level:r,title:o,slug:i})=>{if(r-1>t)return;const l={text:o,link:`#${i}`};r===2?(s=l,n.push(l)):s&&(s.children||(s.children=[])).push(l)}),n}const ql=e=>{const t=st(),{site:n,frontmatter:s}=Ne(),r=e.depth||1,o=s.value.sidebarDepth||1/0,i=t.data.headers,l=e.item.text,c=Dd(n.value.base,e.item.link),a=e.item.children,f=Bf(t,e.item.link),h=r0?Ye("ul",{class:"sidebar-links"},t.map(r=>Ye(ql,{item:r,depth:s}))):e&&n?zl(!1,Hd(n),void 0,s):null}function Hd(e){return Jl(Ud(e))}function Ud(e){e=e.map(n=>Object.assign({},n));let t;return e.forEach(n=>{n.level===2?t=n:t&&(t.children||(t.children=[])).push(n)}),e.filter(n=>n.level===2)}function Jl(e){return e.map(t=>({text:t.title,link:`#${t.slug}`,children:t.children?Jl(t.children):void 0}))}const jd={key:0,class:"sidebar-links"},Vd=ae({setup(e){const t=Bd();return(n,s)=>H(t).length>0?(V(),Z("ul",jd,[(V(!0),Z(se,null,An(H(t),r=>(V(),ke(H(ql),{item:r},null,8,["item"]))),256))])):me("",!0)}});const Kd=ae({props:{open:{type:Boolean}},setup(e){return(t,n)=>(V(),Z("aside",{class:Te(["sidebar",{open:e.open}])},[F(Vl,{class:"nav"}),le(t.$slots,"sidebar-top",{},void 0,!0),F(Vd),le(t.$slots,"sidebar-bottom",{},void 0,!0)],2))}});var Wd=_e(Kd,[["__scopeId","data-v-83e92a68"]]);const qd=/bitbucket.org/;function zd(){const{page:e,theme:t,frontmatter:n}=Ne(),s=X(()=>{const{repo:o,docsDir:i="",docsBranch:l="master",docsRepo:c=o,editLinks:a}=t.value,f=n.value.editLink!=null?n.value.editLink:a,{relativePath:h}=e.value;return!f||!h||!o?null:Jd(o,c,i,l,h)}),r=X(()=>t.value.editLinkText||"Edit this page");return{url:s,text:r}}function Jd(e,t,n,s,r){return qd.test(e)?Xd(e,t,n,s,r):Yd(e,t,n,s,r)}function Yd(e,t,n,s,r){return(Wr(t)?t:`https://github.com/${t}`).replace(Ps,"")+`/edit/${s}/`+(n?n.replace(Ps,"")+"/":"")+r}function Xd(e,t,n,s,r){return(Wr(t)?t:e).replace(Ps,"")+`/src/${s}/`+(n?n.replace(Ps,"")+"/":"")+r+`?mode=edit&spa=0&at=${s}&fileviewer=file-view-default`}const Zd={class:"edit-link"},Qd=["href"],Gd=ae({setup(e){const{url:t,text:n}=zd();return(s,r)=>(V(),Z("div",Zd,[H(t)?(V(),Z("a",{key:0,class:"link",href:H(t),target:"_blank",rel:"noopener noreferrer"},[Xt(Ae(H(n))+" ",1),F(Jr,{class:"icon"})],8,Qd)):me("",!0)]))}});var eh=_e(Gd,[["__scopeId","data-v-1ed99556"]]);const th={key:0,class:"last-updated"},nh={class:"prefix"},sh={class:"datetime"},rh=ae({setup(e){const{theme:t,page:n}=Ne(),s=X(()=>{const i=t.value.lastUpdated;return i!==void 0&&i!==!1}),r=X(()=>{const i=t.value.lastUpdated;return i===!0?"Last Updated":i}),o=pe("");return Ue(()=>{o.value=new Date(n.value.lastUpdated).toLocaleString("en-US")}),(i,l)=>H(s)?(V(),Z("p",th,[z("span",nh,Ae(H(r))+":",1),z("span",sh,Ae(o.value),1)])):me("",!0)}});var oh=_e(rh,[["__scopeId","data-v-5797b537"]]);const ih={class:"page-footer"},lh={class:"edit"},ch={class:"updated"},ah=ae({setup(e){return(t,n)=>(V(),Z("footer",ih,[z("div",lh,[F(eh)]),z("div",ch,[F(oh)])]))}});var uh=_e(ah,[["__scopeId","data-v-fb8d84c6"]]);function fh(){const{page:e,theme:t}=Ne(),n=X(()=>Ol(qr(e.value.relativePath))),s=X(()=>{const c=zr(t.value.sidebar,n.value);return Kr(c)?Bl(c):[]}),r=X(()=>s.value.findIndex(c=>c.link===n.value)),o=X(()=>{if(t.value.nextLinks!==!1&&r.value>-1&&r.value{if(t.value.prevLinks!==!1&&r.value>0)return s.value[r.value-1]}),l=X(()=>!!o.value||!!i.value);return{next:o,prev:i,hasLinks:l}}const dh={},hh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},ph=z("path",{d:"M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"},null,-1),mh=[ph];function gh(e,t){return V(),Z("svg",hh,mh)}var _h=_e(dh,[["render",gh]]);const vh={},bh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},yh=z("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),xh=[yh];function wh(e,t){return V(),Z("svg",bh,xh)}var Ch=_e(vh,[["render",wh]]);const Eh={key:0,class:"next-and-prev-link"},kh={class:"container"},Th={class:"prev"},Ah=["href"],$h={class:"text"},Ph={class:"next"},Sh=["href"],Rh={class:"text"},Lh=ae({setup(e){const{hasLinks:t,prev:n,next:s}=fh();return(r,o)=>H(t)?(V(),Z("div",Eh,[z("div",kh,[z("div",Th,[H(n)?(V(),Z("a",{key:0,class:"link",href:H(Dn)(H(n).link)},[F(_h,{class:"icon icon-prev"}),z("span",$h,Ae(H(n).text),1)],8,Ah)):me("",!0)]),z("div",Ph,[H(s)?(V(),Z("a",{key:0,class:"link",href:H(Dn)(H(s).link)},[z("span",Rh,Ae(H(s).text),1),F(Ch,{class:"icon icon-next"})],8,Sh)):me("",!0)])])])):me("",!0)}});var Ih=_e(Lh,[["__scopeId","data-v-38ede35f"]]);const Mh={class:"page"},Fh={class:"container"},Nh=ae({setup(e){return(t,n)=>{const s=ms("Content");return V(),Z("main",Mh,[z("div",Fh,[le(t.$slots,"top",{},void 0,!0),F(s,{class:"content"}),F(uh),F(Ih),le(t.$slots,"bottom",{},void 0,!0)])])}}});var Oh=_e(Nh,[["__scopeId","data-v-7eddb2c4"]]);const Bh={key:0,id:"ads-container"},Dh=ae({setup(e){const t=Wo(()=>import("./Home.e40c3557.js")),n=()=>null,s=n,r=n,o=n,i=st(),{site:l,page:c,theme:a,frontmatter:f}=Ne(),h=X(()=>!!f.value.customLayout),p=X(()=>!!f.value.home),y=X(()=>Object.keys(l.value.langs).length>1),x=X(()=>{const v=a.value;return f.value.navbar===!1||v.navbar===!1?!1:l.value.title||v.logo||v.repo||v.nav}),L=pe(!1),m=X(()=>f.value.home||f.value.sidebar===!1?!1:!jf(zr(a.value.sidebar,i.data.relativePath))),b=v=>{L.value=typeof v=="boolean"?v:!L.value},g=b.bind(null,!1);xe(i,g);const w=X(()=>[{"no-navbar":!x.value,"sidebar-open":L.value,"no-sidebar":!m.value}]);return(v,R)=>{const N=ms("Content"),T=ms("Debug");return V(),Z(se,null,[z("div",{class:Te(["theme",H(w)])},[H(x)?(V(),ke(Rd,{key:0,onToggle:b},{search:we(()=>[le(v.$slots,"navbar-search",{},()=>[H(a).algolia?(V(),ke(H(o),{key:0,options:H(a).algolia,multilang:H(y)},null,8,["options","multilang"])):me("",!0)])]),_:3})):me("",!0),F(Wd,{open:L.value},{"sidebar-top":we(()=>[le(v.$slots,"sidebar-top")]),"sidebar-bottom":we(()=>[le(v.$slots,"sidebar-bottom")]),_:3},8,["open"]),z("div",{class:"sidebar-mask",onClick:R[0]||(R[0]=I=>b(!1))}),H(h)?(V(),ke(N,{key:1})):H(p)?le(v.$slots,"home",{key:2},()=>[F(H(t),null,{hero:we(()=>[le(v.$slots,"home-hero")]),features:we(()=>[le(v.$slots,"home-features")]),footer:we(()=>[le(v.$slots,"home-footer")]),_:3})]):(V(),ke(Oh,{key:3},{top:we(()=>[le(v.$slots,"page-top-ads",{},()=>[H(a).carbonAds&&H(a).carbonAds.carbon?(V(),Z("div",Bh,[(V(),ke(H(s),{key:"carbon"+H(c).relativePath,code:H(a).carbonAds.carbon,placement:H(a).carbonAds.placement},null,8,["code","placement"]))])):me("",!0)]),le(v.$slots,"page-top")]),bottom:we(()=>[le(v.$slots,"page-bottom"),le(v.$slots,"page-bottom-ads",{},()=>[H(a).carbonAds&&H(a).carbonAds.custom?(V(),ke(H(r),{key:"custom"+H(c).relativePath,code:H(a).carbonAds.custom,placement:H(a).carbonAds.placement},null,8,["code","placement"])):me("",!0)])]),_:3}))],2),F(T)],64)}}}),Hh={class:"theme"},Uh=z("h1",null,"404",-1),jh=["href"],Vh=ae({setup(e){const{site:t}=Ne(),n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."];function s(){return n[Math.floor(Math.random()*n.length)]}return(r,o)=>(V(),Z("div",Hh,[Uh,z("blockquote",null,Ae(s()),1),z("a",{href:H(t).base,"aria-label":"go to home"},"Take me home.",8,jh)]))}}),Kh={Layout:Dh,NotFound:Vh};function Yr(e=1){const t=pe(e),n=i=>{t.value=i},s=i=>{t.value+=i};return{pageIndex:t,setPageIndex:n,jumpPage:s,prevPage:()=>s(-1),nextPage:()=>s(1)}}var Ss=ae({name:"DCarouselIndicator",props:{modelValue:{type:Number},count:{type:Number}},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{modelValue:s}=_n(e),{pageIndex:r,setPageIndex:o}=Yr(s.value),i=Array.from(new Array(e.count).keys());return xe(s,l=>{r.value=l}),xe(r,l=>{t("update:modelValue",l)}),()=>F("div",{class:"devui-carousel-indicator"},[n.default?n.default({pageIndex:r.value,setPageIndex:o}):i.map((l,c)=>F("div",{class:`devui-carousel-indicator-item${r.value===c+1?" active":""}`,onClick:()=>o(c+1)},null))])}}),Wh=()=>F("svg",{"_ngcontent-jai-c250":"",width:"18px",height:"18px",viewBox:"0 0 16 16",version:"1.1"},[F("g",{"_ngcontent-jai-c250":"",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[F("polygon",{"_ngcontent-jai-c250":"",fill:"#293040","fill-rule":"nonzero",points:"10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"},null)])]);var Rs=ae({name:"DCarouselPrev",setup(e,{slots:t,attrs:n}){return()=>F(se,null,[t.default?le(t,"default"):F(se,null,[F("div",Zt({class:"devui-arrow devui-arrow-left"},n),[F(Wh,null,null)])])])}}),qh=()=>F("svg",{"_ngcontent-jai-c250":"",width:"18px",height:"18px",viewBox:"0 0 16 16",version:"1.1"},[F("g",{"_ngcontent-jai-c250":"",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[F("polygon",{"_ngcontent-jai-c250":"",fill:"#293040","fill-rule":"nonzero",transform:"translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000) ",points:"11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"},null)])]);var Ls=ae({name:"DCarouselNext",setup(e,{slots:t,attrs:n}){return()=>F(se,null,[t.default?le(t,"default"):F(se,null,[F("div",Zt({class:"devui-arrow devui-arrow-right"},n),[F(qh,null,null)])])])}});function zh(e,t){let n;const s=()=>{r(),n=setInterval(e,t)},r=()=>{n&&(clearInterval(n),n=null)};return At(()=>{r()}),{startPlay:s,stopPlay:r}}const Yl=(e,t)=>e<=0?e+t*(Math.floor(-e/t)+1):e%t==0?t:e%t,Jh={modelValue:{type:Number},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3}};var Xl=ae({name:"DCarousel",components:{DCarouselIndicator:Ss,DCarouselPrev:Rs,DCarouselNext:Ls},props:Jh,emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{modelValue:s,autoplay:r,interval:o}=_n(e),{pageIndex:i,prevPage:l,nextPage:c,setPageIndex:a}=Yr(s.value),{startPlay:f,stopPlay:h}=zh(c,o.value),p=Cs().default().filter(m=>typeof m.type!="symbol").length,y=Yl(i.value,p),x=pe(y),L=m=>{m?f():h()};return L(r.value),xe(r,m=>{L(m)}),xe(s,m=>{i.value=m}),xe(i,m=>{n("update:modelValue",m),x.value=Yl(i.value,p)}),xe(x,m=>{i.value=m}),()=>F("div",{class:"devui-carousel"},[F("div",{class:"devui-carousel-item-container",style:{width:p*100+"%",left:-(x.value-1)*100+"%"}},[le(Cs(),"default")]),t.pagination?le(Cs(),"pagination",{prevPage:l,nextPage:c}):F(se,null,[F(Rs,{onClick:()=>{n("update:modelValue",e.modelValue-1),l()}},null),F(Ls,{onClick:()=>{n("update:modelValue",e.modelValue+1),c()}},null)]),t.indicator?t.indicator({count:p,pageIndex:x.value,setPageIndex:a}):F(Ss,{count:p,modelValue:x.value,"onUpdate:modelValue":m=>x.value=m},null)])}}),Yh={install(e){e.component(Xl.name,Xl),e.component(Ss.name,Ss),e.component(Rs.name,Rs),e.component(Ls.name,Ls),e.config.globalProperties.usePage=Yr}};function Xh(e,t){let n=null,s=new Date;return function(){const r=this,o=arguments,i=new Date,l=t-(i-s);clearTimeout(n),l<=0?(e.apply(r,o),s=new Date):n=setTimeout(function(){e.apply(r,o)},l)}}function Xr(){return new DOMException("The request is not allowed","NotAllowedError")}async function Zh(e){if(!navigator.clipboard)throw Xr();return navigator.clipboard.writeText(e)}async function Qh(e){const t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",t.style.webkitUserSelect="auto",t.style.userSelect="all",document.body.appendChild(t);const n=window.getSelection(),s=window.document.createRange();n.removeAllRanges(),s.selectNode(t),n.addRange(s);let r=!1;try{r=window.document.execCommand("copy")}finally{n.removeAllRanges(),window.document.body.removeChild(t)}if(!r)throw Xr()}async function Gh(e){try{await Zh(e)}catch(t){try{await Qh(e)}catch(n){throw n||t||Xr()}}}let ep=0;function tp(){return"message_"+ep++}const np={setup(){const e=pe([]);function t(s){const r=tp(),o=Dt({name:r},s);e.value.push(o);const i=s.duration;setTimeout(()=>{n(r)},i*1e3)}function n(s){for(const[r,o]of e.value.entries())if(o.name===s){e.value.splice(r,1);break}}return{messages:e,add:t,remove:n}}},sp={class:"demoblock-message-content"};function rp(e,t,n,s,r,o){return V(),ke(dl,{name:"demoblock-fade",tag:"div",class:"demoblock-message-wrap"},{default:we(()=>[(V(!0),Z(se,null,An(s.messages,i=>(V(),Z("div",{key:i.name,class:Te(["demoblock-message",i.type?`demoblock-message-${i.type}`:""])},[z("div",sp,Ae(i.content),1)],2))),128))]),_:1})}var Zr=_e(np,[["render",rp],["__scopeId","data-v-4afa3721"]]);Zr.newInstance=(e={})=>{const t=document.createElement("div"),r=El({render(){return Ye(Zr,Un(Dt({},e),{ref:"messageRef"}))}}).mount(t).$refs.messageRef;return document.body.appendChild(t.firstElementChild),{add(o){r.add(o)},remove(o){r.remove(o)}}};let Qr;function op(){return Qr=Qr||Zr.newInstance(),Qr}function Zl(e,{duration:t=3,type:n=""}){op().add({content:e,duration:t,type:n})}var Ql={info(e,t){return Zl(e,Dt({},t))},error(e,t){return Zl(e,Un(Dt({},t),{type:"error"}))}};const ip={name:"Demo",props:{customClass:String,sourceCode:String},setup(e){const t=pe(!1),n=pe(!1),s=pe(!1),r=pe(!1),o=Ne(),i=st(),l=pe(i.path.split("/")),c=X(()=>l.value[l.value.length-1].split(".")[0]);xe(()=>i.path,I=>{l.value=I.split("/")});const a=()=>{s.value=!s.value,t.value=s.value},f=X(()=>`demo-${c.value}`),h=X(()=>{var I,O;return(O=(I=o.theme.value.demoblock)==null?void 0:I[o.localePath.value])!=null?O:{"hide-text":"\u9690\u85CF\u4EE3\u7801","show-text":"\u663E\u793A\u4EE3\u7801","copy-button-text":"\u590D\u5236\u4EE3\u7801\u7247\u6BB5","copy-success-text":"\u590D\u5236\u6210\u529F"}}),p=X(()=>r.value?h.value["copy-success-text"]:h.value["copy-button-text"]),y=X(()=>s.value?h.value["hide-text"]:h.value["show-text"]),x=pe(null),L=pe(null),m=pe(null),b=pe(null),g=pe(null),w=X(()=>L.value?L.value.clientHeight+x.value.clientHeight+20:x.value.clientHeight),v=()=>{const{top:I,bottom:O,left:K}=m.value.getBoundingClientRect(),W=window.innerHeight||document.body.clientHeight;n.value=O>W&&I+44<=W,b.value.style.left=n.value?`${K}px`:"0";const A=n.value?1:2;b.value.style.width=`${g.value.offsetWidth-A}px`},R=Xh(v,200),N=()=>{window.removeEventListener("scroll",R),window.removeEventListener("resize",R)},T=async()=>{try{await Gh(e.sourceCode),Ql.info(h.value["copy-success-text"])}catch{Ql.error(h.value["copy-success-text"])}};return xe(s,I=>{if(m.value.style.height=I?`${w.value+1}px`:"0",!I){n.value=!1,b.value.style.left="0",b.value.style.width="auto",N();return}setTimeout(()=>{window.addEventListener("scroll",R),window.addEventListener("resize",R),v()},300)}),Ue(()=>{In(()=>{L.value||(x.value.style.width="100%")})}),En(()=>{N()}),{blockClass:f,hover:t,fixedControl:n,isExpanded:s,locale:h,controlText:y,onClickControl:a,copyText:p,highlight:x,description:L,meta:m,control:b,onCopy:T,demoBlock:g}}},lp={class:"source"},cp={ref:"meta",class:"meta"},ap={key:0,ref:"description",class:"description"},up={ref:"highlight",class:"highlight"},fp={class:"control-button-wrap"};function dp(e,t,n,s,r,o){return V(),Z("div",{ref:"demoBlock",class:Te(["demo-block",s.blockClass,n.customClass?n.customClass:"",{hover:s.hover}]),onMouseenter:t[2]||(t[2]=i=>s.hover=!0),onMouseleave:t[3]||(t[3]=i=>s.hover=!1)},[z("div",lp,[le(e.$slots,"default",{},void 0,!0)]),z("div",cp,[e.$slots.description?(V(),Z("div",ap,[le(e.$slots,"description",{},void 0,!0)],512)):me("",!0),z("div",up,[le(e.$slots,"highlight",{},void 0,!0)],512)],512),z("div",{ref:"control",class:Te(["demo-block-control",{"is-fixed":s.fixedControl}]),onClick:t[1]||(t[1]=(...i)=>s.onClickControl&&s.onClickControl(...i))},[F(tn,{name:"arrow-slide"},{default:we(()=>[z("i",{class:Te(["control-icon",{"icon-caret-down":!s.isExpanded,"icon-caret-up":s.isExpanded,hovering:s.hover}])},null,2)]),_:1}),F(tn,{name:"text-slide"},{default:we(()=>[gr(z("span",{class:"control-text"},Ae(s.controlText),513),[[$s,s.hover]])]),_:1}),z("div",fp,[F(tn,{name:"text-slide"},{default:we(()=>[gr(z("span",{class:"control-button copy-button",onClick:t[0]||(t[0]=vl((...i)=>s.onCopy&&s.onCopy(...i),["stop"]))},Ae(s.copyText),513),[[$s,s.isExpanded]])]),_:1})])],2)],34)}var hp=_e(ip,[["render",dp],["__scopeId","data-v-176498b8"]]);const pp={name:"DemoBlock",props:{customClass:String}},mp={class:"source"};function gp(e,t,n,s,r,o){return V(),Z("div",{class:Te(["demo-block",[n.customClass?n.customClass:""]])},[z("div",mp,[le(e.$slots,"default",{},void 0,!0)])],2)}var _p=_e(pp,[["render",gp],["__scopeId","data-v-0cad2b2e"]]);function vp(e){e.component("Demo",hp),e.component("DemoBlock",_p)}var Is=Un(Dt({},Kh),{enhanceApp({app:e}){e.use(Yh),vp(e)}});const Gr=new Set,Gl=()=>document.createElement("link"),bp=e=>{const t=Gl();t.rel="prefetch",t.href=e,document.head.appendChild(t)},yp=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Ms;const xp=Be&&(Ms=Gl())&&Ms.relList&&Ms.relList.supports&&Ms.relList.supports("prefetch")?bp:yp;function wp(){if(!Be||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!Gr.has(c)){Gr.add(c);const a=Rl(c);xp(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{target:i,hostname:l,pathname:c}=o,a=c.match(/\.\w+$/);a&&a[0]!==".html"||i!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(o):Gr.add(c))})})};Ue(s);const r=st();xe(()=>r.path,s),At(()=>{n&&n.disconnect()})}const Cp=ae({setup(e,{slots:t}){const n=pe(!1);return Ue(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}}),Ep=Is.NotFound||(()=>"404 Not Found"),kp={name:"VitePressApp",setup(){const{site:e}=Ne();return Ue(()=>{xe(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),wp(),()=>Ye(Is.Layout)}};function Tp(){const e=$p(),t=Ap();t.provide(Ll,e);const n=Tf(e.route);return t.provide(Sl,n),Be&&Rf(e.route,n.site),t.component("Content",Mf),t.component("ClientOnly",Cp),t.component("Debug",()=>null),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Is.enhanceApp&&Is.enhanceApp({app:t,router:e,siteData:Vr}),{app:t,router:e}}function Ap(){return kl(kp)}function $p(){let e=Be,t;return Pf(n=>{let s=Rl(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Be?(e=!1,import(s)):require(s)},Ep)}if(Be){const{app:e,router:t}=Tp();t.go().then(()=>{e.mount("#app")})}export{se as F,Ul as N,Sp as V,_e as _,F as a,z as b,Z as c,Tp as createApp,Xt as d,Ya as e,ae as f,X as g,H as h,Dn as i,me as j,ke as k,An as l,le as m,V as o,ms as r,Ae as t,Ne as u,we as w}; diff --git a/docs/.vitepress/dist/assets/features_autoplay_index.md.88d6f241.js b/docs/.vitepress/dist/assets/features_autoplay_index.md.88d6f241.js deleted file mode 100644 index b1e26ab..0000000 --- a/docs/.vitepress/dist/assets/features_autoplay_index.md.88d6f241.js +++ /dev/null @@ -1,73 +0,0 @@ -var b=Object.defineProperty;var y=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var v=(e,t,s)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,f=(e,t)=>{for(var s in t||(t={}))F.call(t,s)&&v(e,s,t[s]);if(y)for(var s of y(t))w.call(t,s)&&v(e,s,t[s]);return e};import{_ as V,r as _,c as T,a as E,w as k,b as a,d as n,o as N,V as x}from"./app.7fe229af.js";const q={name:"component-doc",components:{"render-demo-0":function(){const{toDisplayString:e,createElementVNode:t,resolveComponent:s,withCtx:i,createVNode:r,openBlock:d,createElementBlock:u}=x,l=t("br",null,null,-1),h=t("br",null,null,-1),A=t("div",{class:"carousel-item"},"page 1",-1),C=t("div",{class:"carousel-item"},"page 2",-1),B=t("div",{class:"carousel-item"},"page 3",-1);function D(o,c){const p=s("DCarousel");return d(),u("div",null,[t("button",{onClick:c[0]||(c[0]=(...m)=>o.play&&o.play(...m))},e(o.text),1),l,h,r(p,{autoplay:o.autoplay,interval:1e3},{default:i(()=>[A,C,B]),_:1},8,["autoplay"])])}const{ref:g}=x;return f({render:D},{setup(){const o="Play",c=g(!1),p=g(o);return{autoplay:c,text:p,play:()=>{c.value=!c.value,p.value=c.value?"Stop":o}}}})}()}},H='{"title":"\u81EA\u52A8\u64AD\u653E","description":"","frontmatter":{},"headers":[],"relativePath":"features/autoplay/index.md","lastUpdated":1643298823333}',S=a("h1",{id:"\u81EA\u52A8\u64AD\u653E",tabindex:"-1"},[n("\u81EA\u52A8\u64AD\u653E "),a("a",{class:"header-anchor",href:"#\u81EA\u52A8\u64AD\u653E","aria-hidden":"true"},"#")],-1),P=a("div",null,[a("code",null,"autoplay"),n("\u53EF\u4EE5\u8BBE\u7F6E\u662F\u5426\u9700\u8981\u81EA\u52A8\u64AD\u653E\uFF0C\u9ED8\u8BA4\u503C\u4E3A"),a("code",null,"true"),n("\uFF0C\u9ED8\u8BA4\u6BCF\u96943000\u6BEB\u79D2\u5207\u6362\u4E00\u6B21\uFF0C\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E"),a("code",null,"interval"),n("\u81EA\u5B9A\u4E49\u81EA\u52A8\u64AD\u653E\u7684\u95F4\u9694\u65F6\u95F4\u3002")],-1),$=a("div",{class:"language-vue"},[a("pre",null,[a("code",null,[a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("template")]),a("span",{class:"token punctuation"},">")]),n(` - `),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("button")]),n(),a("span",{class:"token attr-name"},"@click"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("play"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("{{text}}"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` - `),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("br")]),a("span",{class:"token punctuation"},">")]),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("br")]),a("span",{class:"token punctuation"},">")]),n(` - `),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("DCarousel")]),n(),a("span",{class:"token attr-name"},":autoplay"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("autoplay"),a("span",{class:"token punctuation"},'"')]),n(),a("span",{class:"token attr-name"},":interval"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("1000"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n(` - `),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("carousel-item"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("page 1"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` - `),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("carousel-item"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("page 2"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` - `),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("div")]),n(),a("span",{class:"token attr-name"},"class"),a("span",{class:"token attr-value"},[a("span",{class:"token punctuation attr-equals"},"="),a("span",{class:"token punctuation"},'"'),n("carousel-item"),a("span",{class:"token punctuation"},'"')]),a("span",{class:"token punctuation"},">")]),n("page 3"),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` - `),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` -`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` -`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("script")]),a("span",{class:"token punctuation"},">")]),a("span",{class:"token script"},[a("span",{class:"token language-javascript"},[n(` -`),a("span",{class:"token keyword"},"import"),n(),a("span",{class:"token punctuation"},"{"),n(" ref "),a("span",{class:"token punctuation"},"}"),n(),a("span",{class:"token keyword"},"from"),n(),a("span",{class:"token string"},"'vue'"),n(` - -`),a("span",{class:"token keyword"},"export"),n(),a("span",{class:"token keyword"},"default"),n(),a("span",{class:"token punctuation"},"{"),n(` - `),a("span",{class:"token function"},"setup"),a("span",{class:"token punctuation"},"("),a("span",{class:"token punctuation"},")"),n(),a("span",{class:"token punctuation"},"{"),n(` - `),a("span",{class:"token keyword"},"const"),n(" defaultText "),a("span",{class:"token operator"},"="),n(),a("span",{class:"token string"},"'Play'"),n(` - `),a("span",{class:"token keyword"},"const"),n(" autoplay "),a("span",{class:"token operator"},"="),n(),a("span",{class:"token function"},"ref"),a("span",{class:"token punctuation"},"("),a("span",{class:"token boolean"},"false"),a("span",{class:"token punctuation"},")"),n(` - `),a("span",{class:"token keyword"},"const"),n(" text "),a("span",{class:"token operator"},"="),n(),a("span",{class:"token function"},"ref"),a("span",{class:"token punctuation"},"("),n("defaultText"),a("span",{class:"token punctuation"},")"),n(` - - `),a("span",{class:"token keyword"},"const"),n(),a("span",{class:"token function-variable function"},"play"),n(),a("span",{class:"token operator"},"="),n(),a("span",{class:"token punctuation"},"("),a("span",{class:"token punctuation"},")"),n(),a("span",{class:"token operator"},"=>"),n(),a("span",{class:"token punctuation"},"{"),n(` - autoplay`),a("span",{class:"token punctuation"},"."),n("value "),a("span",{class:"token operator"},"="),n(),a("span",{class:"token operator"},"!"),n("autoplay"),a("span",{class:"token punctuation"},"."),n(`value - text`),a("span",{class:"token punctuation"},"."),n("value "),a("span",{class:"token operator"},"="),n(" autoplay"),a("span",{class:"token punctuation"},"."),n("value "),a("span",{class:"token operator"},"?"),n(),a("span",{class:"token string"},"'Stop'"),n(),a("span",{class:"token operator"},":"),n(` defaultText - `),a("span",{class:"token punctuation"},"}"),n(` - - `),a("span",{class:"token keyword"},"return"),n(),a("span",{class:"token punctuation"},"{"),n(` - autoplay`),a("span",{class:"token punctuation"},","),n(" text"),a("span",{class:"token punctuation"},","),n(` play - `),a("span",{class:"token punctuation"},"}"),n(` - `),a("span",{class:"token punctuation"},"}"),n(` -`),a("span",{class:"token punctuation"},"}"),n(` -`)])]),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` -`),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"<"),n("style")]),a("span",{class:"token punctuation"},">")]),a("span",{class:"token style"},[a("span",{class:"token language-css"},[n(` -`),a("span",{class:"token selector"},".carousel-item"),n(),a("span",{class:"token punctuation"},"{"),n(` - `),a("span",{class:"token property"},"text-align"),a("span",{class:"token punctuation"},":"),n(" center"),a("span",{class:"token punctuation"},";"),n(` - `),a("span",{class:"token property"},"line-height"),a("span",{class:"token punctuation"},":"),n(" 200px"),a("span",{class:"token punctuation"},";"),n(` - `),a("span",{class:"token property"},"background"),a("span",{class:"token punctuation"},":"),n(" #f3f6f8"),a("span",{class:"token punctuation"},";"),n(` -`),a("span",{class:"token punctuation"},"}"),n(` -`)])]),a("span",{class:"token tag"},[a("span",{class:"token tag"},[a("span",{class:"token punctuation"},"")]),n(` -`)])])],-1);function j(e,t,s,i,r,d){const u=_("render-demo-0"),l=_("demo");return N(),T("div",null,[S,E(l,{sourceCode:` - - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/basic/index.html b/docs/.vitepress/dist/features/basic/index.html deleted file mode 100644 index db91509..0000000 --- a/docs/.vitepress/dist/features/basic/index.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - 基本用法 | Vue Carousel - - - - - - - - - - - -

基本用法

Carousel组件提供了默认插槽,直接将元素放在<DCarousel>即可实现轮播效果。
<template>
-  <DCarousel>
-    <div class="carousel-item">page 1</div>
-    <div class="carousel-item">page 2</div>
-    <div class="carousel-item">page 3</div>
-  </DCarousel>
-</template>
-<style>
-.carousel-item {
-  text-align: center;
-  line-height: 200px;
-  background: #f3f6f8;
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/bilibili-events/index.html b/docs/.vitepress/dist/features/bilibili-events/index.html deleted file mode 100644 index a3e9ef2..0000000 --- a/docs/.vitepress/dist/features/bilibili-events/index.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - B站 | Vue Carousel - - - - - - - - - - - -

B站

<template>
-<DCarousel class="carousel-demo-bilibili">
-  <div>
-    <div class="carousel-demo-item-bilibili">
-      <img src = 'https://s3.bmp.ovh/imgs/2022/01/40f0a4406ac09295.png' />
-      <div class="carousel-mask" style="background-color: rgb(22, 29, 38);"></div>
-      <div class="carousel-tool not-gray" data-gray="74" style="color:white;">
-        <a href="https://www.bilibili.com/blackboard/activity-gamereview2021.html" rel="noopener" target="_blank" data-target-url="https://www.bilibili.com/blackboard/activity-gamereview2021.html"><span>谁是游戏区播放TOP1?</span></a></div>
-    </div>
-  </div>
-  <div>
-    <div class="carousel-demo-item-bilibili">
-      <img src = 'https://s3.bmp.ovh/imgs/2022/01/5d3503df424141a1.jpg' />
-      <div class="carousel-mask" style="background-color: rgb(83, 73, 57);"></div>
-      <div class="carousel-tool not-gray" data-gray="74" style="color:white;"><a href="https://www.bilibili.com/blackboard/activity-gamereview2021.html" rel="noopener" target="_blank" data-target-url="https://www.bilibili.com/blackboard/activity-gamereview2021.html"><span>谁能拒绝可爱小狗呢?</span></a></div>
-    </div>
-  </div>
-  <div>
-    <div class="carousel-demo-item-bilibili">
-      <img src = 'https://s3.bmp.ovh/imgs/2022/01/5ed9080ff718b46b.jpg' />
-      <div class="carousel-mask" style="background-color: rgb(40, 36, 55);"></div>
-      <div class="carousel-tool not-gray" data-gray="74" style="color:white;">
-        <a href="https://www.bilibili.com/blackboard/activity-gamereview2021.html" rel="noopener" target="_blank" data-target-url="https://www.bilibili.com/blackboard/activity-gamereview2021.html"><span>守护解放西3热血归来!正义之魂,燃起来了!</span></a></div>
-    </div>
-  </div>
-  <div>
-    <div class="carousel-demo-item-bilibili">
-      <img src = 'https://s3.bmp.ovh/imgs/2022/01/1e952454566546f3.png' />
-      <div class="carousel-mask" style="background-color: rgb(61, 66, 63);"></div>
-      <div class="carousel-tool not-gray" data-gray="74" style="color:white;">
-        <a href="https://www.bilibili.com/blackboard/activity-gamereview2021.html" rel="noopener" target="_blank" data-target-url="https://www.bilibili.com/blackboard/activity-gamereview2021.html"><span>必听!TVB经典26首金曲回忆杀</span></a></div>
-    </div>
-  </div>
-  <div>
-    <div class="carousel-demo-item-bilibili">
-      <img src = 'https://s3.bmp.ovh/imgs/2022/01/17420d5be0805551.png' />
-      <div class="carousel-mask" style="background-color: rgb(77, 79, 74);"></div>
-      <div class="carousel-tool not-gray" data-gray="77" style="color:white;"><a href="https://www.bilibili.com/blackboard/activity-gamereview2021.html" rel="noopener" target="_blank" data-target-url="https://www.bilibili.com/blackboard/activity-gamereview2021.html"><span>原神2.4:云堇唱给你听</span></a></div>
-    </div>
-  </div>
-  <div>
-    <div class="carousel-demo-item-bilibili">
-      <img src = 'https://s3.bmp.ovh/imgs/2022/01/721ba44e91795ffb.png' />
-      <div class="carousel-mask" style="background-color: rgb(213, 89, 57);"></div>
-      <div class="carousel-tool not-gray" data-gray="122" style="color:white;"><a href="https://www.bilibili.com/blackboard/activity-gamereview2021.html" rel="noopener" target="_blank" data-target-url="https://www.bilibili.com/blackboard/activity-gamereview2021.html"><span>用视频的方式,记录新年!</span></a></div>
-    </div>
-  </div>
-  <template #indicator="page">
-    <div class="carousel-demo-bilibili-indicator-wrapper">
-      <DCarouselIndicator style="justify-content: flex-start;">
-        <div class="carousel-demo-bilibili-indicator-item-wrapper">
-          <div :class="['carousel-demo-bilibili-indicator-item', page.pageIndex === 1 && 'active']" @click="page.setPageIndex(1)"></div>
-          <div :class="['carousel-demo-bilibili-indicator-item', page.pageIndex === 2 && 'active']" @click="page.setPageIndex(2)"></div>
-          <div :class="['carousel-demo-bilibili-indicator-item', page.pageIndex === 3 && 'active']" @click="page.setPageIndex(3)"></div>
-          <div :class="['carousel-demo-bilibili-indicator-item', page.pageIndex === 4 && 'active']" @click="page.setPageIndex(4)"></div>
-          <div :class="['carousel-demo-bilibili-indicator-item', page.pageIndex === 5 && 'active']" @click="page.setPageIndex(5)"></div>
-          <div :class="['carousel-demo-bilibili-indicator-item', page.pageIndex === 6 && 'active']" @click="page.setPageIndex(6)"></div>
-        </div>
-      </DCarouselIndicator>
-    </div>
-  </template>
-  <template #pagination="page">
-      <div class="carousel-demo-bilibili-pagination-wrapper">
-       <div class="btn-page" @click="page.prevPage">
-          <svg width="18px" height="18px" viewBox="0 0 16 16" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><polygon fill="#293040" fill-rule="nonzero" points="10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"></polygon></g></svg>
-        </div>
-        <div class="btn-page" @click="page.nextPage">
-          <svg width="18px" height="18px" viewBox="0 0 16 16" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><polygon fill="#293040" fill-rule="nonzero" transform="translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000)" points="11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"></polygon></g></svg>
-        </div>
-      </div>
-  </template>
-</DCarousel>
-</template>
-<style>
-.carousel-demo-bilibili {
-  width: 600px;
-}
-
-.carousel-demo-item-bilibili {
-  position: relative;
-}
-
-.carousel-demo-item-bilibili .carousel-mask {
-  width: 100%;
-  height: 100%;
-  position: absolute;
-  left: 0;
-  right: 0;
-  bottom: 0;
-  z-index: 1;
-  user-select: none;
-  pointer-events: none;
-  -webkit-mask-image: linear-gradient(0,#2f3238 11%,transparent 20%);
-}
-
-.carousel-demo-item-bilibili .carousel-tool {
-  position: absolute;
-  margin-top: 0;
-  flex-grow: 1;
-  z-index: 2;
-  transition: filter .3s cubic-bezier(.645,.045,.355,1);
-  bottom: 60px;
-  left: 15px;
-  color: #fff;
-}
-
-.carousel-demo-item-bilibili .carousel-tool a {
-  color: inherit;
-  font-size: 18px;
-}
-
-.carousel-demo-item-bilibili .carousel-tool a:hover {
-  text-decoration: none;
-}
-
-.carousel-demo-bilibili-indicator-wrapper {
-  z-index: 1;
-  position: absolute;
-  bottom: 20px;
-  padding-left: 15px;
-  width: 100%;
-  display: flex;
-  justify-content: flex-start;
-}
-
-.carousel-demo-bilibili-indicator-item {
-  position: relative;
-  display: inline-block;
-  width: 8px;
-  height: 8px;
-  margin: 4px;
-  border-radius: 50%;
-  background-color: rgba(255,255,255,.4);
-  overflow: hidden;
-  cursor: pointer;
-}
-
-.carousel-demo-bilibili-indicator-item.active {
-  width: 14px;
-  height: 14px;
-  margin: 1px;
-  border-radius: 50%;
-  background-color: #fff;
-}
-
-.carousel-demo-bilibili-pagination-wrapper {
-  position: absolute;
-  bottom: 50px;
-  right: 8px;
-  z-index: 2;
-}
-
-.carousel-demo-bilibili-pagination-wrapper .btn-page {
-  align-items: center;
-  justify-content: center;
-  display: inline-flex;
-  width: 28px;
-  height: 28px;
-  margin-right: 12px;
-  border-radius: 8px;
-  background-color: rgba(255,255,255,.1);
-  cursor: pointer;
-  color: #fff;
-}
-
-.carousel-demo-bilibili-pagination-wrapper .btn-page:hover {
-  background-color: rgba(255,255,255,.2);
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/collapse-card/index.html b/docs/.vitepress/dist/features/collapse-card/index.html deleted file mode 100644 index d8be6bd..0000000 --- a/docs/.vitepress/dist/features/collapse-card/index.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - 手风琴式折叠卡片 | Vue Carousel - - - - - - - - - - - -

手风琴式折叠卡片

DCarouselIndicator指示器组件提供了默认插槽,可以单独使用它实现自定义指示器效果,比如手风琴式折叠卡片。
<template>
-  <DCarouselIndicator>
-    <template #default="page">
-    <div class="box">
-      <div :class="['panel', page.pageIndex === 1 ? 'active' : '']" @click="page.setPageIndex(1)">
-        <h3>Explore The World</h3>
-      </div>
-      <div :class="['panel', page.pageIndex === 2 ? 'active' : '']" @click="page.setPageIndex(2)">
-        <h3>Wild Forest</h3>
-      </div>
-      <div :class="['panel', page.pageIndex === 3 ? 'active' : '']" @click="page.setPageIndex(3)">
-        <h3>Sunny Beach</h3>
-      </div>
-      <div :class="['panel', page.pageIndex === 4 ? 'active' : '']" @click="page.setPageIndex(4)">
-        <h3>City on Winter</h3>
-      </div>
-      <div :class="['panel', page.pageIndex === 5 ? 'active' : '']" @click="page.setPageIndex(5)">
-        <h3>Mountains - Clouds</h3>
-      </div>
-    </div>
-    </template>
-  </DCarouselIndicator>
-</template>
-<style>
-.box {
-  display: flex;
-  width: 90vw;
-}
-
-.panel {
-  background-size: cover;
-  background-position: center;
-  background-repeat: no-repeat;
-  height: 40vh;
-  border-radius: 50px;
-  color: #fff;
-  cursor: pointer;
-  flex: 0.5;
-  margin: 10px;
-  position: relative;
-  -webkit-transition: all 700ms ease-in;
-  transition: all 700ms ease-in;
-}
-.panel:nth-child(1){
-  background-image: url("https://picsum.photos/1350/900?random=1");
-}
-.panel:nth-child(2){
-  background-image: url("https://picsum.photos/1350/900?random=2");
-}
-.panel:nth-child(3){
-  background-image: url("https://picsum.photos/1350/900?random=3");
-}
-.panel:nth-child(4){
-  background-image: url("https://picsum.photos/1350/900?random=4");
-}
-.panel:nth-child(5){
-  background-image: url("https://picsum.photos/1350/900?random=5");
-}
-
-.panel h3 {
-  font-size: 24px;
-  position: absolute;
-  bottom: 20px;
-  left: 20px;
-  margin: 0;
-  opacity: 0;
-}
-
-.panel.active {
-  flex: 5;
-}
-
-.panel.active h3 {
-  opacity: 1;
-  transition: opacity 0.3s ease-in 0.4s;
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/custom-indicator/index.html b/docs/.vitepress/dist/features/custom-indicator/index.html deleted file mode 100644 index 7ff47d1..0000000 --- a/docs/.vitepress/dist/features/custom-indicator/index.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - 自定义指示器 | Vue Carousel - - - - - - - - - - - -

自定义指示器

如果Carousel内置的CarouselIndicator指示器不满足你的要求,还可以定制自己的指示器。
<template>
-  <DCarousel>
-    <div class="carousel-item-dark">page 1</div>
-    <div class="carousel-item-dark">page 2</div>
-    <div class="carousel-item-dark">page 3</div>
-    <template #indicator="page">
-      <DCarouselIndicator :count="page.count" v-model="page.pageIndex" style="justify-content: flex-start; padding-left: 20px;">
-        <div
-          :class="['carousel-indicator-item', page.pageIndex === item+1 ? 'active' : '']"
-          v-for="item of indicatorArr"
-          :key="item"
-          @click="page.setPageIndex(item+1)"
-        ></div>
-      </DCarouselIndicator>
-    </template>
-  </DCarousel>
-</template>
-<script>
-import { defineComponent } from 'vue'
-
-export default defineComponent({
-  setup() {
-    const indicatorArr = Array.from(new Array(3).keys())
-
-    return { indicatorArr }
-  },
-})
-</script>
-<style>
-.carousel-item-dark {
-  text-align: center;
-  line-height: 200px;
-  background: rgb(135, 164, 186);
-  color: #fff;
-}
-
-.carousel-indicator-item {
-  position: relative;
-  display: inline-block;
-  width: 8px;
-  height: 8px;
-  margin: 4px;
-  border-radius: 50%;
-  background-color: var(--devui-icon-fill, #d3d5d9);
-  overflow: hidden;
-  cursor: pointer;
-}
-
-.carousel-indicator-item.active {
-  width: 14px;
-  height: 14px;
-  margin: 1px;
-  border-radius: 50%;
-  background-color: #fff;
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/custom-pagination/index.html b/docs/.vitepress/dist/features/custom-pagination/index.html deleted file mode 100644 index f467cc6..0000000 --- a/docs/.vitepress/dist/features/custom-pagination/index.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - 自定义分页器 | Vue Carousel - - - - - - - - - - - -

自定义分页器

<template>
-<DCarousel>
-  <div class="carousel-item">page 1</div>
-  <div class="carousel-item">page 2</div>
-  <div class="carousel-item">page 3</div>
-  <template #pagination="page">
-      <div class="carousel-demo-pagination-wrapper">
-        <div class="btn-page" @click="page.prevPage">
-          <svg width="18px" height="18px" viewBox="0 0 16 16" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><polygon fill="#293040" fill-rule="nonzero" points="10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"></polygon></g></svg>
-        </div>
-        <div class="btn-page" @click="page.nextPage">
-          <svg width="18px" height="18px" viewBox="0 0 16 16" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" ><polygon fill="#293040" fill-rule="nonzero" transform="translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000)" points="11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"></polygon></g></svg>
-        </div>
-      </div>
-  </template>
-</DCarousel>
-</template>
-<style>
-.carousel-item {
-  text-align: center;
-  line-height: 200px;
-  background: #f3f6f8;
-}
-
-.carousel-demo-pagination-wrapper {
-  position: absolute;
-  top: 20px;
-  right: 8px;
-}
-
-.carousel-demo-pagination-wrapper .btn-page {
-  align-items: center;
-  justify-content: center;
-  display: inline-flex;
-  width: 28px;
-  height: 28px;
-  margin-right: 12px;
-  border-radius: 8px;
-  background-color: rgba(100,100,100,.1);
-  cursor: pointer;
-}
-
-.carousel-demo-pagination-wrapper .btn-page:hover {
-  background-color: rgba(100,100,100,.2);
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/huawei-events/index.html b/docs/.vitepress/dist/features/huawei-events/index.html deleted file mode 100644 index 1c62d29..0000000 --- a/docs/.vitepress/dist/features/huawei-events/index.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - 华为 | Vue Carousel - - - - - - - - - - - -

华为

<template>
-<DCarousel>
-  <div>
-    <div class="carousel-demo-basic">
-      <img src="https://pic.imgdb.cn/item/61f2ae9a2ab3f51d91000f53.jpg" />
-      <div class="carousel-demo-basic-content">
-        <h3>前行不辍,未来可期</h3>
-        <p>华为轮值董事长郭平新年致辞</p>
-        <a class="btn-more" href="https://huawei.com/cn/special-release/new-year-message-2022?ic_medium=hwdc&amp;ic_source=corp_banner1_newyearmessage2022" onclick="ga('send', 'event', 'corp_hp_clicks', 'banner1', 'newyearmessage2022');" target="_blank" rel="noopener">了解更多</a>
-      </div>
-    </div>
-  </div>
-  <div><img src="https://pic.imgdb.cn/item/61f2ae9a2ab3f51d91000f5e.jpg" /></div>
-  <div><img src="https://pic.imgdb.cn/item/61f2ae9a2ab3f51d91000f57.jpg" /></div>
-  <template #indicator="page">
-    <div class="carousel-demo-indicator-wrapper">
-      <DCarouselIndicator>
-        <div class="carousel-demo-indicator-item-wrapper">
-          <div :class="['carousel-demo-indicator-item', page.pageIndex === 1 && 'active']" @click="page.setPageIndex(1)"></div>
-          <div :class="['carousel-demo-indicator-item', page.pageIndex === 2 && 'active']" @click="page.setPageIndex(2)"></div>
-          <div :class="['carousel-demo-indicator-item', page.pageIndex === 3 && 'active']" @click="page.setPageIndex(3)"></div>
-        </div>
-      </DCarouselIndicator>
-    </div>
-  </template>
-</DCarousel>
-</template>
-<style>
-.carousel-demo-basic {
-  position: relative;
-}
-
-.carousel-demo-basic .carousel-demo-basic-content {
-  position: absolute;
-  left: 15%;
-  top: 23%;
-}
-
-.carousel-demo-basic-content h3 {
-  font-size: 3em;
-  color: #fff;
-  text-shadow: 0 0 15px #444;
-  margin-bottom: 10px;
-}
-
-.carousel-demo-basic-content p {
-  font-size: 1.25em;
-  color: #fff;
-  margin-bottom: 2em;
-  text-shadow: 0 0 15px #444;
-}
-
-.carousel-demo-basic-content a.btn-more {
-  border: 1px solid #fff;
-  text-align: center;
-  color: #fff;
-  display: inline-block;
-  text-decoration: none;
-  font-size: 0.875em;
-  position: unset;
-  padding: 0 30px;
-  min-width: 170px;
-  height: 42px;
-  line-height: 40px;
-}
-
-.carousel-demo-basic-content a.btn-more:hover {
-  background-color: #c7000b;
-  border-color: #c7000b;
-  color: #fff;
-}
-
-.carousel-demo-indicator-wrapper {
-  position: absolute;
-  bottom: 20px;
-  width: 100%;
-  display: flex;
-  justify-content: center;
-}
-
-.carousel-demo-indicator-item-wrapper {
-  display: flex;
-}
-
-.carousel-demo-indicator-item {
-  width: 100px;
-  height: 3px;
-  margin: 0 8px;
-  background: var(--devui-icon-fill, #d3d5d9);
-  cursor: pointer;
-}
-
-.carousel-demo-indicator-item.active{
-  background: #5e7ce0;
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/indicator-position/index.html b/docs/.vitepress/dist/features/indicator-position/index.html deleted file mode 100644 index d6b7dfa..0000000 --- a/docs/.vitepress/dist/features/indicator-position/index.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - 指示器位置 | Vue Carousel - - - - - - - - - - - -

指示器位置

<DCarousel>组件将其中的指示器子组件暴露出来,并提供了indicator插槽,因此可以随意调整DCarouselIndicator的位置,比如放在左下角。
<template>
-  <DCarousel>
-    <div class="carousel-item">page 1</div>
-    <div class="carousel-item">page 2</div>
-    <div class="carousel-item">page 3</div>
-    <template #indicator="page">
-      <DCarouselIndicator :count="page.count" v-model="page.pageIndex" @update:modelValue="page.setPageIndex" style="justify-content: flex-start; padding-left: 20px;"></DCarouselIndicator>
-    </template>
-  </DCarousel>
-</template>
-<style>
-.carousel-item {
-  text-align: center;
-  line-height: 200px;
-  background: #f3f6f8;
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/juejin-events/index.html b/docs/.vitepress/dist/features/juejin-events/index.html deleted file mode 100644 index 2c9f59d..0000000 --- a/docs/.vitepress/dist/features/juejin-events/index.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - 掘金活动 | Vue Carousel - - - - - - - - - - - -

掘金活动

<DCarousel>元素里面可以放任意元素,比如放上两张图片就是掘金活动的效果。
<template>
-  <DCarousel style="width: 470px; height: 280px;">
-    <img
-      src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0a4dda7abf534e098f04fe0e968b1e0c~tplv-k3u1fbpfcp-zoom-mark-crop-v2:0:0:940:560.awebp?"
-      height="280"
-    />
-    <img
-      src="https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/5e5b0b404fcb44ac9fb1359334186b46~tplv-k3u1fbpfcp-zoom-mark-crop-v2:0:0:940:560.awebp?"
-      height="280"
-    />
-  </DCarousel>
-</template>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/leetcode-card/index.html b/docs/.vitepress/dist/features/leetcode-card/index.html deleted file mode 100644 index 942c894..0000000 --- a/docs/.vitepress/dist/features/leetcode-card/index.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - LeetCode | Vue Carousel - - - - - - - - - - - -

LeetCode

首页轮播

DCarouselDCarouselIndicator组合使用,可以很方便地实现 LeetCode 的卡片轮播效果。
<template>
-  <DCarousel class="leetcode-carousel-card">
-    <img width="258" src="https://pic.imgdb.cn/item/61f01b5d2ab3f51d91c6f4c7.png" />
-    <img width="258" src="https://pic.imgdb.cn/item/61f01b5d2ab3f51d91c6f4cb.png" />
-    <img width="258" src="https://pic.imgdb.cn/item/61f01b5d2ab3f51d91c6f4cf.jpg" />
-    <template #pagination></template>
-    <template #indicator="page">
-      <DCarouselIndicator>
-        <div v-for="item of Array.from(new Array(3).keys())" :class="['leetcode-indicator-item', page.pageIndex === item+1 && 'active']" @click="page.setPageIndex(item+1)"></div>
-      </DCarouselIndicator>
-    </template>
-  </DCarousel>
-</template>
-<style lang="scss">
-.leetcode-carousel-card {
-  width: 258px;
-  border-radius: 8px;
-
-  &:hover .devui-carousel-indicator {
-    transform: scale(1.6);
-  }
-
-  .devui-carousel-indicator {
-    transition: all 0.3s ease 0s;
-  }
-
-  .leetcode-indicator-item {
-    margin: 0 4px;
-    opacity: 1;
-    width: 6px;
-    height: 6px;
-    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 16px, rgba(0, 0, 0, 0.1) 0px 2px 4px;
-    background: rgba(60, 60, 67, 0.3);
-    cursor: pointer;
-    border-radius: 100%;
-
-    &.active {
-      opacity: 1;
-      background: rgba(38, 38, 38, 0.75);
-    }
-  }
-}
-</style>
-

求职页轮播

<template>
-  <DCarousel class="leetcode-carousel-card-company">
-    <img width="490" src="https://pic.imgdb.cn/item/61f01b5d2ab3f51d91c6f4d6.jpg" />
-    <img width="490" src="https://pic.imgdb.cn/item/61f01b5d2ab3f51d91c6f4ed.png" />
-    <img width="490" src="https://pic.imgdb.cn/item/61f01b402ab3f51d91c6d1a9.png" />
-    <template #pagination></template>
-    <template #indicator="page">
-      <DCarouselIndicator>
-        <div v-for="item of Array.from(new Array(3).keys())" :class="['leetcode-indicator-item', page.pageIndex === item+1 && 'active']" @click="page.setPageIndex(item+1)"></div>
-      </DCarouselIndicator>
-    </template>
-  </DCarousel>
-</template>
-<style lang="scss">
-.leetcode-carousel-card-company {
-  width: 490px;
-  border-radius: 8px;
-
-  &:hover .devui-carousel-indicator {
-    transform: scale(1.6);
-  }
-
-  .devui-carousel-indicator {
-    transition: all 0.3s ease 0s;
-  }
-
-  .leetcode-indicator-item {
-    margin: 0 4px;
-    opacity: 1;
-    width: 6px;
-    height: 6px;
-    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 16px, rgba(0, 0, 0, 0.1) 0px 2px 4px;
-    background: rgba(60, 60, 67, 0.3);
-    cursor: pointer;
-    border-radius: 100%;
-
-    &.active {
-      opacity: 1;
-      background: rgba(38, 38, 38, 0.75);
-    }
-  }
-}
-</style>
-

题库页

<template>
-<div style="width: 858px;">
-  <div class="carousel-problemset-title">
-    <h3>学习计划</h3>
-    <div class="leetcode-pagination-wrapper">
-      <div class="btn-page prev" @click="prevPage">
-        <svg width="18px" height="18px" viewBox="0 0 16 16" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><polygon fill="#293040" fill-rule="nonzero" points="10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"></polygon></g></svg>
-      </div>
-      <div class="btn-page" @click="nextPage">
-        <svg width="18px" height="18px" viewBox="0 0 16 16" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><polygon fill="#293040" fill-rule="nonzero" transform="translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000)" points="11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"></polygon></g></svg>
-      </div>
-    </div>
-  </div>
-  <DCarousel v-model="pageIndex" :autoplay="false" class="leetcode-carousel-card-problemset">
-    <div class="carousel-item-problemset">
-      <a href="https://leetcode-cn.com/study-plan/algorithms/" target="_blank">
-        <div class="carousel-subitem">
-          <img src="https://pic.imgdb.cn/item/61f01b402ab3f51d91c6d1ad.jpg" />
-          <span>20 天「算法」刷题计划</span>  
-        </div>
-      </a>
-      <a href="https://leetcode-cn.com/study-plan/data-structures/" target="_blank">
-        <div class="carousel-subitem">
-          <img src="https://pic.imgdb.cn/item/61f01b302ab3f51d91c6be11.jpg" />
-          <span>3 周攻克「数据结构」</span>  
-        </div>
-      </a>
-      <a href="https://leetcode-cn.com/study-plan/dynamic-programming/" target="_blank">
-        <div class="carousel-subitem">
-          <img src="https://pic.imgdb.cn/item/61f01b1a2ab3f51d91c6a5c6.jpg" />
-          <span>「动态规划」刷题指南</span>  
-        </div>
-      </a>
-      <a href="https://leetcode-cn.com/study-plan/lcof/" target="_blank">
-        <div class="carousel-subitem">
-          <img src="https://pic.imgdb.cn/item/61f01af62ab3f51d91c67cdf.jpg" />
-          <span>剑指 Offer</span>  
-        </div>
-      </a>
-      <a href="https://leetcode-cn.com/problem-list/xb9lfcwi" target="_blank">
-        <div class="carousel-subitem">
-          <img src="https://pic.imgdb.cn/item/61f01a8b2ab3f51d91c5fdce.jpg" />
-          <span>程序员面试金典</span>  
-        </div>
-      </a>
-    </div>
-    <div class="carousel-item-problemset">
-      <a href="https://leetcode-cn.com/study-plan/efficient-winning" target="_blank">
-        <div class="carousel-subitem">
-          <img src="https://pic.imgdb.cn/item/61f01ab32ab3f51d91c62e84.jpg" />
-          <span>面试高效通关计划</span>  
-        </div>
-      </a>
-    </div>
-    <template #indicator></template>
-    <template #pagination></template>
-  </DCarousel>
-</div>
-</template>
-<script>
-import { defineComponent, getCurrentInstance } from 'vue'
-
-export default defineComponent({
-  setup() {
-    const { usePage } = getCurrentInstance().appContext.config.globalProperties
-    const { pageIndex, prevPage, nextPage } = usePage(1)
-
-    return {
-      pageIndex, prevPage, nextPage
-    }
-  }
-})
-</script>
-<style lang="scss">
-.leetcode-carousel-card-problemset {
-
-  .carousel-subitem {
-    width: 152.4px;
-    margin-right: 24px;
-    text-align: center;
-    cursor: pointer;
-
-    &:nth-child(5) {
-      margin-right: 0;
-    }
-
-    img {
-      border-radius: 13px;
-    }
-
-    span {
-      display: inline-block;
-      text-align: center;
-      font-size: 14px;
-    }
-  }
-}
-
-.carousel-item-problemset {
-  display: flex;
-  
-  a {
-    color: rgba(33,40,53);
-  }
-}
-
-.carousel-problemset-title {
-  display: flex;
-  justify-content: space-between;
-  margin-bottom: 12px;
-
-  h3 {
-    margin-top: 0;
-    font-size: 18px;
-    color: rgba(33,40,53,.75);
-  }
-}
-
-.leetcode-pagination-wrapper {
-  .btn-page {
-    align-items: center;
-    justify-content: center;
-    display: inline-flex;
-    width: 24px;
-    height: 24px;
-    border-radius: 5px;
-    background-color: rgba(0,10,32,.03);
-    cursor: pointer;
-    color: #fff;
-
-    &:hover {
-      background-color: rgba(0,10,32,.05);
-    }
-
-    &.prev {
-      margin-right: 8px;
-    }
-  }
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/pagination-position/index.html b/docs/.vitepress/dist/features/pagination-position/index.html deleted file mode 100644 index db27be0..0000000 --- a/docs/.vitepress/dist/features/pagination-position/index.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - 分页器位置 | Vue Carousel - - - - - - - - - - - -

分页器位置

<template>
-<DCarousel>
-  <div class="carousel-item">page 1</div>
-  <div class="carousel-item">page 2</div>
-  <div class="carousel-item">page 3</div>
-  <template #pagination="page">
-    <DCarouselPrev @click="page.prevPage" style="top: 40px; left: calc(100% - 110px);" />
-    <DCarouselNext @click="page.nextPage" style="top: 40px;" />
-  </template>
-</DCarousel>
-</template>
-<style>
-.carousel-item {
-  text-align: center;
-  line-height: 200px;
-  background: #f3f6f8;
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/features/qqmusic/index.html b/docs/.vitepress/dist/features/qqmusic/index.html deleted file mode 100644 index a1aad85..0000000 --- a/docs/.vitepress/dist/features/qqmusic/index.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - QQ音乐 | Vue Carousel - - - - - - - - - - - -

QQ音乐

<template>
-  <DCarousel>
-    <!-- 以下 html 片段拷贝自QQ音乐官网 -->
-    <div class="mod_playlist">
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/7759293603"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/ibO7y1R5gAqKsKKDaUxchyzkEBvN9tMHxMGhxaDsveRImUCyTiboVWrQ/300?n=1" alt="旋律说唱:一起感受粉色恋爱泡泡" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/7759293603">旋律说唱:一起感受粉色恋爱泡泡</a></span></h4><div class="playlist__other">播放量:297.2万</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/7871303692"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/bp55dcibXqUjaQjwt6gP1iaibEdjVJvp7vNbVQMjepC2ZTDNx1M3MkLnw/300?n=1" alt="鬼畜打败恐惧|整点阳间的东西" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/7871303692">鬼畜打败恐惧|整点阳间的东西</a></span></h4><div class="playlist__other">播放量:140.7万</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/8249092627"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/BibN36PYLliczibicnsXMuTzLUZaErDuDop6moxSnrfAuWnAKrqDUnibMlQ/300?n=1" alt="上班族必备:枯燥无味听点歌解闷" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/8249092627">上班族必备:枯燥无味听点歌解闷</a></span></h4><div class="playlist__other">播放量:685.5万</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/8175037786"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/W43yJLl09jro4gLJXBxMR1PKp3oH0yfqaWZsCjgJEFCxCAMhx5XdGA/300?n=1" alt="追星名场面 | 一人一首偶像曲" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/8175037786">追星名场面 | 一人一首偶像曲</a></span></h4><div class="playlist__other">播放量:35.2万</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/7845656497"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/tzTIee65HohmgERhaae4MdXH1NnSAicACibx3A81TpOj14Qheibiajcic0O13hk2qnCd3/300?n=1" alt="『甜度100%』我瞒着所有人在想你" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/7845656497">甜度100%|我瞒着所有人在想你</a></span></h4><div class="playlist__other">播放量:136.3万</div></div>
-      </div>
-    </div>
-    <div class="mod_playlist">
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/7683199209"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/Eoo44uQyI5ubcwbQbs6E0V8261fic2HA7jsGO6p5oAcsUJ5KxOdU84w/300?n=1" alt="伤感片段丨不过是南柯一梦" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/7683199209">伤感片段丨不过是南柯一梦</a></span></h4><div class="playlist__other">播放量:4921.6万</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/1169459292"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/Ej7F4g676QjYgica7iamaB8vD7Dp1Bgiaicia2V0jNunmKNT5uSFLaZ6r2w/300?n=1" alt="「90后」承载着青春回忆的歌谣" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/1169459292">「90后」承载着青春回忆的歌谣</a></span></h4><div class="playlist__other">播放量:9941.1万</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/7382629476"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/Z89aLA93LOSOicz0QOnMboqgLaiaFohjweglHh6JSoL8hrjOfFOC6DXw/300?n=1" alt="精选 | 好听到单曲循环的热歌" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/7382629476">精选 | 好听到单曲循环的热歌</a></span></h4><div class="playlist__other">播放量:14.4亿</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/4276472710"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/ic88Gx52icY2Txiaiao5n2tlPibPEGUKydonCia8mKhpetTbZnjHhBtMBkbA/300?n=1" alt="欧美节奏控 | 触碰你的听觉神经" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/4276472710">欧美节奏控 | 触碰你的听觉神经</a></span></h4><div class="playlist__other">播放量:236.9万</div></div>
-      </div>
-      <div class="playlist__item">
-        <div class="playlist__item_box"><div class="playlist__cover mod_cover"><a href="/n/ryqq/playlist/8037914794"><img class="playlist__pic" loading="lazy" src="//qpic.y.qq.com/music_cover/t3ZMFYNfykL5iaia5MjecOXibibjic2UzATaTkHnCvb5zQNQgicf1w4j0yeQ/300?n=1" alt="粉墨登场~坠入人间的星屑少女" data-qar-def="//y.qq.com/mediastyle/global/img/playlist_300.png?max_age=2592000"><i class="mod_cover__mask"></i><i class="mod_cover__icon_play"></i></a></div><h4 class="playlist__title"><span class="playlist__title_txt"><a href="/n/ryqq/playlist/8037914794">粉墨登场~坠入人间的星屑少女</a></span></h4><div class="playlist__other">播放量:762.9万</div></div>
-      </div>
-    </div>
-  </DCarousel>
-</template>
-
-<style>
-/* 以下 css 样式片段拷贝自QQ音乐官网 */
-.playlist__item {
-    position: relative;
-    padding-bottom: 0;
-    display: inline-block;
-    width: 224px;
-    padding-bottom: 44px;
-    overflow: hidden;
-    font-size: 14px;
-    vertical-align: top;
-}
-
-a:hover {
-    color: #31c27c;
-}
-a, a:hover {
-    text-decoration: none;
-}
-a {
-    color: #000;
-    cursor: pointer;
-}
-
-.playlist__item_box {
-    position: absolute;
-    top: 0;
-    left: 0;
-    right: 0;
-}
-
-.playlist__item_box {
-    position: relative;
-    margin-right: 20px;
-}
-
-.playlist__cover {
-    position: relative;
-    display: block;
-    overflow: hidden;
-    padding-top: 100%;
-    margin-bottom: 15px;
-}
-
-.playlist__pic {
-    height: 100%;
-    -o-object-fit: cover;
-    object-fit: cover;
-}
-
-.playlist__pic {
-    transform: scale(1) translateZ(0);
-    transition: transform .75s;
-}
-
-.playlist__pic {
-    position: absolute;
-    top: 0;
-    left: 0;
-    width: 100%;
-    -webkit-transform: scale(1) translateZ(0);
-    -webkit-transition: -webkit-transform .75s;
-}
-
-.playlist__cover:hover .playlist__pic {
-    transform: scale(1.07) translateZ(0);
-    transition: transform .75s cubic-bezier(0,1,.75,1);
-}
-
-.playlist__title_txt {
-    white-space: normal;
-}
-
-.playlist__title {
-    overflow: hidden;
-    margin: 0;
-    padding: 0;
-    font-size: 14px;
-}
-
-.playlist__title_txt {
-    float: left;
-    max-width: 100%;
-    font-weight: 400;
-    overflow: hidden;
-    text-overflow: ellipsis;
-    line-height: 22px;
-    max-height: 44px;
-}
-
-.playlist__author, .playlist__author a, .playlist__other {
-    color: #999;
-    white-space: nowrap;
-    overflow: hidden;
-    text-overflow: ellipsis;
-    height: 22px;
-    font-size: 14px;
-}
-
-.mod_playlist {
-  margin-left: 110px;
-}
-</style>
-
- - - - - \ No newline at end of file diff --git a/docs/.vitepress/dist/index.html b/docs/.vitepress/dist/index.html deleted file mode 100644 index 7ee1722..0000000 --- a/docs/.vitepress/dist/index.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - 快速开始 | Vue Carousel - - - - - - - - - - - -

快速开始

创建一个vite工程:

yarn create vite vite-demo --template vue-ts
-

安装Carousel

yarn add @kagol/vue-carousel
-

main.ts中引入Carousel

import Carousel from '@kagol/vue-carousel'
-import '@kagol/vue-carousel/dist/style.css'
-
-createApp(App)
-.use(Carousel)
-.mount('#app')
-

App.vue中使用:

<template>
-  <DCarousel>
-    <div class="carousel-item">page 1</div>
-    <div class="carousel-item">page 2</div>
-    <div class="carousel-item">page 3</div>
-  </DCarousel>
-</template>
-<style>
-.carousel-item {
-  text-align: center;
-  line-height: 200px;
-  background: #f3f6f8;
-}
-</style>
-

API


DCarousel 组件

props

属性类型默认说明
v-modelNumber1可选,当前页码
autoplayBooleantrue可选,是否自动播放
intervalNumber3000可选,自动播放的时间间隔,单位是毫秒

插槽

属性类型默认说明
default----必选,默认插槽
indicator----可选,指示器插槽
pagination----可选,分页器插槽

DCarouselIndicator 组件

props

属性类型默认说明
v-modelNumber1可选,当前页码
countNumber--可选,指示器元素数量

插槽

属性类型默认说明
default({ pageIndex, setPageIndex }) => {}--可选,默认插槽

DCarouselPrev 组件

插槽

属性类型默认说明
default----可选,默认插槽

DCarouselNext 组件

插槽

属性类型默认说明
default----可选,默认插槽
- - - - - \ No newline at end of file diff --git a/package.json b/package.json index 595f4f9..bf07431 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,10 @@ "build:lib": "vite build --config vite.config.lib.ts", "preview": "vite preview", "docs:dev": "vitepress dev docs", - "docs:build": "vitepress build docs && yarn copy:assets", + "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "register:components": "vitepress-rc", - "test": "jest", - "copy:assets": "cp docs/assets/* docs/.vitepress/dist/assets" + "test": "jest" }, "author": "Kagol ", "license": "MIT",