PageSourceSearch

https://smartgarage.co.in/assets/js/index-BaGv6Q60.js

js smartgarage.co.in collected 2026-10-07 17:41:52 UTC 16,342 bytes, 365 lines download raw bytes

1import{O as t,u as F,r as l,j as e,y as O,c as R,s as m,R as v,F as U}from"./index-H6FW8B51.js";const J="/assets/jpeg/campaignImage-BLlm6Bc1.jpeg";t.div`
2  z-index: 1;
3  padding: 2vmin;
4  border-radius: 1vmax;
5  background-color: white;
6`;const G=t.img`
7  @media (max-width: 1200px) {
8    width: 50%;
9  }
10
11  @media (max-width: 780px) {
12    width: 100%;
13    height: 73vh;
14    float: none;
15  }
16  width: 49%;
17  height: 155vh;
18  float: left;
19`;t.form`
20  @media (max-width: 1200px) {
21    width: 70%;
22    margin-right: 15%;
23    height: 60%;
24  }
25  @media (max-width: 852px) {
26    width: 100%;
27    margin: 0;
28  }
29  @media (max-width: 540px) {
30    width: 100%;
31    margin: 0;
32  }
33  float: right;
34  width: 52%;
35  height: 100%;
36  overflow: hidden;
37`;t.div`
38  @media (max-width: 1200px) {
39    width: 100%;
40    height: 43%;
41    overflow: auto;
42  }
43  @media (max-width: 540px) {
44    width: 95%;
45    height: 43%;
46    overflow: auto;
47  }
48  border: 1px solid black;
49  width: 96%;
50  margin-left: 2%;
51  height: 40vh;
52  border-radius: 10px;
53  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.9);
54`;t.h3`
55  @media (max-width: 540px) {
56    font-size: 13px;
57  }
58  margin-left: 18%;
59  color: #e85122;
60`;t.p`
61  font-size: 15px;
62  margin-left: 4%;
63`;t.div`
64  @media (max-width: 540px) {
65    padding: 0px;
66    margin-top: 35%;
67    font-size: 13px;
68    font-weight: bold;
69  }
70  padding: 10px;
71  white-space: pre;
72  font-size: 15px;
73`;t.select`
74  margin-left: 8px;
75  width: 50.5%;
76`;t.div`
77  @media (max-width: 540px) {
78    width: 50%;
79  }
80  float: left;
81  width: 60%;
82  height: auto;
83`;t.div`
84  float: left;
85  height: auto;
86`;t.div`
87  @media (max-width: 1200px) {
88    width: 100%;
89    height: 15%;
90    overflow: auto;
91  }
92  @media (max-width: 540px) {
93    width: 95%;
94    height: 15%;
95    overflow: auto;
96  }
97  height: 7vh;
98  width: 96%;
99  margin-left: 2%;
100  border: 1px solid black;
101  border-radius: 10px;
102  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.9);
103`;t.div`
104  @media (max-width: 1200px) {
105    width: 100%;
106    height: 51%;
107    overflow: auto;
108  }
109  @media (max-width: 540px) {
110    width: 95%;
111    height: 51%;
112    overflow: auto;
113  }
114  height: 40vh;
115  width: 96%;
116  margin-left: 2%;
117  border: 1px solid black;
118  border-radius: 10px;
119  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.9);
120`;t.div`
121  float: right;
122  height: auto;
123`;t.div`
124  @media (max-width: 540px) {
125    width: 23%;
126  }
127  float: right;
128  height: auto;
129  width: 40%;
130`;t.div`
131  @media (max-width: 540px) {
132    width: 53%;
133  }
134  float: right;
135  height: auto;
136  width: 60%;
137`;t.div`
138  float: left;
139  width: 40%;
140  height: auto;
141`;t.label`
142  @media (max-width: 540px) {
143  }
144  padding: 1px 100px 1px 10px;
145  white-space: pre;
146  font-size: 12px;
147`;t.div`
148  margin-left: 2%;
149  padding: 5px;
150`;t.div`
151  margin-left: 2px;
152`;t.input`
153  margin-left: 90px;
154  margin-top: 2%;
155`;t.input`
156  @media (max-width: 540px) {
157    width: 80px;
158
159    padding: 0px;
160    margin-top: 20px;
161    font-size: 13px;
162    font-weight: bold;
163  }
164  margin: 17px 10px 0px 0px;
165`;t.textarea`
166  @media (max-width: 540px) {
167    width: 80px;
168
169    padding: 0px;
170    margin-top: 20px;
171    font-size: 13px;
172    font-weight: bold;
173  }
174  width: 92%;
175  margin: 17px 10px 0px 0px;
176`;t.div`
177  float: left;
178`;t.div`
179  float: left;
180`;t.div`
181  @media (max-width: 540px) {
182    margin-top: 6px;
183  }
184  float: right;
185`;t.div`
186  float: right;
187`;t.div`
188  @media (max-width: 540px) {
189    width: 72px;
190  }
191  float: left;
192`;t.div`
193  @media (max-width: 540px) {
194    margin-top: 6px;
195  }
196  float: right;
197`;t.input`
198  @media (max-width: 540px) {
199    width: 80px;
200
201    padding: 0px;
202    margin-top: 20px;
203    font-size: 13px;
204    font-weight: bold;
205  }
206  height: 20px;
207  width: 156px;
208  margin: 17px 10px 0px 0px;
209`;t.div`
210  @media (max-width: 540px) {
211    margin-top: 20%;
212  }
213  margin-top: 4%;
214`;t.input`
215  @media (max-width: 540px) {
216    width: 80px;
217  }
218`;t.div`
219padding:10px
220width:40%;
221height:10%;
222margin-left:3%;
223`;t.div`
224  @media (max-width: 540px) {
225    font-size: 14px;
226    width: 70%;
227  }
228  float: left;
229  width: 50%;
230`;t.div`
231  @media (max-width: 540px) {
232    width: 30%;
233  }
234  float: right;
235  width: 40%;
236`;t.select`
237  @media (max-width: 540px) {
238    margin-top: 10%;
239  }
240  margin-top: 7%;
241`;t.button`
242  @media (max-width: 540px) {
243    margin-left: 40%;
244    float: none;
245  }
246  float: right;
247  color: white;
248  padding: 8px;
249  font-size: 13px;
250  font-weight: bold;
251  border-radius: 5px;
252  width: 90px;
253  background-color: #e85122;
254`;const q=t.div`
255  @media (max-width: 1300px) {
256    grid-template-columns: auto auto auto auto auto auto;
257  }
258  @media (max-width: 1026px) {
259    grid-template-columns: auto auto auto auto auto;
260  }
261  @media (max-width: 763px) {
262    grid-template-columns: auto auto auto auto auto;
263  }
264  @media (max-width: 530px) {
265    grid-template-columns: auto auto auto;
266  }
267  @media (max-width: 410px) {
268    grid-template-columns: auto auto auto;
269  }
270
271  margin-top: 1%;
272  padding-top: 5px;
273  padding-bottom: 5px;
274  display: grid;
275  grid-template-columns: auto auto auto auto auto auto;
276  grid-template-rows: auto;
277  grid-column-gap: 2px;
278  grid-row-gap: 2px;
279  border-radius: 8px;
280`,$=t.div`
281  display: flex;
282
283  @media (max-width: 780px) {
284    display: flex;
285    flex-direction: column;
286    align-items: center;
287    width: 100%;
288  }
289  @media (max-width: 850px) {
290    display: flex;
291    flex-direction: column;
292    width: 100%;
293    align-items: center;
294  }
295`,Q=t.div`
296  @media (max-width: 1100px) {
297    width: 100%;
298    float: none;
299  }
300  float: right;
301  padding: 10px;
302  width: 52%;
303  height: 100%;
304  overflow: hidden;
305`,V=t.div`
306  @media (max-width: 540px) {
307    font-size: 20px;
308  }
309  text-align: center;
310  color: #e85122;
311  font-size: 25px;
312  font-family: Times New Roman, Times, serif;
313  font-weight: bolder;
314`;t.div`
315  margin-top: 2%;
316`;const X=t.form``,d=t.div`
317  margin-top: 4%;
318`;t.label`
319  color: #e85122;
320`;const s=t.input`
321  margin-top: 2%;
322  border: 0;
323  outline: 0;
324  background: transparent;
325  border-bottom: 1px solid grey;
326  width: 100%;
327`,c=t.select`
328  margin-top: 2%;
329  border: 0;
330  outline: 0;
331  background: transparent;
332  border-bottom: 1px solid black;
333  width: 100%;
334`;t.textarea`
335  margin-top: 2%;
336  border: 0;
337  outline: 0;
338  background: transparent;
339  border-bottom: 1px solid black;
340  width: 100%;
341`;const Z=t.button`
342  @media (max-width: 1100px) {
343    margin-left: 38%;
344    float: none;
345  }
346  background-color: #e85122;
347  padding: 13px;
348  font-size: 14px;
349  font-weight: bold;
350  color: white;
351  border-radius: 25px;
352  margin-top: 1%;
353  float: right;
354`,_=o=>{let x=F();const p=async a=>{var u,g;a.preventDefault();let n=`${R.baseUrl}/utilities/contest`;const Y={firstName:M,mobile:P,address:j,city:k,state:f,pincode:C,qualification:D,location:T,experience:B,workingOn:I,interested:K==="Yes",brands:i.join(","),contestName:"Mechanic Contest"};try{const h=await O(n,Y);(u=h==null?void 0:h.data)!=null&&u.error?m({subject:`Logger:${(g=h==null?void 0:h.data)==null?void 0:g.error} on contest`,body:h}):x.push("/popup")}catch(h){m({subject:"Logger:Unable to send contest",body:h})}},[j,w]=l.useState(""),[f,b]=l.useState(""),[k,y]=l.useState(""),[C,S]=l.useState(0),[M,N]=l.useState(""),[P,z]=l.useState(""),[D,A]=l.useState(""),[T,H]=l.useState(""),[B,E]=l.useState(""),[I,L]=l.useState(""),[i,r]=l.useState([]),[K,W]=l.useState("Yes");return e.jsx(e.Fragment,{children:e.jsx("div",{children:e.jsxs($,{children:[e.jsx(G,{src:J}),e.jsxs(Q,{children:[e.jsx(V,{children:"Please fill out the form below"}),e.jsxs(X,{onSubmit:a=>p(a),children:[e.jsxs(d,{children:[e.jsxs("h5",{children:["Your Name",e.jsx("sup",{children:"*"})]}),e.jsx(s,{type:"text",required:!0,onChange:a=>N(a.target.value),placeholder:"Your Name"})]}),e.jsxs(d,{children:[e.jsxs("h5",{children:["Your Mobile Number",e.jsx("sup",{children:"*"})]}
354),e.jsx(s,{required:!0,type:"text",onChange:a=>z(a.target.value),placeholder:"Mobile Number"})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Your Address"}),e.jsx(s,{type:"text",onChange:a=>w(a.target.value),placeholder:"Address"})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"City"}),e.jsx(s,{type:"text",onChange:a=>y(a.target.value),placeholder:"City"})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"State"}),e.jsxs(c,{onChange:a=>b(a.target.value),children:[e.jsx("option",{children:"Select State"}),e.jsx("option",{value:"Andhra Pradesh",children:"Andhra Pradesh"}),e.jsx("option",{value:"Andaman and Nicobar Islands",children:"Andaman and Nicobar Islands"}),e.jsx("option",{value:"Arunachal Pradesh",children:"Arunachal Pradesh"}),e.jsx("option",{value:"Assam",children:"Assam"}),e.jsx("option",{value:"Bihar",children:"Bihar"}),e.jsx("option",{value:"Chandigarh",children:"Chandigarh"}),e.jsx("option",{value:"Chhattisgarh",children:"Chhattisgarh"}),e.jsx("option",{value:"Dadar and Nagar Haveli",children:"Dadar and Nagar Haveli"}),e.jsx("option",{value:"Daman and Diu",children:"Daman and Diu"}),e.jsx("option",{value:"Delhi",children:"Delhi"}),e.jsx("option",{value:"Lakshadweep",children:"Lakshadweep"}),e.jsx("option",{value:"Puducherry",children:"Puducherry"}),e.jsx("option",{value:"Goa",children:"Goa"}),e.jsx("option",{value:"Gujarat",children:"Gujarat"}),e.jsx("option",{value:"Haryana",children:"Haryana"}),e.jsx("option",{value:"Himachal Pradesh",children:"Himachal Pradesh"}),e.jsx("option",{value:"Jammu and Kashmir",children:"Jammu and Kashmir"}),e.jsx("option",{value:"Jharkhand",children:"Jharkhand"}),e.jsx("option",{value:"Karnataka",children:"Karnataka"}),e.jsx("option",{value:"Kerala",children:"Kerala"}),e.jsx("option",{value:"Madhya Pradesh",children:"Madhya Pradesh"}),e.jsx("option",{value:"Maharashtra",children:"Maharashtra"}),e.jsx("option",{value:"Manipur",children:"Manipur"}),e.jsx("option",{value:"Meghalaya",children:"Meghalaya"}),e.jsx("option",{value:"Mizoram",children:"Mizoram"}),e.jsx("option",{value:"Nagaland",children:"Nagaland"}),e.jsx("option",{value:"Odisha",children:"Odisha"}),e.jsx("option",{value:"Punjab",children:"Punjab"}),e.jsx("option",{value:"Rajasthan",children:"Rajasthan"}),e.jsx("option",{value:"Sikkim",children:"Sikkim"}),e.jsx("option",{value:"Tamil Nadu",children:"Tamil Nadu"}),e.jsx("option",{value:"Telangana",children:"Telangana"}),e.jsx("option",{value:"Tripura",children:"Tripura"}),e.jsx("option",{value:"Uttar Pradesh",children:"Uttar Pradesh"}),e.jsx("option",{value:"Uttarakhand",children:"Uttarakhand"}),e.jsx("option",{value:"West Bengal",children:"West Bengal"})]})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Pincode"}),e.jsx(s,{type:"number",onChange:a=>S(Number(a.target.value)),placeholder:"Pincode"})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Highest Qualification"}),e.jsxs(c,{onChange:a=>A(a.target.value),children:[e.jsx("option",{children:"None"}),e.jsx("option",{children:"8th"}),e.jsx("option",{children:"10th"}),e.jsx("option",{children:"10+2"}),e.jsx("option",{children:"I.T.I"})]})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Working Location"}),e.jsx(s,{type:"text",onChange:a=>H(a.target.value),placeholder:"Location"})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Current working On"}),e.jsxs(c,{onChange:a=>L(a.target.value),children:[e.jsx("option",{children:"Select"}),e.jsx("option",{children:"Authorised service center mechanic"}),e.jsx("option",{children:"Local garage mechanic"}),e.jsx("option",{children:"Owner of local garage"})]})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Working Experience"}),e.jsx(s,{onChange:a=>E(a.target.value),placeholder:"Experience"})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Specialized brands"}),e.jsxs(q,{children:[e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"TVS",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"TVS"})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Honda",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Honda"})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Royal Enfield",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Royal Enfield"})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Suzuki",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Suzuki "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Kawasaki",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Kawasaki "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Yamaha",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Yamaha "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Hero",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Hero "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Mahindra",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Mahindra "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Harley-Davidson",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Harley-Davidson "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"KTM",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"KTM"})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Bajaj ",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Bajaj "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Aprilia ",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Aprilia "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Jawa ",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Jawa "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Ducati ",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Ducati "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Triumph",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Triumph "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"Pi
354aggio",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"Piaggio "})]}),e.jsxs("div",{children:[e.jsx("input",{type:"checkbox",value:"BMW",onChange:a=>a.target.checked?r([...i,a.target.value]):r(i.filter(n=>n!==a.target.value))}),e.jsx("label",{children:"BMW"})]})]})]}),e.jsxs(d,{children:[e.jsx("h5",{children:"Want to associate with Smart Garage ?"}),e.jsxs(c,{onChange:a=>W(a.target.value),children:[e.jsx("option",{children:"Yes"}),e.jsx("option",{children:"No"})]})]}),e.jsx(Z,{style:{marginBottom:"75px"},children:"SUBMIT"})]})]})]})})})},ee={values:{applicantEmail:"",applicantConfirmEmail:"",applicantId:"",applicantName:"",applicantMobile:"",applicantWhatsapp:"",applicantCorrespondenceAddress:"",applicantCity:"",applicantDistrict:"",applicantState:"",applicantPincode:"",applicantCountry:""},errors:{},isLoading:!1,error:!1,msg:"",errorShow:!1};function ae(){const[o,x]=v.useState(ee);return Object.keys(o.values).every(p=>o.values[p]),o.values.applicantEmail||o.values.applicantConfirmEmail||o.values.applicantId||o.values.applicantName||o.values.applicantMobile||o.values.applicantWhatsapp||o.values.applicantCorrespondenceAddress||o.values.applicantCity||o.values.applicantDistrict||o.values.applicantState||o.values.applicantPincode||o.values.applicantCountry,e.jsx(_,{})}const te=t.div`
355  @media (max-width: 540px) {
356    width: 100%;
357    margin: 0;
358  }
359  width: 96%;
360  margin-left: 2%;
361  height: 180vh;
362  margin-top: 1%;
363  background-color: white;
364  border-radius: 3px;
365`;function ne({history:o}){const[x,p]=v.useState("");return e.jsx(U,{style:{width:"100vw",height:"180vh",overflow:"hidden auto",backgroundSize:"cover"},children:e.jsx(te,{children:e.jsx(ae,{})})})}export{ne as Contest};

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.