import{_ as r,o as n,g as o,i,bi as p,A as f,P as c,t as l}from"./app-e7b909c6.js";const k={props:{height:{type:Number,default:112}},data:()=>({expanded:!1,triggerShowMore:!1}),methods:{onClick(){this.expanded=!this.expanded}}};function m(e,s,d,u,_,a){return n(),o("div",null,[i("div",{class:f({default:!e.expanded,expanded:e.expanded}),style:c(`height:${d.height}px`)},[p(e.$slots,"default",{},void 0,!0)],6),e.expanded?(n(),o("a",{key:1,class:"primary-text fw-700 fs-12 mt-3 d-inline-block c-pointer",onClick:s[1]||(s[1]=(...t)=>a.onClick&&a.onClick(...t))},l(e.$t("show_less")),1)):(n(),o("a",{key:0,class:"primary-text fw-700 fs-12 mt-3 d-inline-block c-pointer",onClick:s[0]||(s[0]=(...t)=>a.onClick&&a.onClick(...t))},l(e.$t("show_more")),1))])}const y=r(k,[["render",m],["__scopeId","data-v-f50f6133"]]);export{y as S};
