1import{r as d,j as o,w as gt}from"./chunk-QFMPRPBF-BqID9nf9.js";import{T as mt}from"./TopNav-D_e40-z3.js";import{K as xt,L as ht,M as bt,N as vt}from"./index-yZoykLQI.js";import{F as yt,a as Ct,b as Tt}from"./index-DtdQOPIt.js";import{g as wt}from"./creatorService-Cror-BVm.js";import{a as Bt,d as kt}from"./platformService-BXMHP2Qx.js";import{T as Pt}from"./Tooltip-CmVLxCD6.js";import{g as Rt}from"./platformUrl-BM_zizLW.js";import{h as st,u as jt,g as Z,b as tt,c as et,s as G,m as K,r as $t,e as St,f as zt,B,T as W,C as Et}from"./config-BS7gYU0v.js";import{B as Y}from"./Button-83Cjx3i_.js";import{G as H}from"./Grid-C6TXeb2s.js";import{u as ot,c as V,a as D,r as Wt}from"./DefaultPropsProvider-bMj0XTNT.js";import{u as Ft}from"./index-D3KgmlMq.js";import{T as Dt,r as It,g as at,u as X,P as Mt}from"./Paper-rLZjuGwm.js";import{g as At,o as it,d as Lt,m as Nt,a as Ot}from"./Menu-CYjPK9nz.js";import{I as Vt}from"./webAuth-Dhh8tiFq.js";import{T as _}from"./TextField-4i_WZn4b.js";import{M as Gt}from"./MenuItem-Df84kqc5.js";import"./apiClient-lZCs2piS.js";import"./useControlled-DGAZal0c.js";import"./isMuiElement-65IfZiSF.js";import"./useThemeProps-H20ENIvQ.js";import"./index-Ge6gERAz.js";import"./Select-D1g4qqBY.js";function Ut(t){return d.Children.toArray(t).filter(e=>d.isValidElement(e))}function Yt(t,e,n){const a=e.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),h=it(e);let m;if(e.fakeTransform)m=e.fakeTransform;else{const c=h.getComputedStyle(e);m=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let f=0,x=0;if(m&&m!=="none"&&typeof m=="string"){const c=m.split("(")[1].split(")")[0].split(",");f=parseInt(c[4],10),x=parseInt(c[5],10)}return t==="left"?i?`translateX(${i.right+f-a.left}px)`:`translateX(${h.innerWidth+f-a.left}px)`:t==="right"?i?`translateX(-${a.right-i.left-f}px)`:`translateX(-${a.left+a.width-f}px)`:t==="up"?i?`translateY(${i.bottom+x-a.top}px)`:`translateY(${h.innerHeight+x-a.top}px)`:i?`translateY(-${a.top-i.top+a.height-x}px)`:`translateY(-${a.top+a.height-x}px)`}function Ht(t){return typeof t=="function"?t():t}function q(t,e,n){const a=Ht(n),i=Yt(t,e,a);i&&(e.style.webkitTransform=i,e.style.transform=i)}const Xt=d.forwardRef(function(e,n){const a=st(),i={enter:a.transitions.easing.easeOut,exit:a.transitions.easing.sharp},h={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{addEndListener:m,appear:f=!0,children:x,container:c,direction:u="down",easing:T=i,in:b,onEnter:g,onEntered:S,onEntering:k,onExit:v,onExited:P,onExiting:R,style:j,timeout:w=h,TransitionComponent:$=Dt,...F}=e,r=d.useRef(null),l=jt(At(x),r,n),y=s=>C=>{s&&(C===void 0?s(r.current):s(r.current,C))},E=y((s,C)=>{q(u,s,c),It(s),g&&g(s,C)}),O=y((s,C)=>{const A=at({timeout:w,style:j,easing:T},{mode:"enter"});s.style.webkitTransition=a.transitions.create("-webkit-transform",{...A}),s.style.transition=a.transitions.create("transform",{...A}),s.style.webkitTransform="none",s.style.transform="none",k&&k(s,C)}),z=y(S),M=y(R),I=y(s=>{const C=at({timeout:w,style:j,easing:T},{mode:"exit"});s.style.webkitTransition=a.transitions.create("-webkit-transform",C),s.style.transition=a.transitions.create("transform",C),q(u,s,c),v&&v(s)}),J=y(s=>{s.style.webkitTransition="",s.style.transition="",P&&P(s)}),Q=s=>{m&&m(r.current,s)},U=d.useCallback(()=>{r.current&&q(u,r.current,c)},[u,c]);return d.useEffect(()=>{if(b||u==="down"||u==="right")return;const s=Lt(()=>{r.current&&q(u,r.current,c)}),C=it(r.current);return C.addEventListener("resize",s),()=>{s.clear(),C.removeEventListener("resize",s)}},[u,b,c]),d.useEffect(()=>{b||U()},[b,U]),o.jsx($,{nodeRef:r,onEnter:E,onEntered:z,onEntering:O,onExit:I,onExited:J,onExiting:M,addEndListener:Q,appear:f,in:b,timeout:w,...F,children:(s,{ownerState:C,...A})=>d.cloneElement(x,{ref:l,style:{visibility:s==="exited"&&!b?"hidden":void 0,...j,...x.props.style},...A})})});function _t(t){return Z("MuiDrawer",t)}tt("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const lt=(t,e)=>{const{ownerState:n}=t;return[e.root,(n.variant==="permanent"||n.variant==="persistent")&&e.docked,n.variant==="temporary"&&e.modal]},qt=t=>{const{classes:e,anchor:n,variant:a}=t,i={root:["root",`anchor${D(n)}`],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${D(n)}`,a!=="temporary"&&`paperAnchorDocked${D(n)}`]};return et(i,_t,e)},Kt=G(Ot,{name:"MuiDrawer",slot:"Root",overridesResolver:lt})(K(({theme:t})=>({zIndex:(t.vars||t).zIndex.drawer}))),Jt=G("div",{shouldForwardProp:$t,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:lt})({flex:"0 0 auto"}),Qt=G(Mt,{name:"MuiDrawer",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.paper,e[`paperAnchor${D(n.anchor)}`],n.variant!=="temporary"&&e[`paperAnchorDocked${D(n.anchor)}`]]}})(K(({theme:t})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"}
1,style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>e.anchor==="left"&&e.variant!=="temporary",style:{borderRight:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:e})=>e.anchor==="top"&&e.variant!=="temporary",style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:e})=>e.anchor==="right"&&e.variant!=="temporary",style:{borderLeft:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:e})=>e.anchor==="bottom"&&e.variant!=="temporary",style:{borderTop:`1px solid ${(t.vars||t).palette.divider}`}}]}))),dt={left:"right",right:"left",top:"down",bottom:"up"};function Zt(t){return["left","right"].includes(t)}function te({direction:t},e){return t==="rtl"&&Zt(e)?dt[e]:e}const ee=d.forwardRef(function(e,n){const a=ot({props:e,name:"MuiDrawer"}),i=st(),h=Ft(),m={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:f="left",BackdropProps:x,children:c,className:u,elevation:T=16,hideBackdrop:b=!1,ModalProps:{BackdropProps:g,...S}={},onClose:k,open:v=!1,PaperProps:P={},SlideProps:R,TransitionComponent:j,transitionDuration:w=m,variant:$="temporary",slots:F={},slotProps:r={},...l}=a,y=d.useRef(!1);d.useEffect(()=>{y.current=!0},[]);const E=te({direction:h?"rtl":"ltr"},f),z={...a,anchor:f,elevation:T,open:v,variant:$,...l},M=qt(z),I={slots:{transition:j,...F},slotProps:{paper:P,transition:R,...r,backdrop:Nt(r.backdrop||{...x,...g},{transitionDuration:w})}},[J,Q]=X("root",{ref:n,elementType:Kt,className:V(M.root,M.modal,u),shouldForwardComponentProp:!0,ownerState:z,externalForwardedProps:{...I,...l,...S},additionalProps:{open:v,onClose:k,hideBackdrop:b,slots:{backdrop:I.slots.backdrop},slotProps:{backdrop:I.slotProps.backdrop}}}),[U,s]=X("paper",{elementType:Qt,shouldForwardComponentProp:!0,className:V(M.paper,P.className),ownerState:z,externalForwardedProps:I,additionalProps:{elevation:$==="temporary"?T:0,square:!0,...$==="temporary"&&{role:"dialog","aria-modal":"true"}}}),[C,A]=X("docked",{elementType:Jt,ref:n,className:V(M.root,M.docked,u),ownerState:z,externalForwardedProps:I,additionalProps:l}),[ut,ft]=X("transition",{elementType:Xt,ownerState:z,externalForwardedProps:I,additionalProps:{in:v,direction:dt[E],timeout:w,appear:y.current}}),rt=o.jsx(U,{...s,children:c});if($==="permanent")return o.jsx(C,{...A,children:rt});const nt=o.jsx(ut,{...ft,children:rt});return $==="persistent"?o.jsx(C,{...A,children:nt}):o.jsx(J,{...Q,children:nt})});function oe(t){return Z("MuiToggleButton",t)}const L=tt("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),ct=d.createContext({}),pt=d.createContext(void 0);function re(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.includes(t):t===e}const ne=t=>{const{classes:e,fullWidth:n,selected:a,disabled:i,size:h,color:m}=t,f={root:["root",a&&"selected",i&&"disabled",n&&"fullWidth",`size${D(h)}`,m]};return et(f,oe,e)},ae=G(St,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`size${D(n.size)}`]]}})(K(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${L.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${L.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.selectedOpacity),"&:hover":{backgroundColor:t.alpha((t.vars||t).palette.text.primary,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:t.alpha((t.vars||t).palette.text.primary,(t.vars||t).palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter(zt()).map(([e])=>({props:{color:e},style:{[`&.${L.selected}`]:{color:(t.vars||t).palette[e].main,backgroundColor:t.alpha((t.vars||t).palette[e].main,(t.vars||t).palette.action.selectedOpacity),"&:hover":{backgroundColor:t.alpha((t.vars||t).palette[e].main,`${(t.vars||t).palette.action.selectedOpacity} + ${(t.vars||t).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:t.alpha((t.vars||t).palette[e].main,(t.vars||t).palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),se=d.forwardRef(function(e,n){const{value:a,...i}=d.useContext(ct),h=d.useContext(pt),m=Wt({...i,selected:re(e.value,a)},e),f=ot({props:m,name:"MuiToggleButton"}),{children:x,className:c,color:u="standard",disabled:T=!1,disableFocusRipple:b=!1,fullWidth:g=!1,onChange:S,onClick:k,selected:v,size:P="medium",value:R,...j}=f,w={...f,color:u,disabled:T,disableFocusRipple:b,fullWidth:g,size:P}
1,$=ne(w),F=l=>{k&&(k(l,R),l.defaultPrevented)||S&&S(l,R)},r=h||"";return o.jsx(ae,{className:V(i.className,$.root,c,r),disabled:T,focusRipple:!b,ref:n,onClick:F,onChange:S,value:R,ownerState:w,"aria-pressed":v,...j,children:x})});function ie(t){return Z("MuiToggleButtonGroup",t)}const p=tt("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),le=t=>{const{classes:e,orientation:n,fullWidth:a,disabled:i}=t,h={root:["root",n,a&&"fullWidth"],grouped:["grouped",`grouped${D(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return et(h,ie,e)},de=G("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${p.grouped}`]:e.grouped},{[`& .${p.grouped}`]:e[`grouped${D(n.orientation)}`]},{[`& .${p.firstButton}`]:e.firstButton},{[`& .${p.lastButton}`]:e.lastButton},{[`& .${p.middleButton}`]:e.middleButton},e.root,n.orientation==="vertical"&&e.vertical,n.fullWidth&&e.fullWidth]}})(K(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${p.grouped}`]:{[`&.${p.selected} + .${p.grouped}.${p.selected}`]:{borderTop:0,marginTop:0}},[`& .${p.firstButton},& .${p.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${p.lastButton},& .${p.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${p.lastButton}.${L.disabled},& .${p.middleButton}.${L.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${p.grouped}`]:{[`&.${p.selected} + .${p.grouped}.${p.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${p.firstButton},& .${p.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${p.lastButton},& .${p.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${p.lastButton}.${L.disabled},& .${p.middleButton}.${L.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),ce=d.forwardRef(function(e,n){const a=ot({props:e,name:"MuiToggleButtonGroup"}),{children:i,className:h,color:m="standard",disabled:f=!1,exclusive:x=!1,fullWidth:c=!1,onChange:u,orientation:T="horizontal",size:b="medium",value:g,...S}=a,k={...a,disabled:f,fullWidth:c,orientation:T,size:b},v=le(k),P=d.useCallback((r,l)=>{if(!u)return;const y=g&&g.indexOf(l);let E;g&&y>=0?(E=g.slice(),E.splice(y,1)):E=g?g.concat(l):[l],u(r,E)},[u,g]),R=d.useCallback((r,l)=>{u&&u(r,g===l?null:l)},[u,g]),j=d.useMemo(()=>({className:v.grouped,onChange:x?R:P,value:g,size:b,fullWidth:c,color:m,disabled:f}),[v.grouped,x,R,P,g,b,c,m,f]),w=Ut(i),$=w.length,F=r=>{const l=r===0,y=r===$-1;return l&&y?"":l?v.firstButton:y?v.lastButton:v.middleButton};return o.jsx(de,{role:"group",className:V(v.root,h),ref:n,ownerState:k,...S,children:o.jsx(ct.Provider,{value:j,children:w.map((r,l)=>o.jsx(pt.Provider,{value:F(l),children:r},l))})})});function pe({label:t="Not wired up"}){return o.jsx(Pt,{title:t,arrow:!0,children:o.jsx("span",{style:{display:"inline-flex",alignItems:"center",cursor:"help"},children:o.jsx(xt,{size:16,color:"#ef4444"})})})}const N="#4361ee",ue={TikTok:{icon:Tt,color:"#000"},Instagram:{icon:Ct,color:"#E4405F"},YouTube:{icon:yt,color:"#FF0000"}},fe=["TikTok","Instagram","YouTube","X (Twitter)","Pinterest","Facebook","Blog / Website","Podcast","Other"],ge=["Video/Reels","Photography","Live Streaming","Educational"],Le=gt(function(){const[e,n]=d.useState(!1),[a,i]=d.useState("Video/Reels"),[h,m]=d.useState([]),[f,x]=d.useState(!0),[c,u]=d.useState(""),[T,b]=d.useState(""),[g,S]=d.useState(""),[k,v]=d.useState(""),[P,R]=d.useState(!1),j=async()=>{x(!0);try{const r=await wt();m(r.platforms)}catch(r){console.error("Failed to fetch platforms",r)}finally{x(!1)}};d.useEffect(()=>{j()},[]);const w=async()=>{if(!(!c||!T)){R(!0);try{await Bt({platform:c,handle:T,followerCount:g||void 0,contentType:a,notes:k||void 0}),n(!1),F(),await j()}catch(r){console.error("Failed to add platform",r)}finally{R(!1)}}},$=async r=>{try{await kt(r),await j()}catch(l){console.error("Failed to delete platform",l)}},F=()=>{u(""),b(""),S(""),v(""),i("Video/Reels")};return o.jsxs(o.Fragment,{children:[o.jsx(mt,{title:"Connected Platforms"}),o.jsxs(B,{sx:{px:{xs:2,md:4},py:4},children:[o.jsxs(B,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:[o.jsxs(W,{sx:{fontSize:"0.875rem",color:"#4a4a4a"},children:[h.length," platforms connected"]}),o.jsx(Y,{variant:"contained",disableElevation:!0,startIcon:o.jsx(ht,{size:16}),onClick:()=>n(!0),sx:{borderRadius:50,backgroundColor:N,textTransform:"none",fontWeight:600,px:3,"&:hover":{backgroundColor:"#3a0ca3"}},children:"Add Platform"})]}),f?o.jsx(B,{sx:{display:"flex",justifyContent:"center",py:8},children:o.jsx(Et,{sx:{color:N}})}):o.jsx(H,{container:!0,spacing:2.5,children:h.map(r=>{const l=ue[r.platform],y=l?.icon,E=l?.color??"#64748b",O=Rt(r.platform,r.handle);return o.jsx(H,{size:{xs:12,md:4},children:o.jsxs(B,{sx:{backgroundColor:"#f8f9fa",borderRadius:3,p:3},children:[o.jsxs(B,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:2},children:[o.jsxs(B,{sx:{display:"flex",alignItems:"center",gap:1.5},children:[o.jsx(B,{sx:{width:44,height:44,borderRadius:2,backgroundColor:"#fff",display:"flex",alignItems:"center",justifyContent:"center",color:E},children:y?o.jsx(y,{size:22}):o.jsx(W,{sx:{fontWeight:700,fontSize:"0.75rem",color:E},children:r.platform.charAt(0)})}),o.jsxs(B,{children:[o.jsx(W,{sx:{fontWeight:600,fontSize:"1rem",color:"#020617"},children:r.platform}),o.jsx(W,{sx:{fontSize:"0.8125rem",color:"#94a3b8"},children:r.handle})]})]}),o.jsxs(B,{sx:{display:"flex",alignItems:"center",gap:.5,px:1,py:.25,borderRadius:50,backgroundColor:"rgba(34,197,94,0.1)"},children:[o.jsx(B,{sx:{width:6,height:6,borderRadius:"50%",backgroundColor:"#22c55e"}}),o.jsx(W,{sx:{fontSize:"0.6875rem",fontWeight:600,color:"#22c55e"},children:"Active"})]})]}),o.jsx(H,{container:!0,spacing:2,sx:{mb:2},children:[{label:"Followers",value:r.followerCount??null},{label:"Avg Views",value:null},{label:"Sign-ups",value:null}].map(z=>o.jsxs(H,{size:4,children:[o.jsx(W,{sx:{fontSize:"0.625rem",fontWeight:600,textTransform:"uppercase",letterSpacing:"0.04em",color:"#94a3b8"},children:z.label}),z.value!=null?o.jsx(W,{sx:{fontSize:"1rem",fontWeight:700,color:"#020617"},children:z.value}):o.jsx(B,{sx:{mt:.5},children:o.jsx(pe,{})})]},z.label))}),o.jsxs(B,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:2},children:[o.jsx(Y,{size:"small",startIcon:o.jsx(bt,{size:14}),onClick:()=>$(r.platformId),sx:{textTransform:"none",color:"#ef4444",fontWeight:500,fontSize:"0.8125rem",px:0},children:"Remove"}),O&&o.jsx(W,{component:"a",href:O,target:"_blank",rel:"noopener noreferrer",sx:{fontSize:"0.8125rem",fontWeight:600,color:N,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:"View Profile"})]})]})},r.platformId)})})]}),o.jsxs(ee,{anchor:"right",open:e,onClose:()=>n(!1),PaperProps:{sx:{width:{xs:"100%",sm:420},p:3}},children:[o.jsxs(B,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:[o.jsx(W,{sx:{fontSize:"1.25rem",fontWeight:600,color:"#020617"},children:"Add Platform"}),o.jsx(Vt,{onClick:()=>n(!1),size:"small",children:o.jsx(vt,{size:20})})]}),o.jsx(_,{fullWidth:!0,select:!0,label:"Platform",value:c,onChange:r=>u(r.target.value),sx:{mb:2.5,"& .MuiOutlinedInput-root":{borderRadius:2,backgroundColor:"#fff"}},children:fe.map(r=>o.jsx(Gt,{value:r,children:r},r))}),o.jsx(_,{fullWidth:!0,label:"Social Handle (@username)",value:T,onChange:r=>b(r.target.value),sx:{mb:2.5,"& .MuiOutlinedInput-root":{borderRadius:2,backgroundColor:"#fff"}}}),o.jsx(_,{fullWidth:!0,label:"Follower Count",type:"number",value:g,onChange:r=>S(r.target.value),sx:{mb:3,"& .MuiOutlinedInput-root":{borderRadius:2,backgroundColor:"#fff"}}}),o.jsx(W,{sx:{fontSize:"0.8125rem",fontWeight:600,color:"#020617",mb:1},children:"Primary Content Type"}),o.jsx(ce,{value:a,exclusive:!0,onChange:(r,l)=>l&&i(l),sx:{display:"flex",flexWrap:"wrap",gap:1,mb:3,"& .MuiToggleButton-root":{borderRadius:"50px !important",border:"1px solid #e2e8f0 !important",textTransform:"none",fontSize:"0.8125rem",px:2,py:.75,color:"#4a4a4a","&.Mui-selected":{backgroundColor:N,color:"#fff",borderColor:`${N} !important`,"&:hover":{backgroundColor:"#3a0ca3"}}}},children:ge.map(r=>o.jsx(se,{value:r,children:r},r))}),o.jsx(_,{fullWidth:!0,multiline:!0,rows:3,label:"Promotion Plan (max 28
10 chars)",inputProps:{maxLength:280},value:k,onChange:r=>v(r.target.value),sx:{mb:4,"& .MuiOutlinedInput-root":{borderRadius:2,backgroundColor:"#fff"}}}),o.jsxs(B,{sx:{display:"flex",gap:1.5},children:[o.jsx(Y,{fullWidth:!0,variant:"contained",disableElevation:!0,disabled:P||!c||!T,onClick:w,sx:{borderRadius:50,backgroundColor:N,textTransform:"none",fontWeight:600,py:1.25,"&:hover":{backgroundColor:"#3a0ca3"}},children:P?"Saving...":"Save Platform"}),o.jsx(Y,{fullWidth:!0,variant:"outlined",onClick:()=>n(!1),sx:{borderRadius:50,borderColor:"#e2e8f0",color:"#020617",textTransform:"none",fontWeight:600,py:1.25},children:"Cancel"})]})]})]})});export{Le as default};
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.