System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159"],function(t,n){"use strict";var e,i,l,s,r,o,c,u,a,p,d,f,y,x,k,m,v,b,_,C,g,h;return{setters:[function(t){e=t.c,i=t.v,l=t.x,s=t.F,r=t.b0,o=t.N,c=t.D,u=t.B,a=t.K,p=t.z,d=t.A,f=t.y,y=t.e,x=t.C,k=t.b1,m=t.G,v=t.ar,b=t.aq,_=t.ap},function(t){C=t.af,g=t.b3,h=t._}],execute:function(){var n={class:"flex items-center"},w={key:1},z={key:0},B={key:1,class:"inline-block flex flex-col py-[12px] mb-[8px]"},L={class:"text-secondary text-base mb-[8px]"},j=["innerHTML"];t("_",h(e({__name:"index",props:{options:{default:function(){return[]}}},setup:function(t){var e=function(t){return!t.hide||g(t.hide)&&!t.hide()},h=function(t){return t.active?"primary":"default"};return function(t,g){var H=k,M=m,T=v,q=b,A=_;return i(),l("div",n,[(i(!0),l(s,null,r(t.options,function(t,n){return i(),l(s,null,[t.division?(i(),o(H,{key:"division"+n,class:"!h-[25px]",direction:"vertical"})):c("",!0),e(t)&&!t.dropdown?(i(),o(M,{key:n,size:t.size||"",type:h(t),title:f(C)(t.title)?t.content:t.title,class:"!flex items-center",onClick:t.event},{default:u(function(){return[t.icon?(i(),l("i",{key:0,class:a(t.icon+" mr-4px")},null,2)):c("",!0),p("span",{class:a("flex items-center "+t.class)},d(t.content),3)]}),_:2},1032,["size","type","title","onClick"])):c("",!0),e(t)&&t.dropdown?(i(),o(A,{key:"dropdown"+n,"split-button":t.splitButton,type:h(t),size:"small",onClick:t.event},{dropdown:u(function(){return[y(q,null,{default:u(function(){return[(i(!0),l(s,null,r(t.settingList,function(n,e){return i(),o(T,{key:e,class:a(["!py-0 !px-[1.5rem] !leading-[2.7rem]",!0===n.hide?"hidden":""]),onClick:function(e){return t.event(n.name)}},{default:u(function(){return[n.description?c("",!0):(i(),l("span",z,d(n.label),1)),n.description?(i(),l("div",B,[p("span",L,d(n.label),1),p("span",{class:"text-tertiary text-small",innerHTML:n.description},null,8,j)])):c("",!0)]}),_:2},1032,["class","onClick"])}),128))]}),_:2},1024)]}),default:u(function(){return[t.splitButton?c("",!0):(i(),o(M,{key:0,type:"default"},{default:u(function(){return[x(d(t.content)+" ",1),g[0]||(g[0]=p("i",{class:"svgtofont-arrow-down ml-4px text-small"},null,-1))]}),_:2,__:[0]},1024)),t.splitButton?(i(),l("span",w,d(t.content),1)):c("",!0)]}),_:2},1032,["split-button","type","onClick"])):c("",!0)],64)}),256))])}}}),[["__scopeId","data-v-b616a617"]]))}}});
