import{d as a,i as r,u as i}from"./dav-D-0Zsvk_.chunk.mjs";import{n as l,j as g}from"./index-VDTWCae_.chunk.mjs";const p=`<svg
	xmlns="http://www.w3.org/2000/svg"
	viewBox="0 0 24 12">
	<path d="M17,1H7A5,5 0 0,0 2,6 5,5 0 0,0 7,11H17A5,5 0 0,0 22,6 5,5 0 0,0 17,1Z" />
	<circle
		cy="6"
		r="3"
		fill="var(--color-main-background)" />
</svg>`,v=a({__name:"NcIconToggleSwitch",props:{checked:{type:Boolean},size:{default:34},inline:{type:Boolean,default:!1}},setup(o){const c=o;i((w,s)=>({"2d1b8583":s.color,"78386a55":s.cx}));const e=r(()=>c.checked?"var(--color-primary-element)":"var(--color-text-maxcontrast)"),n=r(()=>c.checked?"calc(17 / 24 * 100%)":"calc(7 / 24 * 100%)");return{__sfc:!0,svg:p,props:c,color:e,cx:n,NcIconSvgWrapper:g}}}),d="_iconToggleSwitch_rwBqv",h={"material-design-icon":"_material-design-icon_584lD",iconToggleSwitch:d};var m=function(){var o=this,c=o._self._c,e=o._self._setupProxy;return c(e.NcIconSvgWrapper,{class:o.$style.iconToggleSwitch,attrs:{svg:e.svg,size:o.size,inline:o.inline}})},_=[];const t={$style:h};function f(o){for(var c in t)this[c]=t[c]}var u=l(v,m,_,!1,f,null);const S=u.exports;export{S as N};
//# sourceMappingURL=NcIconToggleSwitch-DCTeQGv5-FeLJtWqi.chunk.mjs.map
