PageSourceSearch

https://emplibot.com/_next/static/chunks/pages/free-social-media-roi-calculator-d938c18b8f76ac88.js

js emplibot.com collected 2026-10-02 02:47:25 UTC 20,879 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5430],{1900:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/free-social-media-roi-calculator",function(){return t(4349)}])},5261:function(e,i,t){"use strict";t.d(i,{t:function(){return CTASection}});var r=t(5893);t(7294);var n=t(168),a=t(3078),s=t(8207),l=t(8008),o=t(4410),c=t(356),d=t(4957),u=t(7249),m=t(7614);function CTASection(){return(0,r.jsx)(n.x,{style:{background:"linear-gradient(135deg, var(--mantine-color-skyBlue-0) 0%, var(--mantine-color-skyBlue-0) 100%)",width:"100%",padding:"4rem 0"},children:(0,r.jsx)(a.W,{size:"lg",children:(0,r.jsxs)(s.K,{align:"center",gap:"xl",mt:50,mb:50,children:[(0,r.jsx)(l.D,{order:2,style:{color:"#233876",textAlign:"center",maxWidth:"1200px",fontSize:"clamp(1.8rem, 4vw, 2.8rem)"},children:"Experience The Power Of AI Content Marketing"}),(0,r.jsx)(o.x,{size:"lg",ta:"center",maw:800,mx:"auto",style:{color:"#4A5568",lineHeight:1.6},children:"Start growing your business today. Save countless hours of tedious work."}),(0,r.jsxs)(c.Z,{gap:"md",children:[(0,r.jsx)(d.z,{size:"lg",radius:"md",component:"a",href:"".concat(m.E5,"/signup"),color:"blue",style:{padding:"0 2rem",height:"50px",fontSize:"1.1rem"},children:"Start your free 7-day trial"}),(0,r.jsx)(d.z,{size:"lg",radius:"md",component:"a",href:"https://calendar.app.google/dyXHAGgAkzLFok8W8",variant:"outline",target:"_blank",rel:"noopener noreferrer",style:{padding:"0 2rem",height:"50px",fontSize:"1.1rem"},children:"Book a demo"})]}),(0,r.jsxs)(c.Z,{gap:"xl",mt:"md",children:[(0,r.jsxs)(c.Z,{gap:"xs",children:[(0,r.jsx)(u.Z,{size:20,color:"blue"}),(0,r.jsx)(o.x,{size:"md",style:{color:"#4A5568"},children:"7-day free trial"})]}),(0,r.jsxs)(c.Z,{gap:"xs",children:[(0,r.jsx)(u.Z,{size:20,color:"blue"}),(0,r.jsx)(o.x,{size:"md",style:{color:"#4A5568"},children:"Cancel anytime"})]})]})]})})})}},4349:function(e,i,t){"use strict";t.r(i),t.d(i,{default:function(){return SocialMediaRoiCalculatorPage}});var r=t(5893),n=t(2962),a=t(7198),s=t(7294),l=t(3078),o=t(8008),c=t(4410),d=t(168),u=t(356),m=t(4638),h=t(1906),x=t(8878),p=t(6907),g=t(3249),y=t(8207),b=t(9714),f=t(4298),j=t.n(f);function SocialMediaRoiCalculator(){let[e,i]=(0,s.useState)(!1),[t,n]=(0,s.useState)(60),[a,f]=(0,s.useState)(50),[w,v]=(0,s.useState)(30),[C,S]=(0,s.useState)(99),[I,k]=(0,s.useState)(3),[D,R]=(0,s.useState)(3),[z,M]=(0,s.use
1State)(12e3),[A,_]=(0,s.useState)(12),[O,P]=(0,s.useState)(0),[Z,N]=(0,s.useState)(0),[F,T]=(0,s.useState)(0),[E,Y]=(0,s.useState)(0),[B,W]=(0,s.useState)(0),[V,G]=(0,s.useState)(["Calculate to see insights about your social media strategy."]),H=(0,s.useRef)(null),q=(0,s.useRef)(null);(0,s.useEffect)(()=>{calculateROI()},[e,t,a,w,C,I,D,z,A]),(0,s.useEffect)(()=>{let initChart=()=>{window.Chart?calculateROI():setTimeout(initChart,100)};initChart()},[]);let calculateROI=()=>{let i,r,n,s;if(e){i=7*w/60;let e=4.33*i*a;r=C+e,n=D*z/12}else r=4.33*(i=7*t/60)*a,n=I*z/12;P(i),N(r),T(n),Y(s=r>0?(n-r)/r*100:0),W(12*s),updateChart(Array(A).fill(n),Array(A).fill(r),A),generateInsights({isAiMode:e,minutesPerDay:e?w:t,hourlyRate:a,monthlyNewClients:e?D:I,clientAnnualRevenue:z,monthlyCostValue:r,monthlyRevenueValue:n,monthlyROIValue:s})},updateChart=(e,i,t)=>{if(!H.current||!window.Chart)return;q.current&&q.current.destroy();let r=H.current.getContext("2d");if(!r)return;let n=Array.from({length:t},(e,i)=>"Month ".concat(i+1)),a=[],s=[],l=0,o=0;for(let r=0;r<t;r++)l+=e[r],o+=i[r],a.push(l),s.push(o);q.current=new window.Chart(r,{type:"line",data:{labels:n,datasets:[{label:"Cumulative Revenue",data:a,borderColor:"rgb(75, 192, 192)",tension:.1,fill:!1},{label:"Cumulative Investment",data:s,borderColor:"rgb(255, 99, 132)",tension:.1,fill:!1}]},options:{responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!0,text:"Revenue vs Investment Over Time"},tooltip:{callbacks:{label:function(e){return e.dataset.label+": "+formatCurrency(e.parsed.y)}}}},scales:{y:{beginAtZero:!0,ticks:{callback:function(e){return formatCurrency(Number(e))}}}}}})},generateInsights=e=>{let i=[];if(e.isAiMode){i.push("\uD83E\uDD16 AI-powered social media marketing insights:"),e.monthlyROIValue<0?(i.push("⚠️ Your AI social media strategy is not yet profitable. Consider:"),i.push("• Adjusting your client acquisition strategy to increase conversions")):e.monthlyROIValue>200?i.push("\uD83C\uDF1F Your AI-powered social media strategy shows exceptional ROI potential!"):e.monthlyROIValue>100&&i.push("✨ Your AI-powered social media strategy shows strong ROI potential!");let r=t-e.minutesPerDay;r>0&&i.push("⏱️ You're saving ".concat(r," minutes per day compared to traditional methods.")),e.monthlyNewClients>15&&i.push("\uD83D\uDE80 Your AI-powered client acquisition rate is impressive! Consider scaling your operations.");let n=e.monthlyRevenueValue/e.monthlyCostValue;n>3&&i.push("\uD83D\uDCB0 Your AI investment is delivering excellent returns!"),i.push("\uD83D\uDD0D AI tools can help you identify optimal posting times and content types"),i.push("\uD83D\uDCCA Consider using AI analytics to further refine your social media strategy")}else{e.monthlyROIValue<0?(i.push("⚠️ Your current social media strategy is not profitable. Consider:"),e.minutesPerDay>60&&i.push("• Reducing time spent on social media while maintaining quality engagement"),e.monthlyNewClients<5&&i.push("• Improving your call-to-action strategy to increase conversion rates")):e.monthlyROIValue>100&&i.push("\uD83C\uDF1F Your social media strategy shows excellent potential returns!"),e.minutesPerDay<15?i.push("⏰ Consider increasing your daily social media management time for better engagement"):e.minutesPerDay>120&&i.push("⚖️ You're spending a significant amount of time on social media. Consider automating some tasks."),e.monthlyNewClients<3?i.push("\uD83C\uDFAF Focus on improving your conversion strategy to acquire more clients"):e.monthlyNewClients>20&&i.push("\uD83D\uDE80 Your client acquisition rate is impressive! Consider scaling your operations.");let t=e.monthlyRevenueValue/e.monthlyCostValue;t<1.5&&t>1&&i.push("\uD83D\uDCA1 Consider optimizing costs or increasing client value to improve margins"),e.hourlyRate<50?i.push("\uD83D\uDCB0 Your hourly rate is relatively low. Consider increasing it to reflect the value you provide."):e.hourlyRate>300&&i.push("\uD83D\uDC8E With your premium hourly rate, focus on high-quality content and engagement."),i.push("\uD83E\uDD16 Consider using Emplibot to automate your social media content creation and save time")}G(i)},formatCurrency=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2}).format(e);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j(),{src:"https://cdn.jsdelivr.net/npm/chart.js",strategy:"lazyOnload"}),(0,r.jsxs)(l.W,{size:"lg",py:60,children:[(0,r.jsx)(o.D,{order:1,mb:10,mt:0,ta:"center",children:"Free Social Media ROI Calculator"}),(0,r.jsx)(c.x,{ta:"center",c:"dimmed",mb:20,size:"lg",children:"Calculate the return on investment (ROI) for your social media marketing strategy"}),(0,r.jsx)(d.x,{mt:30,mb:30}),(0,r.jsx)(d.x,{mt:30,mb:30,children:(0,r.jsxs)(u.Z,{justify:"center",mb:10,children:[(0,r.jsx)(c.x,{fw:e?400:700,c:e?"dimmed":"#233876",mr:5,children:"Traditional Social Media Marketing"}),(0,r.jsx)(m.r,{checked:e,onChange:e=>i(e.currentTarget.checked),size:"md",styles:{root:{boxShadow:"none",cursor:"pointer"},track:{boxShadow:"none",border:"none",backgroundColor:"#228be6"},thumb:{cursor:"pointer"},input:{cursor:"pointer"}}}),(0,r.jsx)(c.x,{fw:e?700:400,c:e?"#233876":"dimmed",ml:5,children:"AI-Powered Social Media Marketing"})]})}),(0,r.jsxs)(h.r,{children:[(0,r.jsxs)(h.r.Col,{span:{base:12,md:6},children:[(0,r.jsxs)(x.Z,{shadow:"sm",mb:"md",withBorder:!0,children:[(0,r.jsx)(x.Z.Section,{withBorder:!0,inheritPadding:!0,py:"xs",children:(0,r.jsxs)(u.Z,{justify:"space-between",children:[(0,r.jsx)(c.x,{fw:700,size:"lg",children:"Social Media Management"}),(0,r.jsx)(b.Z,{size:24,color:"#228be6"})]})}),(0,r.jsx)(x.Z.Section,{p:"md",children:e?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"How Many Minutes Per Day Will You Spend on Managing Social Media With The AI Tool?"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"With AI automation, you'll spend significantly less time on social media management."}),(0,r.jsx)(p.i,{label:e=>"".concat(e," minutes"),value:w,onChange:v,min:0,max:240,step:5,mb:"xl",marks:[{value:0,label:"0"},{value:60,label:"60"},{value:120,label:"120"},{value:180,label:"180"},{value:240,label:"240"}]}),(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"Hourly Rate of the Person Doing Social Media With AI"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"Even with AI tools, your time still has value. This helps calculate the true ROI."}),(0,r.jsx)(g.Y,{value:a,onChange:e=>f(Number(e)||0),min:0,mb:"xl",prefix:"$"}),(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"Monthly Cost of AI Social Media Tool"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"The fixed monthly cost for an AI-powered social media marketing tool."}),(0,r.jsx)(g.Y,{value:C,onChange:e=>S(Number(e)||0),min:0,mb:"xl",prefix:"$"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"How Many Minutes Per Day Will You Spend on Managing Social Media?"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"The efficiency of your social media team in managing these tasks can significantly impact your overall ROI."}),(0,r.jsx)(p.i,{label:e=>"".concat(e," minutes"),value:t,onChange:n,min:0,max:240,step:5,mb:"xl",marks:[{value:0,label:"0"},{value:60,label:"60"},{value:120,label:"120"},{value:180,label:"180"},{value:240,label:"240"}]}),(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"Hourly Rate of the Person Doing Social Media"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"If you manage your own social media channels - what is an hour of your time worth? Understanding the hourly rate helps in accurately calculating your social media ROI."}),(0,r.jsx)(g.Y,{value:a,onChange:e=>f(Number(e)||0),min:0,mb:"xl",prefix:"$"})]})})]}),(0,r.jsxs)(x.Z,{shadow:"sm",withBorder:!0,children:[(0,r.jsx)(x.Z.Section,{withBorder:!0,inheritPadding:!0,py:"xs",children:(0,r.jsx)(c.x,{fw:700,size:"lg",children:"Revenue & Projection"})}),(0,r.jsxs)(x.Z.Section,{p:"md",children:[e?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"Monthly New Clients with AI-Powered Social Media"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"AI-powered tools can help increase your client acquisition rate through better targeting, consistent posting, and data-driven optimization."}),(0,r.jsx)(g.Y,{value:D,onChange:e=>R(Number(e)||0),min:0,mb:"xl"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"Enter the Number of Monthly New Clients from Social Media"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"What percentage of your leads turn into customers? This is critical to monitor. Talk to sales and make sure the leads you deliver are top notch. Increasing lead to customer rate c
1an drastically improve the ROI."}),(0,r.jsx)(g.Y,{value:I,onChange:e=>k(Number(e)||0),min:0,mb:"xl"})]}),(0,r.jsx)(c.x,{fw:600,mb:"xs",children:"What is the Annual Revenue from ONE Client?"}),(0,r.jsx)(c.x,{size:"sm",c:"dimmed",mb:"md",children:"Tracking these metrics across different social media platforms can help you optimize your strategy and improve ROI. Regularly calculating your social ROI helps in understanding the true impact of your social media efforts."}),(0,r.jsx)(g.Y,{value:z,onChange:e=>M(Number(e)||0),min:0,mb:"md",prefix:"$"}),(0,r.jsx)(g.Y,{label:"Months to Project",description:"Number of months to forecast ROI",value:A,onChange:e=>_(Number(e)||0),min:1,max:60,mb:"md"})]})]})]}),(0,r.jsxs)(h.r.Col,{span:{base:12,md:6},children:[(0,r.jsxs)(x.Z,{shadow:"sm",mb:"md",withBorder:!0,children:[(0,r.jsx)(x.Z.Section,{withBorder:!0,inheritPadding:!0,py:"xs",children:(0,r.jsx)(c.x,{fw:700,size:"lg",children:"ROI Analysis"})}),(0,r.jsx)(x.Z.Section,{p:"md",children:(0,r.jsxs)(y.K,{children:[(0,r.jsxs)(d.x,{children:[(0,r.jsx)(c.x,{size:"sm",c:"dimmed",children:"Hours Spent on Social Media per Week"}),(0,r.jsx)(c.x,{size:"xl",fw:600,p:"xs",bg:"gray.0",style:{borderRadius:"4px"},children:O.toFixed(1)})]}),(0,r.jsxs)(d.x,{children:[(0,r.jsx)(c.x,{size:"sm",c:"dimmed",children:"Cost of Social Media Management/Month"}),(0,r.jsx)(c.x,{size:"xl",fw:600,p:"xs",bg:"gray.0",style:{borderRadius:"4px"},children:formatCurrency(Z)})]}),(0,r.jsxs)(d.x,{children:[(0,r.jsx)(c.x,{size:"sm",c:"dimmed",children:"Monthly Revenue Generated Through Social Media"}),(0,r.jsx)(c.x,{size:"xl",fw:600,p:"xs",bg:"gray.0",style:{borderRadius:"4px"},children:formatCurrency(F)})]}),(0,r.jsxs)(d.x,{children:[(0,r.jsx)(c.x,{size:"sm",c:"dimmed",children:"Your Monthly Social Media ROI"}),(0,r.jsx)(c.x,{size:"xl",fw:600,p:"xs",bg:"gray.0",style:{borderRadius:"4px"},children:formatCurrency(F-Z)})]})]})})]}),(0,r.jsxs)(x.Z,{shadow:"sm",mb:"md",withBorder:!0,children:[(0,r.jsx)(x.Z.Section,{withBorder:!0,inheritPadding:!0,py:"xs",children:(0,r.jsx)(c.x,{fw:700,size:"lg",children:"Revenue vs Investment Over Time"})}),(0,r.jsx)(x.Z.Section,{p:"md",children:(0,r.jsx)(d.x,{h:400,children:(0,r.jsx)("canvas",{ref:H})})})]}),(0,r.jsxs)(x.Z,{shadow:"sm",mb:"md",withBorder:!0,children:[(0,r.jsx)(x.Z.Section,{withBorder:!0,inheritPadding:!0,py:"xs",children:(0,r.jsx)(c.x,{fw:700,size:"lg",children:"Insights"})}),(0,r.jsx)(x.Z.Section,{p:"md",children:(0,r.jsx)(y.K,{gap:"xs",children:V.map((e,i)=>(0,r.jsx)(c.x,{children:e},i))})})]})]})]})]})]})}var w=t(5261);function SocialMediaRoiCalculatorPage(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.PB,{title:"Free Social Media ROI Calculator",description:"Calculate the return on investment for your social media marketing strategy. See how to improve your social media ROI.",openGraph:{title:"Free Social Media ROI Calculator",description:"Calculate the return on investment for your social media marketing strategy. See how to improve your social media ROI.",url:"https://emplibot.com/free-social-media-roi-calculator",type:"website"},additionalMetaTags:[{name:"keywords",content:"Free Social Media ROI Calculator, social media ROI, social media marketing ROI, social media investment, social media management"}]}),(0,r.jsxs)(a.A,{children:[(0,r.jsx)("div",{style:{marginTop:"70px"}}),(0,r.jsx)(SocialMediaRoiCalculator,{}),(0,r.jsx)("div",{style:{marginTop:"60px"}}),(0,r.jsx)(w.t,{})]})]})}},160:function(e,i,t){"use strict";t.d(i,{Z:function(){return u},J:function(){return d}});var r=t(5893),n=t(7294),a=t(9429),s=t(6976),l=t(168),o=t(2869),c={root:"m_5f75b09e",body:"m_5f6e695e",labelWrapper:"m_d3ea56bb",label:"m_8ee546b8",description:"m_328f68c0",error:"m_8e8a99cc"};let d=c,u=(0,n.forwardRef)(({__staticSelector:e,__stylesApiProps:i,className:t,classNames:n,styles:d,unstyled:u,children:m,label:h,description:x,id:p,disabled:g,error:y,size:b,labelPosition:f="left",bodyElement:j="div",labelElement:w="label",variant:v,style:C,vars:S,mod:I,...k},D)=>{let R=(0,s.y)({name:e,props:i,className:t,style:C,classes:c,classNames:n,styles:d,unstyled:u});return(0,r.jsx)(l.x,{...R("root"),ref:D,__vars:{"--label-fz":(0,a.yv)(b),"--label-lh":(0,a.ap)(b,"label-lh")},mod:[{"label-position":f},I],variant:v,size:b,...k,children:(0,r.jsxs)(l.x,{component:j,htmlFor:"label"===j?p:void 0,...R("body"),children:[m,(0,r.jsxs)("div",{...R("labelWrapper"),"data-disabled":g||void 0,children:[h&&(0,r.jsx)(l.x,{component:w,htmlFor:"label"===w?p:void 0,...R("label"),"data-disabled":g||void 0,children:h}),x&&(0,r.jsx)(o.I.Description,{size:b,__inheritStyles:!1,...R("description"),children:x}),y&&"boolean"!=typeof y&&(0,r.jsx)(o.I.Error,{size:b,__inheritStyles:!1,...R("error"),children:y})]})]})})});u.displayName="@mantine/core/InlineInput"},9938:function(e,i,t){"use strict";t.d(i,{M:function(){return c}});var r=t(5893);t(7294);var n=t(3362),a=t(2869),s=t(987),l=t(9996);let o={__staticSelector:"InputBase",withAria:!0},c=(0,n.b)((e,i)=>{let{inputProps:t,wrapperProps:n,...c}=function(e,i,t){let r=(0,s.w)(e,i,t),{label:n,description:a,error:o,required:c,classNames:d,styles:u,className:m,unstyled:h,__staticSelector:x,__stylesApiProps:p,errorProps:g,labelProps:y,descriptionProps:b,wrapperProps:f,id:j,size:w,style:v,inputContainer:C,inputWrapperOrder:S,withAsterisk:I,variant:k,vars:D,mod:R,...z}=r,{styleProps:M,rest:A}=(0,l.c)(z),_={label:n,description:a,error:o,required:c,classNames:d,className:m,__staticSelector:x,__stylesApiProps:p||r,errorProps:g,labelProps:y,descriptionProps:b,unstyled:h,styles:u,size:w,style:v,inputContainer:C,inputWrapperOrder:S,withAsterisk:I,variant:k,id:j,mod:R,...f};return{...A,classNames:d,styles:u,unstyled:h,wrapperProps:{..._,...M},inputProps:{required:c,classNames:d,styles:u,unstyled:h,size:w,__staticSelector:x,__stylesApiProps:p||r,error:o,variant:k,id:j}}}("InputBase",o,e);return(0,r.jsx)(a.I.Wrapper,{...n,children:(0,r.jsx)(a.I,{...t,...c,ref:i})})});c.classes={...a.I.classes,...a.I.Wrapper.classes},c.displayName="@mantine/core/InputBase"},6502:function(e,i,t){"use strict";t.d(i,{m:function(){return InputsGroupFieldset}});var r=t(5893);t(7294);var n=t(8608);function InputsGroupFieldset({children:e,role:i}){let t=(0,n.D)();return t?(0,r.jsx)("div",{role:i,"aria-labelledby":t.labelId,"aria-describedby":t.describedBy,children:e}):(0,r.jsx)(r.Fragment,{children:e})}},4638:function(e,i,t){"use strict";t.d(i,{r:function(){return I}});var r=t(5893),n=t(7845),a=t(8590),s=t(7294),l=t(9429),o=t(3637),c=t(2979),d=t(987),u=t(6976),m=t(9996),h=t(168),x=t(9535),p=t(160);let g=(0,s.createContext)(null),y=g.Provider,useSwitchGroupContext=()=>(0,s.useContext)(g);var b=t(2869),f=t(6502);let j={},w=(0,x.d5)((e,i)=>{let{value:t,defaultValue:n,onChange:s,size:l,wrapperProps:o,children:c,readOnly:u,...m}=(0,d.w)("SwitchGroup",j,e),[h,x]=(0,a.C)({value:t,defaultValue:n,finalValue:[],onChange:s});return(0,r.jsx)(y,{value:{value:h,onChange:e=>{let i=e.currentTarget.value;u||x(h.includes(i)?h.filter(e=>e!==i):[...h,i])},size:l},children:(0,r.jsx)(b.I.Wrapper,{size:l,ref:i,...o,...m,labelElement:"div",__staticSelector:"SwitchGroup",children:(0,r.jsx)(f.m,{role:"group",children:c})})})});w.classes=b.I.Wrapper.classes,w.displayName="@mantine/core/SwitchGroup";var v={root:"m_5f93f3bb",input:"m_926b4011",track:"m_9307d992",thumb:"m_93039a1d",trackLabel:"m_8277e082"};let C={labelPosition:"right"},S=(0,o.Z)((e,{radius:i,color:t,size:r})=>({root:{"--switch-radius":void 0===i?void 0:(0,l.H5)(i),"--switch-height":(0,l.ap)(r,"switch-height"),"--switch-width":(0,l.a
1p)(r,"switch-width"),"--switch-thumb-size":(0,l.ap)(r,"switch-thumb-size"),"--switch-label-font-size":(0,l.ap)(r,"switch-label-font-size"),"--switch-track-label-padding":(0,l.ap)(r,"switch-track-label-padding"),"--switch-color":t?(0,c.p)(t,e):void 0}})),I=(0,x.d5)((e,i)=>{let t=(0,d.w)("Switch",C,e),{classNames:s,className:l,style:o,styles:c,unstyled:x,vars:g,color:y,label:b,offLabel:f,onLabel:j,id:w,size:I,radius:k,wrapperProps:D,thumbIcon:R,checked:z,defaultChecked:M,onChange:A,labelPosition:_,description:O,error:P,disabled:Z,variant:N,rootRef:F,mod:T,...E}=t,Y=useSwitchGroupContext(),B=I||Y?.size,W=(0,u.y)({name:"Switch",props:t,classes:v,className:l,style:o,classNames:s,styles:c,unstyled:x,vars:g,varsResolver:S}),{styleProps:V,rest:G}=(0,m.c)(E),H=(0,n.M)(w),q=Y?{checked:Y.value.includes(G.value),onChange:Y.onChange}:{},[$,K]=(0,a.C)({value:q.checked??z,defaultValue:M,finalValue:!1});return(0,r.jsxs)(p.Z,{...W("root"),__staticSelector:"Switch",__stylesApiProps:t,id:H,size:B,labelPosition:_,label:b,description:O,error:P,disabled:Z,bodyElement:"label",labelElement:"span",classNames:s,styles:c,unstyled:x,"data-checked":q.checked||z||void 0,variant:N,ref:F,mod:T,...V,...D,children:[(0,r.jsx)("input",{...G,disabled:Z,checked:$,"data-checked":q.checked||z||void 0,onChange:e=>{Y?q.onChange?.(e):A?.(e),K(e.currentTarget.checked)},id:H,ref:i,type:"checkbox",role:"switch",...W("input")}),(0,r.jsxs)(h.x,{"aria-hidden":"true",mod:{error:P,"label-position":_,"without-labels":!j&&!f},...W("track"),children:[(0,r.jsx)(h.x,{component:"span",mod:"reduce-motion",...W("thumb"),children:R}),(0,r.jsx)("span",{...W("trackLabel"),children:$?j:f})]})]})});I.classes={...v,...p.J},I.displayName="@mantine/core/Switch",I.Group=w},7249:function(e,i,t){"use strict";t.d(i,{Z:function(){return r}});/**
2 * @license @tabler/icons-react v3.30.0 - MIT
3 *
4 * This source code is licensed under the MIT license.
5 * See the LICENSE file in the root directory of this source tree.
6 */var r=(0,t(3733).Z)("outline","check","IconCheck",[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]])}},function(e){e.O(0,[6342,949,2869,2663,6907,7198,9774,2888,179],function(){return e(e.s=1900)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.