Files
Express_console_build/build/static/js/9521.ec79a73c.chunk.js
2026-05-25 16:32:21 +05:30

1 line
21 KiB
JavaScript

"use strict";(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[9521],{19521:(e,t,n)=>{n.r(t),n.d(t,{default:()=>D});var s=n(89379),i=n(9950),r=n(13838),o=n(26910),l=n(54826),a=n(26678),c=n(14857),d=n(58691),u=n(93230),h=n(82053),x=n(1320),A=n(15769),m=n(69780),p=n(9213),g=n(21671),j=n(34075),f=n(83274),v=n(25333),y=n(74745),S=n(96583),k=n(40033),w=n(28170),b=n(60899),C=n(29925),W=n(77922),Y=n(16491),T=n(79739),R=n(82223),P=n(99459),J=n(28217),E=n(55471),L=n.n(E),N=n(21209),K=n(50027),I=n(52351),M=n(56311),q=n(59212),z=n(60010),H=n(36150),F=n(81425),Z=n(20466),O=n(96646),B=n(44414);const G="AIzaSyCF4KatYCI3vqz1_H3kiHeyS3yCMfYToh8";const V={current:null};function D(){const e=(0,i.useRef)(),t=(0,i.useRef)(),[n]=(0,i.useState)(50),[E]=(0,i.useState)(0),D=(0,c.A)(),[U,Q]=(0,i.useState)(0),[X,_]=(0,i.useState)("All"),[$,ee]=(0,i.useState)({}),[te,ne]=(0,i.useState)(!1),[se,ie]=(0,i.useState)(""),[re,oe]=(0,i.useState)({}),[le,ae]=(0,i.useState)(""),[ce,de]=(0,i.useState)(""),[ue,he]=(0,i.useState)(""),[xe,Ae]=(0,i.useState)(""),[me,pe]=(0,i.useState)(""),[ge,je]=(0,i.useState)(""),[fe,ve]=(0,i.useState)(null),[ye,Se]=(0,i.useState)(""),[ke,we]=(0,i.useState)([]),be=(0,i.useRef)(!1);"undefined"===typeof window||be.current||(document.querySelector("#google-maps")||function(e,t,n){if(!t)return;const s=document.createElement("script");s.setAttribute("async",""),s.setAttribute("id",n),s.src=e,t.appendChild(s)}("https://maps.googleapis.com/maps/api/js?key=".concat(G,"&libraries=places"),document.querySelector("head"),"google-maps"),be.current=!0);const Ce=(0,i.useMemo)((()=>(0,N.A)(((e,t)=>{V.current.getPlacePredictions(e,t)}),400)),[]);(0,i.useEffect)((()=>{let e=!0;if(!V.current&&window.google&&(V.current=new window.google.maps.places.AutocompleteService),V.current){if(""!==ye)return Ce({input:ye},(t=>{if(e){let e=[];fe&&(e=[fe]),t&&(e=[...e,...t]),we(e)}})),()=>{e=!1};we(fe?[fe]:[])}}),[fe,ye,Ce]),P.A.setApiKey("AIzaSyCF4KatYCI3vqz1_H3kiHeyS3yCMfYToh8"),(0,i.useEffect)((()=>{try{console.log("selected address =>",se),P.A.fromAddress(se).then((e=>{if(console.log("lat long response =>",e.results[0]),"OK"==e.status){const{lat:t,lng:n}=e.results[0].geometry.location;if(oe({lat:t,lng:n}),e.results[0].address_components){let i,r,o,l,a=e.results[0];for(let e=0;e<a.address_components.length;e++)for(let t=0;t<a.address_components[e].types.length;t++)switch(a.address_components[e].types[t]){case"locality":i=a.address_components[e].long_name;break;case"administrative_area_level_1":o=a.address_components[e].long_name;break;case"postal_code":r=a.address_components[e].long_name;break;case"sublocality":l=a.address_components[e].long_name}ae(i||""),he(o||""),de(r||""),Ae(l||""),ee((e=>(0,s.A)((0,s.A)({},e),{},{city:i||"",state:o||"",postcode:r||"",suburb:l||"",latitude:t||"",longitude:n||""})))}}}),(e=>{console.log(e)}))}catch(e){console.log(e)}}),[se]);const{data:We,isLoading:Ye,isFetchingNextPage:Te,fetchNextPage:Re,hasNextPage:Pe,refetch:Je}=(0,z.q)({queryKey:["getAllCustomers",U,ge,n],queryFn:F.jO,getNextPageParam:e=>e.nextPage,keepPreviousData:!0}),Ee=(null===We||void 0===We?void 0:We.pages.flatMap((e=>e.data)))||[];(0,i.useEffect)((()=>{if(!Pe)return;const e=new IntersectionObserver((e=>{e[0].isIntersecting&&Re()}),{root:document.querySelector(".MuiTableContainer-root"),rootMargin:"0px",threshold:1});return t.current&&e.observe(t.current),()=>{t.current&&e.unobserve(t.current)}}),[Pe,Re]);const{data:Le,isLoading:Ne}=(0,H.I)({queryKey:["customersummary",U],queryFn:F.zf});(0,i.useEffect)((()=>{console.log("pageCount",Le)}),[Le]);return(0,B.jsxs)(B.Fragment,{children:[(Ne||Ye)&&(0,B.jsx)(B.Fragment,{children:(0,B.jsx)(I.A,{})}),(0,B.jsxs)(K.A,{content:!1,sx:{},title:(0,B.jsx)(u.A,{sx:{m:2},children:(0,B.jsxs)(u.A,{direction:{xs:"column",sm:"row"},alignItems:{xs:"flex-start",sm:"center"},justifyContent:"space-between",spacing:2,sx:{width:"100%"},children:[(0,B.jsx)(h.A,{variant:"h3",children:"Customers"}),(0,B.jsxs)(u.A,{direction:{xs:"column",sm:"row"},spacing:2,alignItems:"center",width:{xs:"100%",sm:"auto"},children:[(0,B.jsx)(q.A,{locaName:X,setAppId:Q,setLocoName:_,sx:{width:{xs:"100%",sm:320},zIndex:100}}),(0,B.jsx)(M.A,{value:me,onChange:pe,onDebouncedChange:je,placeholder:"Search ".concat((null===Le||void 0===Le?void 0:Le.Total)||""," Customer (ctrl+k)"),sx:{width:{xs:"100%",sm:320}}})]})]})}),children:[(0,B.jsx)(x.A,{ref:e,onScroll:e=>{const{scrollTop:t,scrollHeight:n,clientHeight:s}=e.currentTarget;t+s>=n-50&&Pe&&!Te&&Re()},sx:{maxHeight:"calc(100vh - 180px)"},children:(0,B.jsxs)(A.A,{stickyHeader:!0,children:[(0,B.jsx)(m.A,{children:(0,B.jsxs)(p.A,{children:[(0,B.jsx)(g.A,{sx:{position:"sticky !important"},children:"#"}),(0,B.jsx)(g.A,{sx:{position:"sticky !important"},children:"Name"}),(0,B.jsx)(g.A,{sx:{position:"sticky !important"},children:"Contact"}),(0,B.jsx)(g.A,{sx:{position:"sticky !important"},children:"Address"}),(0,B.jsx)(g.A,{sx:{position:"sticky !important"},children:"Location"}),(0,B.jsx)(g.A,{sx:{position:"sticky !important"},children:"Action"})]})}),(0,B.jsxs)(j.A,{children:[Ye&&(0,B.jsx)(O.r,{}),0!=(null===Ee||void 0===Ee?void 0:Ee.length)||Ye?null===Ee||void 0===Ee?void 0:Ee.map(((e,t)=>(0,B.jsxs)(p.A,{children:[(0,B.jsx)(g.A,{padding:"none",children:t+1+E*n}),(0,B.jsxs)(g.A,{align:"left",children:[(0,B.jsx)(h.A,{align:"left",variant:"subtitle1",children:e.firstname}),(0,B.jsxs)(h.A,{align:"left",variant:"caption",color:"secondary",children:["Id : ",e.customerid]})]}),(0,B.jsxs)(g.A,{align:"left",children:[(0,B.jsx)(h.A,{align:"left",variant:"subtitle1",children:e.contactno}),(0,B.jsx)(h.A,{align:"left",variant:"caption",color:"secondary",children:e.email})]}),(0,B.jsx)(g.A,{align:"left",children:e.address}),(0,B.jsx)(g.A,{align:"left",children:e.suburb}),(0,B.jsx)(g.A,{align:"center",children:(0,B.jsx)(f.A,{title:"To Edit",children:(0,B.jsx)(v.A,{onClick:()=>{console.log("row",e),ee(e),setTimeout((()=>{ne(!0)}),0)},children:(0,B.jsx)(a.fkO,{fontSize:"large",style:{cursor:"pointer",color:D.palette.primary.main}})})})})]},e.name))):(0,B.jsx)(p.A,{children:(0,B.jsx)(g.A,{colSpan:6,children:(0,B.jsx)(u.A,{width:"100%",direction:"row",justifyContent:"center",children:(0,B.jsx)(r.A,{})})})}),0!=(null===Ee||void 0===Ee?void 0:Ee.length)&&(0,B.jsx)(p.A,{children:(0,B.jsx)(g.A,{colSpan:15,rowSpan:3,children:(0,B.jsx)("div",{ref:t,style:{height:40,textAlign:"center"},children:Te||Pe?(0,B.jsx)(d.A,{}):"No More Orders"})})})]})]})}),(0,B.jsx)(y.A,{})]}),(0,B.jsxs)(S.A,{open:te,onClose:()=>ne(!1),"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",maxWidth:"lg",fullWidth:!0,children:[(0,B.jsx)(k.A,{id:"alert-dialog-title",sx:{bgcolor:D.palette.primary.main,color:"white"},children:(0,B.jsxs)(u.A,{direction:"row",alignItems:"center",spacing:1,children:[(0,B.jsx)(l.wwX,{style:{fontSize:25}})," ",(0,B.jsx)(h.A,{variant:"h3",children:"Edit Customer"})]})}),(0,B.jsx)(w.A,{children:(0,B.jsxs)(b.Ay,{container:!0,spacing:2,sx:{mt:2},children:[(0,B.jsxs)(b.Ay,{item:!0,xs:6,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Customer Name"}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,defaultValue:null===$||void 0===$?void 0:$.firstname,onChange:e=>{ee((0,s.A)((0,s.A)({},$),{},{firstname:e.target.value}))}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:6,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Contact Number"}),(0,B.jsxs)(u.A,{direction:"row",spacing:1,children:[(0,B.jsx)(C.A,{readonly:!0,variant:"outlined",value:"+91",sx:{width:60}}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,type:"text",value:(null===$||void 0===$?void 0:$.contactno)||"",inputProps:{maxLength:10,inputMode:"numeric",pattern:"[0-9]*"},onChange:e=>{const t=e.target.value.replace(/\D/g,"");ee((e=>(0,s.A)((0,s.A)({},e),{},{contactno:t})))}})]})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:12,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Address"}),(0,B.jsx)(W.A,{id:"google-map-demo",sx:{},fullWidth:!0,getOptionLabel:e=>"string"===typeof e?e:(null===e||void 0===e?void 0:e.description)||"",filterOptions:e=>e,options:ke,autoComplete:!0,includeInputInList:!0,filterSelectedOptions:!0,value:null===$||void 0===$?void 0:$.address,noOptionsText:"No locations",onChange:(e,t)=>{we(t?[t,...ke]:ke),ve(t),console.log("newValue",t||""),ie(null===t||void 0===t?void 0:t.description),ee((0,s.A)((0,s.A)({},$),{},{address:null===t||void 0===t?void 0:t.description}))},onInputChange:(e,t)=>{Se(t)},renderInput:e=>(0,B.jsx)(C.A,(0,s.A)((0,s.A)({},e),{},{fullWidth:!0})),renderOption:(e,t)=>{const n=t.structured_formatting.main_text_matched_substrings||[],i=L()(t.structured_formatting.main_text,n.map((e=>[e.offset,e.offset+e.length])));return(0,B.jsx)("li",(0,s.A)((0,s.A)({},e),{},{children:(0,B.jsxs)(b.Ay,{container:!0,alignItems:"center",children:[(0,B.jsx)(b.Ay,{item:!0,sx:{display:"flex",width:44},children:(0,B.jsx)(J.A,{sx:{color:"text.secondary"}})}),(0,B.jsxs)(b.Ay,{item:!0,sx:{width:"calc(100% - 44px)",wordWrap:"break-word"},children:[null===i||void 0===i?void 0:i.map(((e,t)=>(0,B.jsx)(Y.A,{component:"span",sx:{fontWeight:e.highlight?"bold":"regular"},children:e.text},t))),(0,B.jsx)(h.A,{variant:"body2",color:"text.secondary",children:null===t||void 0===t?void 0:t.structured_formatting.secondary_text})]})]})}))}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:6,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Location"}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,value:null===$||void 0===$?void 0:$.suburb,onChange:e=>{const t=e.target.value;ee((e=>(0,s.A)((0,s.A)({},e),{},{suburb:t})))}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:6,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"City"}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,value:$.city||le||"",onChange:e=>{const t=e.target.value;ee((e=>(0,s.A)((0,s.A)({},e),{},{city:t})))}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:6,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"State"}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,value:$.state||ue||"",onChange:e=>{const t=e.target.value;ee((e=>(0,s.A)((0,s.A)({},e),{},{state:t})))}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:6,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Postcode"}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,value:""==ce?$.postcode:ce,onChange:e=>{const t=e.target.value;ee((e=>(0,s.A)((0,s.A)({},e),{},{postcode:t})))}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:12,children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Landmark"}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,defaultValue:$.landmark,onChange:e=>{ee((0,s.A)((0,s.A)({},$),{},{landmark:e.target.value}))}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:6,sx:{cursor:"not-allowed"},children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Latitude"}),(0,B.jsx)(C.A,{variant:"outlined",fullWidth:!0,value:re.lat,sx:{cursor:"not-allowed"}})]}),(0,B.jsxs)(b.Ay,{item:!0,xs:6,sx:{cursor:"not-allowed"},children:[(0,B.jsx)(h.A,{sx:{mb:1},children:"Longitude"}),(0,B.jsx)(C.A,{readonly:!0,variant:"outlined",fullWidth:!0,value:re.lng})]})]})}),(0,B.jsxs)(T.A,{sx:{mr:2,mb:2},children:[(0,B.jsx)(R.A,{onClick:()=>ne(!1),variant:"contained",color:"error",sx:{mr:2},children:"Close"}),(0,B.jsx)(R.A,{onClick:()=>{(async()=>{if(console.log("selectedCustomer",$),$.firstname)if($.contactno)if($.address)if($.suburb)if($.city)if($.state)if($.postcode)if($.landmark)if($.latitude)if($.longitude)try{const e=await o.A.put("".concat("https://jupiter.nearle.app/live/api/v1","/customers/update"),{customerid:$.customerid,configid:1,firstname:$.firstname,applocationid:$.applocationid,profileimage:"",dialcode:"+91",contactno:$.contactno,devicetype:"",deviceid:"",customertoken:"123",address:$.address,suburb:xe,city:le,state:ue,postcode:ce,landmark:$.landmark,doorno:$.doorno,latitude:$.latitude.toString(),longitude:$.longitude.toString()});console.log("postUpdateResponse",e),e.data.status&&((0,Z.k)(e.data.message,"success",1500),ne(!1),Je())}catch(e){console.log("postUpdate error",e)}else(0,Z.k)("Enter Longitude","warning",1500);else(0,Z.k)("Enter Latitude","warning",1500);else(0,Z.k)("Enter Landmark","warning",1500);else(0,Z.k)("Enter PostCode","warning",1500);else(0,Z.k)("Enter State","warning",1500);else(0,Z.k)("Enter City ","warning",1500);else(0,Z.k)("Enter Suburb","warning",1500);else(0,Z.k)("Enter Valid Address","warning",1500);else(0,Z.k)("Enter Contact Number ","warning",1500);else(0,Z.k)("Enter Door NO","warning",1500)})()},variant:"contained",autoFocus:!0,children:"Update"})]})]})]})}},56311:(e,t,n)=>{n.d(t,{A:()=>x});var s=n(89379),i=n(9950),r=n(2660),o=n(2046),l=n(83274),a=n(25333),c=n(97125),d=n(7762),u=n(52097),h=n(44414);const x=e=>{let{value:t,onChange:n,onDebouncedChange:x,debounceTime:A=500,placeholder:m="Search (ctrl+k)",sx:p}=e;const g=(0,i.useRef)(null),[j]=(0,u.d7)(t,A);return(0,i.useEffect)((()=>{x&&x(j)}),[j,x]),(0,i.useEffect)((()=>{const e=e=>{var t;"k"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),null===(t=g.current)||void 0===t||t.focus());"Escape"===e.key&&document.activeElement===g.current&&g.current.blur()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[]),(0,h.jsx)(r.A,{sx:(0,s.A)({},p),inputRef:g,placeholder:m,autoComplete:"off",value:t,fullWidth:!0,onChange:e=>n(e.target.value),startAdornment:(0,h.jsx)(o.A,{position:"start",sx:{mr:-.5},children:(0,h.jsx)(c.A,{})}),endAdornment:(0,h.jsx)(l.A,{title:"Clear",children:(0,h.jsx)(a.A,{sx:{visibility:t?"visible":"hidden"},onClick:()=>n(""),children:(0,h.jsx)(d.A,{})})})})}},58691:(e,t,n)=>{n.d(t,{A:()=>l});n(9950);var s=n(16491),i=n(46639),r=n(62217),o=n(44414);function l(e){let{size:t=70,imgSize:n=40,alt:l="loader"}=e;return(0,o.jsxs)(s.A,{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",children:[(0,o.jsx)(i.A,{size:t}),(0,o.jsx)(s.A,{position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",sx:{width:n,height:n},children:(0,o.jsx)("img",{src:r,alt:l,style:{width:"100%",height:"100%",borderRadius:"50%",objectFit:"contain"}})})]})}},59212:(e,t,n)=>{n.d(t,{A:()=>c});var s=n(89379),i=n(9950),r=n(77922),o=n(29925),l=n(26910),a=n(44414);const c=(0,i.forwardRef)(((e,t)=>{let{setAppId:n,setLocoName:c,setPage:d,sx:u,textfeildSx:h}=e;const[x,A]=(0,i.useState)(JSON.parse(localStorage.getItem("applocations")||"[]"));return(0,i.useEffect)((()=>{0===x.length&&(async()=>{try{const e=localStorage.getItem("userid");if(!e)return;const t=await l.A.get("".concat("https://jupiter.nearle.app/live/api/v1","/partners/getlocations/?userid=").concat(e));if(t.data.status){const e=[...t.data.details,{locationname:"All",applocationid:0}];localStorage.setItem("applocations",JSON.stringify(e)),A(e)}}catch(e){console.error("Error fetching locations in LocationAutocomplete:",e)}})()}),[x.length]),(0,a.jsx)(r.A,{id:"location-autocomplete",options:x||[],getOptionLabel:e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.locationname)&&void 0!==t?t:""},sx:(0,s.A)({},u),onChange:(e,t,s)=>{"clear"===s?(null===n||void 0===n||n(0),null===c||void 0===c||c(""),null===d||void 0===d||d(0)):t&&(null===n||void 0===n||n(t.applocationid),null===c||void 0===c||c(t.locationname),null===d||void 0===d||d(0))},renderInput:e=>(0,a.jsx)(o.A,(0,s.A)((0,s.A)({},e),{},{inputRef:t,label:"Select Zones",sx:(0,s.A)({},h)}))})}))},62217:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAPnUlEQVR4AdVae3AU9R3/7d4jdyGQQKAhECBAJBSmEAtFSQUjqPgAHGlhRm0lDkWY6Tg+O9qiErR26h8WR8ZWqTMN1ur4qMpDrTyjtDwDJloeCYiBvAgkaZ53l7vb3X4/v9vfZS/Zu9uFwLSfmb3d293f7u/z+z5/399K7CphdW5JrupgBZosZ0ialmu8pklSjUOTamRJbvvjqTUV7CpAYlcIj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B3X19tN6gJ/m29ymSUgKUlMzh2aEncUDmdRe1tXeaPce/dilbxgAOT99evbEQdOuHebJvsHrSC2gpec0Ky/RmNrlV3wVneHWrw427/hHc7C+k/IJEFZ1KSOjDFDIEtLmSRb1LUR94/dZeY+tVROoPDaQo1TQTS9PoSlfik4cA0B9c7mpc1z6GAByghISoZkjivI8MuVRjqEjU52DRuossXir+UJdFHcCXfW+b09VtR9tMnReoefxNJqeCbsF6R7KygL03B56N8/OWK/3tkTaNnHWa/M8zrNIru8iOik0GeADQGHFTabh0q85qL/8Kwu0xSBgTwPB6BiLGMZn83SZzmuQMAhTWz5voEeGoNcgTtWUHiqW8OO8vLww+R5lz5494UT2PBDEY9rSQqOTHAmP91TFdNGChJsyPTdlelztqcMu6i+XvNiIkBQRHlcPHGv6sUbHIKzo56J1AZBkvR5cSFhUVBR2CbD69bIpysvLecdoAHqINOytm0ijJt9J3r+TVBLHXfrGkwsiJRIMLF1i76MBEue7qE0XqTPadYiNnFen3j6Ad5HGYSDwTcslkQYGamVULLrLpH7y6dOnuY1TGctFFR0hcYfhvujinQ6eaNBgYc6sEHm+0WAKqatEWJkwYYI6depUjYhbtuWrBW775GGd1FEXFQA8FFsR8+HRMdFBKocgPrTvRkgnh4l70ijPxtwAzpLnCLpDvSztvFqQ9C8PuAPEINDeTdpgjADYjOFQhESn3s6hP+OKr9dfSUhCaiIcYjNIMur52f850f95/BfoYlARf1CQvwAAAABJRU5ErkJggg=="},96646:(e,t,n)=>{n.d(t,{r:()=>a});var s=n(9213),i=n(21671),r=n(82917),o=n(93230),l=n(44414);const a=e=>{let{rowsPerPage:t=5,col:n=1}=e;return(0,l.jsx)(l.Fragment,{children:Array.from(new Array(t)).map(((e,t)=>(0,l.jsxs)(s.A,{children:[(0,l.jsx)(i.A,{children:(0,l.jsx)(r.A,{variant:"circular",width:24,height:24})}),(0,l.jsx)(i.A,{children:(0,l.jsx)(r.A,{variant:"text",width:30})}),Array.from({length:n}).map(((e,t)=>(0,l.jsx)(i.A,{children:(0,l.jsxs)(o.A,{spacing:.5,children:[(0,l.jsx)(r.A,{variant:"text",width:100}),(0,l.jsx)(r.A,{variant:"text",width:80})]})},t))),(0,l.jsx)(i.A,{children:(0,l.jsx)(r.A,{variant:"text",width:150})}),(0,l.jsx)(i.A,{children:(0,l.jsx)(r.A,{variant:"rounded",width:60,height:24})}),(0,l.jsx)(i.A,{align:"center",children:(0,l.jsxs)(o.A,{direction:"row",spacing:1,justifyContent:"flex-end",children:[(0,l.jsx)(r.A,{variant:"circular",width:28,height:28}),(0,l.jsx)(r.A,{variant:"circular",width:28,height:28})]})})]},t)))})}}}]);