Files
Express_console_build/build/static/js/7157.5fea29d8.chunk.js

1 line
19 KiB
JavaScript

"use strict";(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[7157],{23787:(e,r,o)=>{o.d(r,{FG:()=>p,nV:()=>x,pY:()=>g,pg:()=>h});var i=o(89379),n=o(80045),t=o(93230),s=o(2235),l=o(16491),c=o(82053),a=o(44414);const d=["children","scroll","onScroll","sx"],x=e=>{let{children:r,scroll:o=!1,onScroll:s,sx:l}=e,c=(0,n.A)(e,d);return(0,a.jsx)(t.A,(0,i.A)((0,i.A)({spacing:1.25,onScroll:s,sx:(0,i.A)((0,i.A)({p:1.5},o&&{maxHeight:"calc(100vh - 220px)",overflowY:"auto",overflowX:"hidden"}),l)},c),{},{children:r}))},h=e=>{let{accent:r="#662582",header:o,footer:n,selected:t=!1,onClick:c,children:d,sx:x}=e;return(0,a.jsxs)(s.A,{elevation:0,onClick:c,sx:(0,i.A)({position:"relative",overflow:"hidden",flexShrink:0,borderRadius:2.5,border:"1px solid",borderColor:t?r:"#e2e8f0",background:t?"".concat(r,"0a"):"#fff",boxShadow:"0 4px 14px rgba(15,23,42,0.05)",transition:"border-color 0.15s, box-shadow 0.15s"},x),children:[(0,a.jsx)(l.A,{sx:{position:"absolute",left:0,top:0,bottom:0,width:3,bgcolor:r}}),(0,a.jsxs)(l.A,{sx:{p:1.5,pl:2},children:[o,d,n]})]})},p=e=>{let{children:r,columns:o=2,sx:n}=e;return(0,a.jsx)(l.A,{sx:(0,i.A)({display:"grid",gridTemplateColumns:"repeat(".concat(o,", minmax(0, 1fr))"),gap:1,mt:1.25},n),children:r})},g=e=>{let{label:r,value:o,children:i,full:n=!1,align:t="left"}=e;return(0,a.jsxs)(l.A,{sx:{gridColumn:n?"1 / -1":"auto",minWidth:0,textAlign:t},children:[(0,a.jsx)(c.A,{sx:{fontSize:9.5,fontWeight:800,letterSpacing:.5,textTransform:"uppercase",color:"#94a3b8",lineHeight:1.4},children:r}),(0,a.jsx)(l.A,{sx:{mt:.25,minWidth:0},children:void 0!==i?i:(0,a.jsx)(c.A,{sx:{fontSize:13,fontWeight:600,color:"#0f172a"},noWrap:!0,children:null!==o&&void 0!==o?o:"\u2014"})})]})}},56311:(e,r,o)=>{o.d(r,{A:()=>p});var i=o(89379),n=o(9950),t=o(2660),s=o(2046),l=o(83274),c=o(25333),a=o(97125),d=o(7762),x=o(52097),h=o(44414);const p=e=>{let{value:r,onChange:o,onDebouncedChange:p,debounceTime:g=500,placeholder:m="Search (ctrl+k)",sx:b}=e;const u=(0,n.useRef)(null),[j]=(0,x.d7)(r,g);return(0,n.useEffect)((()=>{p&&p(j)}),[j,p]),(0,n.useEffect)((()=>{const e=e=>{var r;"k"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),null===(r=u.current)||void 0===r||r.focus());"Escape"===e.key&&document.activeElement===u.current&&u.current.blur()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[]),(0,h.jsx)(t.A,{sx:(0,i.A)({},b),inputRef:u,placeholder:m,autoComplete:"off",value:r,fullWidth:!0,onChange:e=>o(e.target.value),startAdornment:(0,h.jsx)(s.A,{position:"start",sx:{mr:-.5},children:(0,h.jsx)(a.A,{})}),endAdornment:(0,h.jsx)(l.A,{title:"Clear",children:(0,h.jsx)(c.A,{sx:{visibility:r?"visible":"hidden"},onClick:()=>o(""),children:(0,h.jsx)(d.A,{})})})})}},59212:(e,r,o)=>{o.d(r,{A:()=>h});var i=o(89379),n=o(9950),t=o(93230),s=o(41413),l=o(77922),c=o(29925),a=o(26910),d=o(31222),x=o(44414);const h=(0,n.forwardRef)(((e,r)=>{let{setAppId:o,setLocoName:h,setPage:p,sx:g,textfeildSx:m,textfieldSx:b,pill:u=!1,accentColor:j="#6366f1",icon:A,placeholder:f="Select Zone",paperComponent:v}=e;const[w,S]=(0,n.useState)(JSON.parse(localStorage.getItem("applocations")||"[]"));(0,n.useEffect)((()=>{0===w.length&&(async()=>{try{const e=localStorage.getItem("userid");if(!e)return;const r=await a.A.get("".concat("https://jupiter.nearle.app/live/api/v1","/partners/getlocations/?userid=").concat(e));if(r.data.status){const e=[...r.data.details,{locationname:"All",applocationid:0}];localStorage.setItem("applocations",JSON.stringify(e)),S(e)}}catch(e){console.error("Error fetching locations in LocationAutocomplete:",e)}})()}),[w.length]);const k=e=>"".concat(j).concat(e),y=k("08"),C=k("26"),I=k("55"),z=k("18"),W=u?{cursor:"pointer","& .MuiOutlinedInput-root":{borderRadius:"999px",bgcolor:y,fontWeight:600,color:"#0f172a",paddingRight:"8px",cursor:"pointer",transition:"border-color 0.15s, box-shadow 0.15s, background-color 0.2s","& fieldset":{borderColor:I,borderWidth:1.5},"&:hover fieldset":{borderColor:j},"&.Mui-focused":{boxShadow:"0 0 0 3px ".concat(C)},"&.Mui-focused fieldset":{borderColor:j,borderWidth:2}},"& .MuiAutocomplete-endAdornment .MuiSvgIcon-root":{color:j}}:{},R=u&&(0,x.jsx)(t.A,{direction:"row",alignItems:"center",spacing:.75,sx:{pl:.5,mr:.25,flexShrink:0},children:(0,x.jsx)(s.A,{sx:{width:24,height:24,bgcolor:z,color:j,transition:"background-color 0.15s, color 0.15s"},children:A||(0,x.jsx)(d.HPi,{size:14})})});return(0,x.jsx)(l.A,{id:"location-autocomplete",options:w||[],getOptionLabel:e=>{var r;return null!==(r=null===e||void 0===e?void 0:e.locationname)&&void 0!==r?r:""},PaperComponent:v,sx:(0,i.A)({},g),onChange:(e,r,i)=>{"clear"===i?(null===o||void 0===o||o(0),null===h||void 0===h||h(""),null===p||void 0===p||p(0)):r&&(null===o||void 0===o||o(r.applocationid),null===h||void 0===h||h(r.locationname),null===p||void 0===p||p(0))},renderInput:e=>u?(0,x.jsx)(c.A,(0,i.A)((0,i.A)({},e),{},{inputRef:r,placeholder:f,InputProps:(0,i.A)((0,i.A)({},e.InputProps),{},{startAdornment:R}),sx:(0,i.A)((0,i.A)({},W),b||m||{})})):(0,x.jsx)(c.A,(0,i.A)((0,i.A)({},e),{},{inputRef:r,label:"Select Zones",sx:(0,i.A)({},b||m||{})}))})}))},96646:(e,r,o)=>{o.d(r,{r:()=>c});var i=o(9213),n=o(21671),t=o(82917),s=o(93230),l=o(44414);const c=e=>{let{rowsPerPage:r=5,col:o=1}=e;return(0,l.jsx)(l.Fragment,{children:Array.from(new Array(r)).map(((e,r)=>(0,l.jsxs)(i.A,{children:[(0,l.jsx)(n.A,{children:(0,l.jsx)(t.A,{variant:"circular",width:24,height:24})}),(0,l.jsx)(n.A,{children:(0,l.jsx)(t.A,{variant:"text",width:30})}),Array.from({length:o}).map(((e,r)=>(0,l.jsx)(n.A,{children:(0,l.jsxs)(s.A,{spacing:.5,children:[(0,l.jsx)(t.A,{variant:"text",width:100}),(0,l.jsx)(t.A,{variant:"text",width:80})]})},r))),(0,l.jsx)(n.A,{children:(0,l.jsx)(t.A,{variant:"text",width:150})}),(0,l.jsx)(n.A,{children:(0,l.jsx)(t.A,{variant:"rounded",width:60,height:24})}),(0,l.jsx)(n.A,{align:"center",children:(0,l.jsxs)(s.A,{direction:"row",spacing:1,justifyContent:"flex-end",children:[(0,l.jsx)(t.A,{variant:"circular",width:28,height:28}),(0,l.jsx)(t.A,{variant:"circular",width:28,height:28})]})})]},r)))})}},97157:(e,r,o)=>{o.r(r),o.d(r,{default:()=>_});var i=o(89379),n=o(9950),t=o(2235),s=o(41413),l=o(16491),c=o(14857),a=o(47223),d=o(93230),x=o(82053),h=o(60899),p=o(1320),g=o(15769),m=o(69780),b=o(9213),u=o(21671),j=o(34075),A=o(31222),f=o(36150),v=o(52351),w=o(56311),S=o(59212),k=o(23787),y=o(96646),C=o(81425),I=o(44414);const z=16,W="0 8px 24px rgba(15, 23, 42, 0.08)",R="0 18px 50px rgba(15, 23, 42, 0.18)",M="#0f172a",P="#64748b",L="#94a3b8",B="#e2e8f0",F="#f1f5f9",N="#f8fafc",T=(e,r)=>"".concat(e).concat(r),J=e=>T(e,"08"),D=e=>T(e,"18"),H=e=>T(e,"26"),K=e=>T(e,"55"),O="#662582",E=e=>(0,I.jsx)(t.A,(0,i.A)((0,i.A)({},e),{},{sx:{mt:.75,borderRadius:2,boxShadow:R,border:"1px solid",borderColor:"divider",overflow:"hidden"}})),Y=e=>{let{color:r,selected:o,size:i=24,children:n}=e;return(0,I.jsx)(s.A,{sx:{width:i,height:i,bgcolor:o?r:D(r),color:o?"#fff":r,transition:"background-color 0.15s, color 0.15s"},children:n})},Z=e=>new Intl.NumberFormat("en-IN",{style:"currency",currency:"INR",minimumFractionDigits:2}).format(Number(e)||0),G=e=>new Intl.NumberFormat("en-IN",{minimumFractionDigits:2}).format(Number(e)||0),$=e=>{let{color:r,icon:o,label:i,width:n}=e;return(0,I.jsxs)(l.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:999,bgcolor:J(r),border:"1px solid ".concat(K(r)),color:r,fontSize:11,fontWeight:800,minWidth:n,justifyContent:"center"},children:[o,i]})},_=()=>{const e=(0,c.A)(),r=(0,a.A)(e.breakpoints.down("md")),o=(0,n.useRef)(),[i,R]=(0,n.useState)(0),[T,_]=(0,n.useState)("All"),[q,V]=(0,n.useState)(""),[X,Q]=(0,n.useState)(""),{data:U=[],isLoading:ee}=(0,f.I)({queryKey:["getallpricing",i],queryFn:C.OM,keepPreviousData:!0}),re=(0,n.useMemo)((()=>{if(!X)return U;const e=X.toLowerCase().trim();return U.filter((r=>[r.applocation,r.appname,r.slab,String(r.pricingid)].filter(Boolean).some((r=>String(r).toLowerCase().includes(e)))))}),[U,X]),oe=(0,n.useMemo)((()=>{const e=U.length;return{total:e,tenants:new Set(U.map((e=>e.appname)).filter(Boolean)).size,avgBase:e?U.reduce(((e,r)=>e+(Number(r.baseprice)||0)),0)/e:0}}),[U]),ie=[{key:"total",label:"Total Pricing Slabs",color:O,icon:A.JL6,value:oe.total},{key:"tenants",label:"Tenants Priced",color:"#0ea5e9",icon:A.Itr,value:oe.tenants},{key:"avg",label:"Avg Base Price",color:"#f59e0b",icon:A.H4F,value:Z(oe.avgBase)},{key:"zone",label:"Active Zone",color:"#10b981",icon:A.JFD,value:T||"All Zones"}];return(0,I.jsxs)(I.Fragment,{children:[ee&&(0,I.jsx)(v.A,{}),(0,I.jsx)(t.A,{elevation:0,sx:{mb:{xs:1.5,md:2},p:{xs:1.5,sm:2,md:2.5},borderRadius:z/8,border:"1px solid",borderColor:B,background:"linear-gradient(135deg, ".concat(J(O)," 0%, ").concat(J("#9255AB")," 100%)"),boxShadow:W},children:(0,I.jsxs)(d.A,{direction:{xs:"column",sm:"row"},alignItems:{xs:"flex-start",sm:"center"},justifyContent:"space-between",spacing:{xs:1.5,sm:2},children:[(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",spacing:{xs:1.25,sm:1.75},children:[(0,I.jsx)(s.A,{sx:{width:{xs:40,sm:48},height:{xs:40,sm:48},bgcolor:O,color:"#fff",boxShadow:"0 6px 18px ".concat(H(O))},children:(0,I.jsx)(A.JL6,{size:22})}),(0,I.jsxs)(d.A,{children:[(0,I.jsx)(x.A,{variant:"h3",sx:{fontWeight:800,color:M,lineHeight:1.1,fontSize:{xs:"1.25rem",sm:"1.5rem",md:"1.75rem"}},children:"Pricing"}),(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",spacing:.75,sx:{mt:.5},children:[(0,I.jsx)(l.A,{sx:{width:8,height:8,borderRadius:"50%",bgcolor:"#10b981",boxShadow:"0 0 0 4px rgba(16,185,129,0.18)"}}),(0,I.jsxs)(x.A,{variant:"caption",sx:{color:P,fontWeight:600},children:["Live \xb7 ",T||"All Zones"]})]})]})]}),(0,I.jsx)(S.A,{locaName:T,setAppId:R,setLocoName:_,pill:!0,accentColor:O,icon:(0,I.jsx)(A.HPi,{size:14}),placeholder:"Select Zone",paperComponent:E,sx:{width:{xs:"100%",sm:280},zIndex:100}})]})}),(0,I.jsx)(h.Ay,{container:!0,spacing:{xs:1.25,sm:1.5,md:2},sx:{mt:"1px"},children:ie.map((e=>{const r=e.icon;return(0,I.jsx)(h.Ay,{item:!0,xs:6,sm:6,md:3,children:(0,I.jsxs)(t.A,{elevation:0,sx:{position:"relative",overflow:"hidden",p:{xs:1.25,sm:1.75,md:2.25},borderRadius:z/8,border:"1px solid",borderColor:B,background:"#fff",transition:"transform 0.2s, box-shadow 0.2s, border-color 0.2s","&:hover":{transform:"translateY(-3px)",boxShadow:W,borderColor:K(e.color)}},children:[(0,I.jsx)(l.A,{sx:{position:"absolute",top:0,left:0,right:0,height:3,background:"linear-gradient(90deg, ".concat(e.color," 0%, ").concat(D(e.color)," 100%)")}}),(0,I.jsxs)(d.A,{direction:"row",alignItems:"flex-start",justifyContent:"space-between",spacing:1,children:[(0,I.jsxs)(d.A,{spacing:.5,sx:{minWidth:0,flex:1},children:[(0,I.jsx)(x.A,{variant:"caption",sx:{color:P,fontWeight:700,letterSpacing:.4,textTransform:"uppercase",fontSize:{xs:10,sm:11},whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.label}),(0,I.jsx)(x.A,{sx:{fontWeight:800,color:M,lineHeight:1.1,fontSize:{xs:"1.25rem",sm:"1.5rem",md:"1.75rem"},whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.value})]}),(0,I.jsx)(s.A,{sx:{width:{xs:36,sm:42,md:48},height:{xs:36,sm:42,md:48},bgcolor:D(e.color),color:e.color,boxShadow:"inset 0 0 0 1px ".concat(K(e.color)),flexShrink:0},children:(0,I.jsx)(r,{size:20})})]})]})},e.key)}))}),(0,I.jsx)(t.A,{elevation:0,sx:{mt:{xs:1.5,md:2},p:{xs:1,md:1.5},borderTopLeftRadius:z/8,borderTopRightRadius:z/8,borderBottomLeftRadius:0,borderBottomRightRadius:0,border:"1px solid",borderColor:B,borderBottom:0,background:"#fff"},children:(0,I.jsxs)(d.A,{direction:{xs:"column",sm:"row"},alignItems:{xs:"stretch",sm:"center"},justifyContent:"space-between",spacing:1.25,children:[(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",spacing:1.25,children:[(0,I.jsx)(Y,{color:O,size:32,children:(0,I.jsx)(A.JL6,{size:18})}),(0,I.jsxs)(d.A,{children:[(0,I.jsx)(x.A,{variant:"caption",sx:{fontWeight:800,color:P,letterSpacing:.6,textTransform:"uppercase"},children:"Pricing Catalog"}),(0,I.jsxs)(x.A,{variant:"body2",sx:{color:M,fontWeight:700},children:[U.length," total \xb7 ",re.length," shown"]})]})]}),(0,I.jsx)(l.A,{sx:{width:{xs:"100%",sm:280,lg:340},flex:{xs:"1 1 100%",sm:"0 0 auto"}},children:(0,I.jsx)(w.A,{value:q,onChange:V,onDebouncedChange:Q,placeholder:"Search pricing (ctrl+k)",sx:{m:0,width:"100%",borderRadius:999,bgcolor:J(O),"& fieldset":{borderColor:K(O),borderWidth:1.5},"&:hover fieldset":{borderColor:O},"&.Mui-focused fieldset":{borderColor:O,borderWidth:2},"&.Mui-focused":{boxShadow:"0 0 0 3px ".concat(H(O))}}})})]})}),(0,I.jsx)(t.A,{elevation:0,sx:{borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:z/8,borderBottomRightRadius:z/8,border:"1px solid",borderColor:B,overflow:"hidden",background:"#fff"},children:r?0!==re.length||ee?(0,I.jsx)(k.nV,{scroll:!0,children:re.map(((e,r)=>{var o;return(0,I.jsxs)(k.pg,{accent:O,header:(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:1,children:[(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",spacing:1,sx:{minWidth:0},children:[(0,I.jsx)(Y,{color:O,size:36,children:(0,I.jsx)(A.Itr,{size:18})}),(0,I.jsxs)(d.A,{sx:{minWidth:0},children:[(0,I.jsx)(x.A,{variant:"subtitle2",sx:{fontWeight:700,color:M},noWrap:!0,children:e.appname||"\u2014"}),(0,I.jsxs)(x.A,{variant:"caption",sx:{color:P},children:["ID #",e.pricingid]})]})]}),(0,I.jsx)(x.A,{variant:"caption",sx:{fontWeight:700,color:L,flexShrink:0},children:String(r+1).padStart(2,"0")})]}),children:[(0,I.jsxs)(d.A,{direction:"row",spacing:.75,sx:{mt:1,flexWrap:"wrap",gap:.75},children:[e.applocation?(0,I.jsxs)(l.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:999,bgcolor:J("#10b981"),border:"1px solid ".concat(K("#10b981")),color:"#10b981",fontSize:11,fontWeight:800},children:[(0,I.jsx)(A.JFD,{size:12})," ",e.applocation]}):null,(0,I.jsxs)(l.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:999,bgcolor:J("#0ea5e9"),border:"1px solid ".concat(K("#0ea5e9")),color:"#0ea5e9",fontSize:11,fontWeight:800},children:[(0,I.jsx)(A.BJM,{size:12})," ",e.slab||"\u2014"]})]}),(0,I.jsxs)(k.FG,{children:[(0,I.jsx)(k.pY,{label:"Base Price",children:(0,I.jsx)($,{color:O,icon:(0,I.jsx)(A.bmp,{size:12}),label:Z(e.baseprice)})}),(0,I.jsx)(k.pY,{label:"Price / KM",children:(0,I.jsx)($,{color:"#10b981",icon:(0,I.jsx)(A.H4F,{size:12}),label:Z(e.priceperkm)})}),(0,I.jsx)(k.pY,{label:"Min KM",children:(0,I.jsx)($,{color:"#f59e0b",icon:(0,I.jsx)(A.xI$,{size:12}),label:"".concat(G(e.minkm)," km")})}),(0,I.jsx)(k.pY,{label:"Max KM",children:(0,I.jsx)($,{color:"#ef4444",icon:(0,I.jsx)(A.xI$,{size:12}),label:"".concat(G(e.maxkm)," km")})}),(0,I.jsx)(k.pY,{label:"Min Orders",children:(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",spacing:.5,children:[(0,I.jsx)(A.GdF,{size:14,color:L}),(0,I.jsx)(x.A,{variant:"subtitle2",sx:{fontWeight:700,color:M},children:null!==(o=e.minorder)&&void 0!==o?o:"\u2014"})]})})]})]},e.pricingid||"".concat(e.appname,"-").concat(r))}))}):(0,I.jsxs)(d.A,{alignItems:"center",spacing:1.5,sx:{py:6,px:2},children:[(0,I.jsx)(s.A,{sx:{width:64,height:64,bgcolor:D("#94a3b8"),color:L},children:(0,I.jsx)(A.JL6,{size:28})}),(0,I.jsx)(x.A,{variant:"subtitle1",sx:{fontWeight:700,color:M},children:"No pricing to show"}),(0,I.jsx)(x.A,{variant:"caption",sx:{color:P,textAlign:"center"},children:q?"Try a different keyword.":"Pick a zone above to load the catalog."})]}):(0,I.jsx)(p.A,{ref:o,sx:{maxHeight:{xs:"calc(100vh - 220px)",md:"calc(100vh - 190px)"},"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-thumb":{backgroundColor:K(O),borderRadius:8,"&:hover":{backgroundColor:O}},"&::-webkit-scrollbar-track":{backgroundColor:N}},children:(0,I.jsxs)(g.A,{stickyHeader:!0,sx:{minWidth:{xs:860,md:1080}},children:[(0,I.jsx)(m.A,{children:(0,I.jsxs)(b.A,{sx:{"& th":{backgroundColor:N,color:P,fontSize:{xs:10,md:11},fontWeight:800,letterSpacing:.6,textTransform:"uppercase",whiteSpace:"nowrap",borderBottom:"1px solid ".concat(B),py:{xs:1,md:1.25},px:{xs:1,md:2}}},children:[(0,I.jsx)(u.A,{children:"#"}),(0,I.jsx)(u.A,{children:"Tenant"}),(0,I.jsx)(u.A,{children:"Zone"}),(0,I.jsx)(u.A,{children:"Slab"}),(0,I.jsx)(u.A,{align:"center",children:"Base Price"}),(0,I.jsx)(u.A,{align:"center",children:"Min KM"}),(0,I.jsx)(u.A,{align:"center",children:"Price / KM"}),(0,I.jsx)(u.A,{align:"center",children:"Max KM"}),(0,I.jsx)(u.A,{align:"center",children:"Min Orders"})]})}),(0,I.jsxs)(j.A,{children:[ee&&(0,I.jsx)(y.r,{col:5}),0!==re.length||ee?re.map(((e,r)=>{var o;return(0,I.jsxs)(b.A,{sx:{transition:"background-color 0.15s","& td":{borderBottom:"1px solid ".concat(F),py:{xs:1,md:1.5},px:{xs:1,md:2}},"&:hover":{backgroundColor:N}},children:[(0,I.jsx)(u.A,{children:(0,I.jsx)(x.A,{variant:"caption",sx:{fontWeight:700,color:L},children:String(r+1).padStart(2,"0")})}),(0,I.jsx)(u.A,{children:(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",spacing:1,children:[(0,I.jsx)(Y,{color:O,size:36,children:(0,I.jsx)(A.Itr,{size:18})}),(0,I.jsxs)(d.A,{children:[(0,I.jsx)(x.A,{variant:"subtitle2",sx:{fontWeight:700,color:M,whiteSpace:"nowrap"},children:e.appname||"\u2014"}),(0,I.jsxs)(x.A,{variant:"caption",sx:{color:P},children:["ID #",e.pricingid]})]})]})}),(0,I.jsx)(u.A,{children:e.applocation?(0,I.jsxs)(l.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:999,bgcolor:J("#10b981"),border:"1px solid ".concat(K("#10b981")),color:"#10b981",fontSize:11,fontWeight:800},children:[(0,I.jsx)(A.JFD,{size:12})," ",e.applocation]}):(0,I.jsx)(x.A,{variant:"caption",sx:{color:L},children:"\u2014"})}),(0,I.jsx)(u.A,{children:(0,I.jsxs)(l.A,{sx:{display:"inline-flex",alignItems:"center",gap:.5,px:1,py:.375,borderRadius:999,bgcolor:J("#0ea5e9"),border:"1px solid ".concat(K("#0ea5e9")),color:"#0ea5e9",fontSize:11,fontWeight:800},children:[(0,I.jsx)(A.BJM,{size:12})," ",e.slab||"\u2014"]})}),(0,I.jsx)(u.A,{align:"center",children:(0,I.jsx)($,{color:O,icon:(0,I.jsx)(A.bmp,{size:12}),label:Z(e.baseprice),width:110})}),(0,I.jsx)(u.A,{align:"center",children:(0,I.jsx)($,{color:"#f59e0b",icon:(0,I.jsx)(A.xI$,{size:12}),label:"".concat(G(e.minkm)," km"),width:90})}),(0,I.jsx)(u.A,{align:"center",children:(0,I.jsx)($,{color:"#10b981",icon:(0,I.jsx)(A.H4F,{size:12}),label:Z(e.priceperkm),width:110})}),(0,I.jsx)(u.A,{align:"center",children:(0,I.jsx)($,{color:"#ef4444",icon:(0,I.jsx)(A.xI$,{size:12}),label:"".concat(G(e.maxkm)," km"),width:90})}),(0,I.jsx)(u.A,{align:"center",children:(0,I.jsxs)(d.A,{direction:"row",alignItems:"center",justifyContent:"center",spacing:.5,children:[(0,I.jsx)(A.GdF,{size:14,color:L}),(0,I.jsx)(x.A,{variant:"subtitle2",sx:{fontWeight:700,color:M,whiteSpace:"nowrap"},children:null!==(o=e.minorder)&&void 0!==o?o:"\u2014"})]})})]},e.pricingid||"".concat(e.appname,"-").concat(r))})):(0,I.jsx)(b.A,{children:(0,I.jsx)(u.A,{colSpan:9,sx:{py:6},children:(0,I.jsxs)(d.A,{alignItems:"center",spacing:1.5,children:[(0,I.jsx)(s.A,{sx:{width:64,height:64,bgcolor:D("#94a3b8"),color:L},children:(0,I.jsx)(A.JL6,{size:28})}),(0,I.jsx)(x.A,{variant:"subtitle1",sx:{fontWeight:700,color:M},children:"No pricing to show"}),(0,I.jsx)(x.A,{variant:"caption",sx:{color:P},children:q?"Try a different keyword.":"Pick a zone above to load the catalog."})]})})})]})]})})})]})}}}]);