<<<<<<<< HEAD:dist/assets/index-legacy-53b7cff6.js
System.register(["./index-legacy-dacf2886.js","./index-legacy-6d5b16ab.js"],(function(e,a){"use strict";var l,n,r,o,t,d,s,i,u,c,v,p,m,b,g,y,f,h,x,k,A,C,V,j;return{setters:[e=>{l=e.c,n=e.d,r=e.ag,o=e.a2,t=e.a,d=e.aO,s=e.t,i=e.k,u=e.ai,c=e.n,v=e.r,p=e.aj,m=e.e,b=e.aP,g=e.w,y=e.aQ,f=e.z,h=e.aA,x=e.ak,k=e.h,A=e.g,C=e.v},e=>{V=e.c,j=e.C}],execute:function(){const[a,S]=l("collapse"),z=Symbol(a),B={border:s,accordion:Boolean,modelValue:{type:[String,Number,Array],default:""}};var N=n({name:a,props:B,emits:["change","update:modelValue"],setup(e,{emit:a,slots:l}){const{linkChildren:n,children:s}=r(z),i=e=>{a("change",e),a("update:modelValue",e)};return o({toggleAll:(a={})=>{if(e.accordion)return;"boolean"==typeof a&&(a={expanded:a});const{expanded:l,skipDisabled:n}=a,r=s.filter((e=>e.disabled&&n?e.expanded.value:null!=l?l:!e.expanded.value)).map((e=>e.itemName.value));i(r)}}),n({toggle:(a,l)=>{const{accordion:n,modelValue:r}=e;i(n?a===r?"":a:l?r.concat(a):r.filter((e=>e!==a)))},isExpanded:a=>{const{accordion:l,modelValue:n}=e;return!!function(e,a){return a&&Array.isArray(e)?(console.error('[Vant] Collapse: "v-model" should not be Array in accordion mode'),!1):!(!a&&!Array.isArray(e)&&(console.error('[Vant] Collapse: "v-model" should be Array in non-accordion mode'),1))}(n,l)&&(l?n===a:n.includes(a))}}),()=>{var a;return t("div",{class:[S(),{[d]:e.border}]},[null==(a=l.default)?void 0:a.call(l)])}}});e("C",i(N));const[w,E]=l("collapse-item"),L=["icon","title","value","label","right-icon"],O=u({},V,{name:c,isLink:s,disabled:Boolean,readonly:Boolean,lazyRender:s});var R=n({name:w,props:O,setup(e,{slots:a}){const l=v(),n=v(),{parent:r,index:d}=p(z);if(!r)return void console.error("[Vant] <CollapseItem> must be a child component of <Collapse>.");const s=m((()=>{var a;return null!=(a=e.name)?a:d.value})),i=m((()=>r.isExpanded(s.value))),u=v(i.value),c=b((()=>u.value||!e.lazyRender)),S=()=>{i.value?l.value&&(l.value.style.height=""):u.value=!1};g(i,((e,a)=>{null!==a&&(e&&(u.value=!0),(e?f:h)((()=>{if(!n.value||!l.value)return;const{offsetHeight:a}=n.value;if(a){const n=`${a}px`;l.value.style.height=e?"0":n,y((()=>{l.value&&(l.value.style.height=e?n:"0")}))}else S()})))}));const B=(e=!i.value)=>{r.toggle(s.value,e)},N=()=>{e.disabled||e.readonly||B()},w=()=>{const{border:l,disabled:n,readonly:r}=e,o=x(e,Object.keys(V));return r&&(o.isLink=!1),(n||r)&&(o.clickable=!1),t(j,k({role:"button",class:E("title",{disabled:n,expanded:i.value,borderless:!l}),"aria-expanded":String(i.value),onClick:N},o),x(a,L))},O=c((()=>{var e;return A(t("div",{ref:l,class:E("wrapper"),onTransitionend:S},[t("div",{ref:n,class:E("content")},[null==(e=a.default)?void 0:e.call(a)])]),[[C,u.value]])}));return o({toggle:B,expanded:i,itemName:s}),()=>t("div",{class:[E({border:d.value&&e.border})]},[w(),O()])}});e("a",i(R))}}}));
========
System.register(["./index-legacy-cc1c21a0.js","./index-legacy-b47bcb0a.js"],(function(e,a){"use strict";var l,n,r,o,t,d,s,i,u,c,v,p,m,b,g,y,f,h,x,k,A,C,V,j;return{setters:[e=>{l=e.c,n=e.d,r=e.ag,o=e.a2,t=e.a,d=e.aO,s=e.t,i=e.k,u=e.ai,c=e.n,v=e.r,p=e.aj,m=e.e,b=e.aP,g=e.w,y=e.aQ,f=e.z,h=e.aA,x=e.ak,k=e.h,A=e.g,C=e.v},e=>{V=e.c,j=e.C}],execute:function(){const[a,S]=l("collapse"),z=Symbol(a),B={border:s,accordion:Boolean,modelValue:{type:[String,Number,Array],default:""}};var N=n({name:a,props:B,emits:["change","update:modelValue"],setup(e,{emit:a,slots:l}){const{linkChildren:n,children:s}=r(z),i=e=>{a("change",e),a("update:modelValue",e)};return o({toggleAll:(a={})=>{if(e.accordion)return;"boolean"==typeof a&&(a={expanded:a});const{expanded:l,skipDisabled:n}=a,r=s.filter((e=>e.disabled&&n?e.expanded.value:null!=l?l:!e.expanded.value)).map((e=>e.itemName.value));i(r)}}),n({toggle:(a,l)=>{const{accordion:n,modelValue:r}=e;i(n?a===r?"":a:l?r.concat(a):r.filter((e=>e!==a)))},isExpanded:a=>{const{accordion:l,modelValue:n}=e;return!!function(e,a){return a&&Array.isArray(e)?(console.error('[Vant] Collapse: "v-model" should not be Array in accordion mode'),!1):!(!a&&!Array.isArray(e)&&(console.error('[Vant] Collapse: "v-model" should be Array in non-accordion mode'),1))}(n,l)&&(l?n===a:n.includes(a))}}),()=>{var a;return t("div",{class:[S(),{[d]:e.border}]},[null==(a=l.default)?void 0:a.call(l)])}}});e("C",i(N));const[w,E]=l("collapse-item"),L=["icon","title","value","label","right-icon"],O=u({},V,{name:c,isLink:s,disabled:Boolean,readonly:Boolean,lazyRender:s});var R=n({name:w,props:O,setup(e,{slots:a}){const l=v(),n=v(),{parent:r,index:d}=p(z);if(!r)return void console.error("[Vant] <CollapseItem> must be a child component of <Collapse>.");const s=m((()=>{var a;return null!=(a=e.name)?a:d.value})),i=m((()=>r.isExpanded(s.value))),u=v(i.value),c=b((()=>u.value||!e.lazyRender)),S=()=>{i.value?l.value&&(l.value.style.height=""):u.value=!1};g(i,((e,a)=>{null!==a&&(e&&(u.value=!0),(e?f:h)((()=>{if(!n.value||!l.value)return;const{offsetHeight:a}=n.value;if(a){const n=`${a}px`;l.value.style.height=e?"0":n,y((()=>{l.value&&(l.value.style.height=e?n:"0")}))}else S()})))}));const B=(e=!i.value)=>{r.toggle(s.value,e)},N=()=>{e.disabled||e.readonly||B()},w=()=>{const{border:l,disabled:n,readonly:r}=e,o=x(e,Object.keys(V));return r&&(o.isLink=!1),(n||r)&&(o.clickable=!1),t(j,k({role:"button",class:E("title",{disabled:n,expanded:i.value,borderless:!l}),"aria-expanded":String(i.value),onClick:N},o),x(a,L))},O=c((()=>{var e;return A(t("div",{ref:l,class:E("wrapper"),onTransitionend:S},[t("div",{ref:n,class:E("content")},[null==(e=a.default)?void 0:e.call(a)])]),[[C,u.value]])}));return o({toggle:B,expanded:i,itemName:s}),()=>t("div",{class:[E({border:d.value&&e.border})]},[w(),O()])}});e("a",i(R))}}}));
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/index-legacy-2e3e21b7.js
