PageSourceSearch

https://amberexpress.net/Scripts/JS/ETicket_VRL.jsx

js amberexpress.net collected 2026-10-02 02:02:21 UTC 29,478 bytes, 1,107 lines download raw bytes

1// @hash v3-44402FC864E02870952883D47C8CB6A2AFA277FC
2// Automatically generated by ReactJS.NET. Do not edit, your changes will be overridden.
3// Version: 5.2.12 (build 29c76c8) with Babel 7.8.7
4// Generated at: 10/2/2026 7:32:20 AM
5///////////////////////////////////////////////////////////////////////////////
6const {
7  useEffect,
8  useState
9} = React;
10const ErrorLog = React.lazy(() => import('/Scripts/JS/ErrorLog.jsx'));
11export default function ETicket(props) {
12  let {
13    compDetails
14  } = props;
15  let [ticketData, setTicketData] = useState([]);
16  useEffect(() => {
17    (async function () {
18      await GetTicketDetails();
19    })();
20  }, []);
21
22  const GetTicketDetails = async () => {
23    try {
24      debugger;
25      $(".isLoader").show();
26      await axios.post('/DataBinding.aspx/GetETicket', {}).then(async response => {
27        let data = await JSON.parse(response.data.d.data);
28        let mainTktData = [],
29            paxData = [],
30            BaseFare = 0,
31            ServiceTax = 0;
32
33        let paxdata = _.cloneDeep(data.orderData.PaxDetails);
34
35        _.each(data.orderData.orderDetails, function (tktdata, i) {
36          let tktData = {
37            PNRNo: tktdata.PNRNo,
38            M_OrderID: tktdata.M_OrderID,
39            JourneyDate: tktdata.JourneyDate,
40            JourneyDateTime: tktdata.JourneyDateTime,
41            PickupName: tktdata.PickupName,
42            PickupTime: tktdata.PickupTime,
43            DropName: tktdata.DropName,
44            DropTime: tktdata.DropTime,
45            SharedCompanyName: tktdata.SharedCompanyName,
46            BusTypeName: tktdata.BusTypeName,
47            ArrangementName: tktdata.ArrangementName,
48            TotalPax: tktdata.TotalPax,
49            FromCityName: tktdata.FromCityName,
50            ToCityName: tktdata.ToCityName,
51            Duration: tktdata.Duration,
52            currentDate: dayjs(dayjs().format('YYYY-MM-DD')),
53            ReportingTime: data.ticketData[i][0].ReportingTime,
54            ITSPickUpName: data.ticketData[i][0].PickUpName,
55            DepartureTime: data.ticketData[i][0].DepartureTime,
56            //BaseFare: data.ticketData[i][0].BaseFare,
57            BaseFare: data.ticketData[i][0].BaseFare,
58            CGST: data.ticketData[i][0].CGST,
59            SGST: data.ticketData[i][0].SGST,
60            IGST: data.ticketData[i][0].IGST,
61            GST: tktdata.ServiceTax,
62            PNRAmount: tktdata.PNRAmount,
63            DiscountAmount: tktdata.DiscPerAmount,
64            CompanyGSTNo: data.ticketData[i][0].CompanyGSTNo,
65            orderData: data.orderData.orderDetails[0].OrderDnT,
66            RouteScheduleCode: tktdata.RouteScheduleCode,
67            Status: tktdata.OMOrderStatus,
68            SeatGenders: tktdata.SeatGenders,
69            SeatList: tktdata.SeatList,
70            ModifyCharge: data.ticketData[i][0].BranchModifyCharges
71          };
72          mainTktData.push(tktData);
73
74          if (data.orderData.orderDetails.length > 1) {
75            let pax = _.filter(paxdata, {
76              'OrderDetailID': tktdata.OrderDetailID
77            });
78
79            data.orderData.orderDetails[i].passengersList = pax;
80            paxData.push(pax);
81          } else {
82            paxData.push(paxdata);
83            data.orderData.orderDetails[i].passengersList = paxData[0];
84          }
85
86          BaseFare = BaseFare + parseFloat(tktdata.BaseFare);
87          ServiceTax = ServiceTax + parseFloat(tktdata.ServiceTax);
88        });
89
90        let tData = {
91          mainTktData: mainTktData,
92          paxData: paxData,
93          CustEmail: data.orderData.orderDetails[0].CustEmail,
94          CustName: data.orderData.orderDetails[0].CustName,
95          CustMobile: data.orderData.orderDetails[0].CustMobile,
96          BaseFare: BaseFare.toFixed(2),
97          ServiceTax: ServiceTax.toFixed(2),
98          OrderDiscount: data.orderData.orderDetails[0].OrderDiscount,
99          EPGTxnID: data.orderData.orderDetails[0].EPGTxnID,
100          PaymentMode: data.orderData.orderDetails[0].PGPaymentMode,
101          OrderID: data.orderData.orderDetails[0].OrderID,
102          cnclPolicy: data.cnclplcy
103        };
104        setTicketData(tData);
105      }).catch(function (error) {
106        console.log(error);
107      });
108    } catch (error) {
109      const id = CreateNewDiv();
110      const root1 = ReactDOM.createRoot(document.getElementById(id));
111      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
112        CustomErrorObj: {
113          errorObj: error,
114          developerName: "Ruturajsinh Jadeja"
115        }
116      })));
117      RemoveDiv(id);
118    } finally {
119      $(".isLoader").hide();
120    }
121  };
122
123  const dynamicData = {
124    img1: compDetails?.companyData?.CDNDataFolder + "/images/site/logo.png?d=1.1",
125    Route_Icon: compDetails?.companyData?.DataFolder + "/images/Route_Icon.png?d=1.1"
126  };
127
128  const PrintData = () => {
129    try {
130      let innerContents = document.getElementById('Eticket').innerHTML;
131      let popupWinindow = window.open('', '_blank', 'width=600,height=700,scrollbars=no,menubar=no,toolbar=no,location=no,status=no,titlebar=no');
132      popupWinindow.document.open();
133      popupWinindow.document.write('<html><head><link rel="stylesheet" href="/VRLVijayanandTravels/css/ETicketCSS.css?1=2" type="text/css"  /></head><body style="overflow-x:hidden;"  onload="window.print()"> ' + innerContents + '</html>');
134      popupWinindow.document.close();
135    } catch (error) {
136      const id = CreateNewDiv();
137      const root1 = ReactDOM.createRoot(document.getElementById(id));
138      root1.render(React.createElement(Suspense, null, React.createElement(ErrorLog, {
139        CustomErrorObj: {
140          errorObj: error,
141          developerName: "Ruturajsinh Jadeja"
142        }
143      })));
144      RemoveDiv(id);
145    }
146  };
147
148  return React.createElement(React.Fragment, null, React.createElement("div", {
149    className: "ticketprint"
150  }, React.createElement("div", {
151    className: "maxwidth"
152  }, React.createElement("div", {
153    className: "container"
154  }, React.createElement("input", {
155    type: "button",
156    value: "Print",
157    onClick: PrintData
158  })))), React.createElement("div", {
159    className: "etiketwrapper",
160    id: "Eticket",
161    style: {
162      printColorAdjust: "exact"
163    }
164  }, React.createElement("div", {
165    className: "",
166    style: {
167      backgroundColor: "white",
168      display: "flex",
169      flexWrap: "wrap",
170      justifyContent: "center !important",
171      alignContent: "center",
172      margin: "0 auto",
173      width: "794px"
174    }
175  }, ticketData?.mainTktData?.length > 0 && ticketData.mainTktData.map((tktData, index) => React.createElement(React.Fragment, {
176    key: index
177  }, React.createElement("section", {
178    className: "",
179    style: {
180      width: "100%",
181      backgroundColor: "#262626",
182      borderBottom: "10px solid #A6914C",
183      printColorAdjust: "exact",
184      padding: "20px 20px",
185      display: "flex",
186      flexWrap: "nowrap",
187      justifyContent: "space-between",
188      flexDirection: "row",
189      alignContent: "center"
190    }
191  }, React.createElement("div", {
192    className: "",
193    style: {
194      fontSize: "20px",
195      fontWeight: "700",
196      lineHeight: "24px",
197      color: "rgb(255, 255, 255)"
198    }
199  }, index == 0 && 'Onward Trip Journey' || index == 1 && 'Return Trip Journey' || index == 3 && 'Multi Trip Journey'), React.createElement("div", {
200    className: "",
201    style: {
202      fontSize: "20px",
203      fontWeight: "700",
204      lineHeight: "24px",
205      color: "#fff"
206    }
207  }, "Order No : ", tktData.M_OrderID)), React.createElement("section", {
208    className: "",
209    style: {
210      width: "100%",
211      float: "left",
212      backgroundColor: "#EDE9DB",
213      padding: "20px 20px 30px",
214      borderRadius: "0 0 40px 40px",
215      margin: "0"
216    }
217  }, React.createElement("div", {
218    className: "",
219    style: {
220      width: "100%",
221      float: "left",
222      padding: "0 0 30px"
223    }
224  }, React.createElement("div", {
225    className: "",
226    style: {
227      display: "inline-block",
228      verticalAlign: "middle",
229      backgroundColor: "#A6914C",
230      padding: "15px 37px 15px 40px",
231      borderRadius: "6px"
232    }
233  }, React.createElement("span", {
234    style: {
235      fontSize: "18px",
236      fontWeight: "700",
237      color: "#fff",
238      lineHeight: "24px"
239    }
240  }, "PNR No. :  ", tktData.PNRNo)), React.createElement("div", {
241    className: "",
242    style: {
243      float: "right",
244      padding: "14px 0 0"
245    }
246  }, React.createElement("span", {
247    style: {
248      fontSize: "20px",
249      fontWeight: "700",
250      lineHeight: "24px",
251      color: "#262626"
252    }
253  }, "Journey Date : "), React.createElement("label", {
254    style: {
255      fontWeight: "400",
256      fontSize: "18px",
257      lineHeight: "22px",
258      padding: "0 0 0 7px",
259      margin: "0"
260    }
261  }, tktData.JourneyDateTime))), React.createElement("div", {
262    className: "",
263    style: {
264      padding: "0 20px"
265    }
266  }, React.createElement("div", {
267    className: "",
268    style: {
269      width: "100%",
270      float: "left",
271      backgroundColor: "#EDE9DB",
272      padding: "40px 0 15px",
273      position: "relative",
274      borderRadius: "20px",
275      boxShadow: "2px 2px 10px rgb(0 0 0 / 16%)"
276    }
277  }, React.createElement("div", {
278    className: "",
279    style: {
280      width: "100%",
281      display: "flex",
282      alignItems: "center",
283      paddingBottom: "40px",
284      flexFlow: "row nowrap",
285      gap: "15px",
286      justifyContent: "space-around",
287      borderBottom: "2px solid #A6914C"
288    }
289  }, React.createElement("div", {
290    className: "",
291    style: {
292      textAlign: "left"
293    }
294  }, React.createElement("label", {
295    style: {
296      fontSize: "22px",
297      fontWeight: "700",
298      color: "#262626",
299      lineHeight: "27px",
300      margin: "0"
301    }
302  }, tktData.PickupTime), React.createElement("span", {
303    style: {
304      display: "block",
305      fontSize: "18px",
306      fontWeight: "700",
307      lineHeight: "22px",
308      color: "#262626",
309      margin: "0"
310    }
311  }, tktData.FromCityName)), React.createElement("div", {
312    className: "",
313    style: {
314      padding: "0"
315    }
316  }, React.createElement("img", {
317    src: dynamicData.Route_Icon,
318    alt: ""
319  })), React.createElement("div", {
320    className: "",
321    style: {
322      textAlign: "left"
323    }
324  }, React.createElement("label", {
325    style: {
326      fontSize: "22px",
327      fontWeight: "700",
328      color: "#262626",
329      lineHeight: "27px",
330      margin: "0"
331    }
332  }, tktData.DropTime), React.createElement("span", {
333    style: {
334      display: "block",
335      fontSize: "18px",
336      fontWeight: "700",
337      lineHeight: "22px",
338      color: "#262626",
339      margin: "0"
340    }
341  }, tktData.ToCityName))), React.createElement("div", {
342    className: "",
343    style: {
344      width: "100%",
345      display: "flex",
346      alignItems: "center",
347      gap: "3px",
348      justifyContent: "left",
349      flexDirection: "row",
350      paddingTop: "15px"
351    }
352  }, React.createElement("span", {
353    style: {
354      fontSize: "20px",
355      fontWeight: "700",
356      lineHeight: "24px",
357      color: "#262626",
358      display: "inline",
359      paddingLeft: "50px"
360    }
361  }, "Bus Type : "), React.createElement("label", {
362    style: {
363      fontSize: "18px",
364      fontWeight: "400",
365      lineHeight: "22px",
366      color: "#262626",
367      margin: "0"
368    }
369  }, tktData.ArrangementName))))), React.createElement("section", {
370    className: "",
371    style: {
372      width: "100%",
373      float: "left",
374      padding: "0 20px 20px",
375      borderBottom: "2px solid #A6914C"
376    }
377  }, React.createElement("div", {
378    className: "",
379    style: {
380      width: "100%",
381      float: "left",
382      padding: "30px 0 0"
383    }
384  }, React.createElement("div", {
385    className: "",
386    style: {
387      width: "50%",
388      float: "left"
389    }
390  }, React.createElement("p", {
391    style: {
392      color: "#262626",
393      fontWeight: "700",
394      fontSize: "20px",
395      lineHeight: "24px",
396      margin: "0",
397      backgroundImage: 'url("vrlvijayanandtravels/images/Icon-location-on.png")',
398      backgroundPosition: "left 2px",
399      backgroundRepeat: "no-repeat",
400      padding: "0 0 8px 24px"
401    }
402  }, "Boarding Point"), React.createElement("span", {
403    style: {
404      color: "#707070",
405      fontWeight: "400",
406      fontSize: "16px",
407      lineHeight: "26px",
408      display: "block",
409      padding: "0 20px 0 25px"
410    }
411  }, tktData.ITSPickUpName)), tktData.DropName != "" && tktData.DropName != undefined && React.createElement("div", {
412    className: "",
413    style: {
414      width: "50%",
415      float: "left"
416    }
417  }, React.createElement("p", {
418    style: {
419      color: "#262626",
420      fontWeight: "700",
421      fontSize: "20px",
422      lineHeight: "24px",
423      margin: "0",
424      backgroundImage: 'url("vrlvijayanandtravels/images/Icon-location-on.png")',
425      backgroundPosition: "left 2px",
426      backgroundRepeat: "no-repeat",
427      padding: "0 0 8px 25px"
428    }
429  }, "Dropping Point"), React.createElement("span", {
430    style: {
431      color: "#707070",
432      fontWeight: "400",
433      fontSize: "16px",
434      lineHeight: "26px",
435      display: "block",
436      padding: "0 0 0 25px"
437    }
438  }, tktData.DropName))), React.createElement("div", {
439    className: "report-time",
440    style: {
441      width: "100%",
442      padding: "30px 0 0",
443      float: "left"
444    }
445  }, React.createElement("div", {
446    className: "",
447    style: {
448      width: "50%",
449      float: "left"
450    }
451  }, React.createElement("p", {
452    style: {
453      color: "#262626",
454      fontWeight: "700",
455      fontSize: "20px",
456      lineHeight: "24px",
457      margin: "0",
458      backgroundImage: 'url("vrlvijayanandtravels/images/Icon-watch-later.png")',
459      backgroundPosition: "left 2px",
460      backgroundRepeat: "no-repeat",
461      padding: "0 0 8px 30px"
462    }
463  }, "Reporting Time"), React.createElement("label", {
464    style: {
465      padding: "0 0 0 30px",
466      margin: "0",
467      color: "#000",
468      fontWeight: "400",
469      fontSize: "16px",
470      lineHeight: "19px"
471    }
472  }, dayjs(tktData.ReportingTime, 'DD-MM-YYYY').format('DD-MM-YYYY')), React.createElement("span", {
473    style: {
474      color: "#707070",
475      fontWeight: "400",
476      fontSize: "16px",
477      lineHeight: "26px",
478      display: "block",
479      padding: "0 0 8px 30px"
480    }
481  }, dayjs(tktData.ReportingTime, 'DD-MM-YYYY hh:mm A').format('hh:mm A'))), React.createElement("div", {
482    className: "",
483    style: {
484      width: "50%",
485      float: "left"
486    }
487  }, React.createElement("p", {
488    style: {
489      color: "#262626",
490      fontWeight: "700",
491      fontSize: "20px",
492      lineHeight: "24px",
493      margin: "0",
494      backgroundImage: 'url("vrlvijayanandtravels/images/Icon-watch-later.png")',
495      backgroundPosition: "left 2px",
496      backgroundRepeat: "no-repeat",
497      padding: "0 0 8px 30px"
498    }
499  }, "Departure Time"), React.createElement("span", {
500    style: {
501      color: "#707070",
502      fontWeight: "400",
503      fontSize: "16px",
504      lineHeight: "26px",
505      display: "block",
506      padding: "0 0 8px 30px"
507    }
508  }, tktData.DepartureTime)))), React.createElement("section", {
509    className: "",
510    style: {
511      display: "inline-block",
512      margin: "30px 7px",
513      verticalAlign: "top",
514      textAlign: "center"
515    }
516  }, React.createElement("div", {
517    className: "",
518    style: {
519      width: "47%",
520      display: "inline-block",
521      verticalAlign: "top",
522      textAlign: "left",
523      margin: "0 10px"
524    }
525  }, React.createElement("div", {
526    className: "",
527    style: {
528      display: "inline-block",
529      verticalAlign: "top",
530      padding: "20px 20px 18px",
531      borderRadius: "5px",
532      backgroundColor: "#fff",
533      boxShadow: "0 1px 6px rgb(0 0 0 / 16%)"
534    }
535  }, React.createElement("label", {
536    style: {
537      fontSize: "18px",
538      fontWeight: "700",
539      lineHeight: "22px",
540      color: "#262626",
541      position: "relative",
542      padding: "0 15px 10px 0",
543      borderBottom: "2px solid #A6914C",
544      float: "left"
545    }
546  }, "Contact Details"), React.createElement("div", {
547    className: "",
548    style: {
549      width: "100%",
550      float: "left",
551      padding: "15px 0 0"
552    }
553  }, React.createElement("div", {
554    className: "",
555    style: {
556      width: "100%",
557      float: "left",
558      padding: "0 0 6px"
559    }
560  }, React.createElement("p", {
561    style: {
562      fontSize: "14px",
563      fontWeight: "700",
564      lineHeight: "17px",
565      margin: "0",
566      color: "#262626",
567      display: "inline-block",
568      width: "39%"
569    }
570  }, "Passenger Name :"), React.createElement("span", {
571    style: {
572      fontSize: "14px",
573      fontWeight: "400",
574      lineHeight: "17px",
575      color: "#707070"
576    }
577  }, ticketData.CustName)), React.createElement("div", {
578    className: "",
579    style: {
580      width: "100%",
581      float: "left",
582      padding: "0 0 6px"
583    }
584  }, React.createElement("p", {
585    style: {
586      fontSize: "14px",
587      fontWeight: "700",
588      lineHeight: "17px",
589      margin: "0",
590      color: "#262626",
591      display: "inline-block",
592      width: "39%"
593    }
594  }, "Seat No :"), React.createElement("span", {
595    style: {
596      fontSize: "14px",
597      fontWeight: "400",
598      lineHeight: "17px",
599      color: "#707070"
600    }
601  }, tktData.SeatList)), React.createElement("div", {
602    className: "",
603    style: {
604      width: "100%",
605      float: "left",
606      padding: "0 0 6px"
607    }
608  }, React.createElement("p", {
609    style: {
610      fontSize: "14px",
611      fontWeight: "700",
612      lineHeight: "17px",
613      margin: "0",
614      color: "#262626",
615      display: "inline-block",
616      width: "39%"
617    }
618  }, "Passenger Email :"), React.createElement("span", {
619    style: {
620      fontSize: "14px",
621      fontWeight: "400",
622      lineHeight: "17px",
623      color: "#707070"
624    }
625  }, ticketData.CustEmail)), React.createElement("div", {
626    className: "",
627    style: {
628      width: "100%",
629      float: "left",
630      padding: "0 0 6px"
631    }
632  }, React.createElement("p", {
633    style: {
634      fontSize: "14px",
635      fontWeight: "700",
636      lineHeight: "17px",
637      margin: "0",
638      color: "#262626",
639      display: "inline-block",
640      width: "39%"
641    }
642  }, "Mobile No :"), React.createElement("span", {
643    style: {
644      fontSize: "14px",
645      fontWeight: "400",
646      lineHeight: "17px",
647      color: "#707070"
648    }
649  }, ticketData.CustMobile))))), React.createElement("div", {
650    className: "",
651    style: {
652      width: "47%",
653      display: "inline-block",
654      verticalAlign: "top",
655      textAlign: "left",
656      margin: "0 10px"
657    }
658  }, React.createElement("div", {
659    className: "",
660    style: {
661      display: "inline-block",
662      verticalAlign: "top",
663      padding: "20px 20px 18px",
664      borderRadius: "5px",
665      backgroundColor: "#fff",
666      boxShadow: "0 1px 6px rgb(0 0 0 / 16%)"
667    }
668  }, React.createElement("label", {
669    style: {
670      fontSize: "18px",
671      fontWeight: "700",
672      lineHeight: "22px",
673      color: "#262626",
674      position: "relative",
675      padding: "0 15px 10px 0",
676      borderBottom: "2px solid #A6914C",
677      float: "left"
678    }
679  }
679, "Fare Amount"), React.createElement("div", {
680    className: "",
681    style: {
682      width: "100%",
683      float: "left",
684      padding: "15px 0 0"
685    }
686  }, React.createElement("div", {
687    className: "",
688    style: {
689      width: "100%",
690      float: "left",
691      padding: "0 0 14px"
692    }
693  }, React.createElement("p", {
694    style: {
695      fontSize: "14px",
696      fontWeight: "700",
697      lineHeight: "17px",
698      margin: "0",
699      color: "#262626",
700      display: "inline-block"
701    }
702  }, "Base Fare ", React.createElement("label", {
703    style: {
704      fontSize: "14px",
705      fontWeight: "400",
706      lineHeight: "17px",
707      color: "#707070",
708      padding: "0",
709      float: "none"
710    }
711  }, "(RS)")), React.createElement("span", {
712    style: {
713      fontSize: "14px",
714      lineHeight: "17px",
715      fontWeight: "400",
716      color: "#262626",
717      float: "right"
718    }
719  }, tktData.BaseFare)), tktData.GST > 0 && React.createElement("div", {
720    className: "",
721    style: {
722      width: "100%",
723      float: "left",
724      padding: "0 0 14px"
725    }
726  }, React.createElement("p", {
727    style: {
728      fontSize: "14px",
729      fontWeight: "700",
730      lineHeight: "17px",
731      margin: "0",
732      color: "#262626",
733      display: "inline-block"
734    }
735  }, "GST ", React.createElement("label", {
736    style: {
737      fontSize: "14px",
738      fontWeight: "400",
739      lineHeight: "17px",
740      color: "#707070",
741      padding: "0",
742      float: "none"
743    }
744  }, "(RS)")), React.createElement("span", {
745    style: {
746      fontSize: "14px",
747      lineHeight: "17px",
748      fontWeight: "400",
749      color: "#262626",
750      float: "right"
751    }
752  }, tktData.GST)), tktData.ModifyCharge > 0 && React.createElement("div", {
753    className: "",
754    style: {
755      width: "100%",
756      float: "left",
757      padding: "0 0 14px"
758    }
759  }, React.createElement("p", {
760    style: {
761      fontSize: "14px",
762      fontWeight: "700",
763      lineHeight: "17px",
764      margin: "0",
765      color: "#262626",
766      display: "inline-block"
767    }
768  }, "Modify Charge ", React.createElement("label", {
769    style: {
770      fontSize: "14px",
771      fontWeight: "400",
772      lineHeight: "17px",
773      color: "#707070",
774      padding: "0",
775      float: "none"
776    }
777  }, "(RS)")), React.createElement("span", {
778    style: {
779      fontSize: "14px",
780      lineHeight: "17px",
781      fontWeight: "400",
782      color: "#262626",
783      float: "right"
784    }
785  }, tktData.ModifyCharge)), tktData.DiscountAmount > 0 && React.createElement("div", {
786    className: "",
787    style: {
788      width: "100%",
789      float: "left",
790      padding: "0 0 14px"
791    }
792  }, React.createElement("p", {
793    style: {
794      fontSize: "14px",
795      fontWeight: "700",
796      lineHeight: "17px",
797      margin: "0",
798      color: "#262626",
799      display: "inline-block"
800    }
801  }, "Discounted Fare ", React.createElement("label", {
802    style: {
803      fontSize: "14px",
804      fontWeight: "400",
805      lineHeight: "17px",
806      color: "#707070",
807      padding: "0",
808      float: "none"
809    }
810  }, "(RS)")), React.createElement("span", {
811    style: {
812      fontSize: "14px",
813      lineHeight: "17px",
814      fontWeight: "400",
815      color: "#262626",
816      float: "right"
817    }
818  }, tktData.DiscountAmount)), React.createElement("div", {
819    className: "amountline",
820    style: {
821      width: "100%",
822      float: "left",
823      borderTop: "2px solid #262626",
824      margin: "6px 0 0",
825      height: "20px"
826    }
827  }, "\xA0"), React.createElement("div", {
828    className: "",
829    style: {
830      width: "100%",
831      float: "left",
832      padding: "0"
833    }
834  }, React.createElement("p", {
835    style: {
836      fontSize: "14px",
837      fontWeight: "700",
838      lineHeight: "17px",
839      margin: "0",
840      color: "#262626",
841      display: "inline-block"
842    }
843  }, "Total Paid Amount ", React.createElement("label", {
844    style: {
845      fontSize: "14px",
846      fontWeight: "400",
847      lineHeight: "17px",
848      color: "#707070",
849      padding: "0",
850      float: "none"
851    }
852  }, "(RS)")), React.createElement("span", {
853    style: {
854      fontSize: "14px",
855      lineHeight: "17px",
856      fontWeight: "700",
857      color: "#262626",
858      float: "right"
859    }
860  }
860, tktData.PNRAmount)))))), React.createElement("section", {
861    className: "",
862    style: {
863      width: "100%",
864      display: "flex",
865      textAlign: "left",
866      padding: "0 20px 40px",
867      flexWrap: "wrap",
868      justifyContent: "flex-start",
869      gap: "10px"
870    }
871  }, ticketData.paxData[index].length > 0 && ticketData.paxData[index].map((pax, pIndex) => React.createElement(React.Fragment, {
872    key: pIndex
873  }, React.createElement("div", {
874    className: "pass01",
875    style: {
876      display: "inline-block",
877      verticalAlign: "middle",
878      textAlign: "center",
879      padding: "0 10px 0 0",
880      width: "31%"
881    }
882  }, React.createElement("div", {
883    className: "",
884    style: {
885      backgroundColor: "#EDE9DB",
886      border: "2px solid #A6914C",
887      borderRadius: "6px",
888      width: "100%",
889      padding: "20px 0 15px 10px",
890      textAlign: "left",
891      float: "left"
892    }
893  }, React.createElement("label", {
894    style: {
895      fontSize: "18px",
896      borderBottom: "2px solid #A6914C",
897      fontWeight: "700",
898      lineHeight: "22px",
899      color: "#262626",
900      position: "relative",
901      padding: "0 30px 10px 0",
902      float: "left"
903    }
904  }, "Passenger ", pIndex + 1), React.createElement("div", {
905    className: "",
906    style: {
907      width: "100%",
908      float: "left",
909      padding: "15px 0 0"
910    }
911  }, React.createElement("div", {
912    className: "",
913    style: {
914      width: "100%",
915      float: "left",
916      padding: "0 0 7px"
917    }
918  }, React.createElement("p", {
919    style: {
920      fontSize: "14px",
921      fontWeight: "700",
922      lineHeight: "17px",
923      margin: "0",
924      color: "#262626",
925      display: "inline-block",
926      width: "30%"
927    }
928  }, "Name :"), React.createElement("span", {
929    style: {
930      fontSize: "14px",
931      fontWeight: "400",
932      lineHeight: "17px",
933      color: "#707070"
934    }
935  }, pax.CustName)), React.createElement("div", {
936    className: "",
937    style: {
938      width: "100%",
939      float: "left",
940      padding: "0 0 7px"
941    }
942  }, React.createElement("p", {
943    style: {
944      fontSize: "14px",
945      fontWeight: "700",
946      lineHeight: "17px",
947      margin: "0",
948      color: "#262626",
949      display: "inline-block",
950      width: "30%"
951    }
952  }, "Gender :"), React.createElement("span", {
953    style: {
954      fontSize: "14px",
955      fontWeight: "400",
956      lineHeight: "17px",
957      color: "#707070"
958    }
959  }, pax.SeatGender)), React.createElement("div", {
960    className: "",
961    style: {
962      width: "100%",
963      float: "left",
964      padding: "0 0 7px"
965    }
966  }, React.createElement("p", {
967    style: {
968      fontSize: "14px",
969      fontWeight: "700",
970      lineHeight: "17px",
971      margin: "0",
972      color: "#262626",
973      display: "inline-block",
974      width: "30%"
975    }
976  }, "Seat No :"), React.createElement("span", {
977    style: {
978      fontSize: "14px",
979      fontWeight: "400",
980      lineHeight: "17px",
981      color: "#707070"
982    }
983  }, pax.SeatName)))))))))), ticketData?.mainTktData?.length > 0 && ticketData.cnclPolicy.length > 0 && React.createElement("section", {
984    className: "",
985    style: {
986      width: "100%",
987      float: "left"
988    }
989  }, React.createElement("div", {
990    className: "",
991    style: {
992      width: "100%",
993      float: "left",
994      padding: "0 20px 35px"
995    }
996  }, React.createElement("div", {
997    className: "",
998    style: {
999      padding: "0 0 0 10px"
1000    }
1001  }, React.createElement("label", {
1002    style: {
1003      color: "#262626",
1004      fontWeight: "700",
1005      fontSize: "18px",
1006      borderBottom: "2px solid #A6914C",
1007      lineHeight: "22px",
1008      padding: "0 30px 12px 0",
1009      float: "left"
1010    }
1011  }, "Cancellation Policy")), React.createElement("div", {
1012    className: "",
1013    style: {
1014      width: "100%",
1015      float: "left",
1016      padding: "0",
1017      margin: "25px 0 0",
1018      border: "2px solid #A6914C"
1019    }
1020  }, React.createElement("form", {
1021    method: "post",
1022    style: {
1023      margin: "0"
1024    }
1025  }, React.createElement("table", {
1026    style: {
1027      border: "none",
1028      borderCollapse: "collapse",
1029      textAlign: "center",
1030      width: "100%"
1031    },
1032    cellSpacing: "0",
1033    cellPadding: "0",
1034    align: "center"
1035  }, React.createElement("tbody", null, React.createElement("tr", {
1036    style: {
1037      borderCollapse: "collapse",
1038      textAlign: "center",
1039      width: "100%"
1040    }
1041  }, React.createElement("th", {
1042    style: {
1043      width: "50%",
1044      padding: "20px 0",
1045      backgroundColor: "#EDE9DB",
1046      border: "2px solid #A6914C",
1047      color: "#262626",
1048      fontSize: "16px",
1049      fontWeight: "700",
1050      lineHeight: "19px",
1051      borderLeft: "none",
1052      borderTop: "none"
1053    }
1054  }, "Cancellation cutoff time"), React.createElement("th", {
1055    style: {
1056      width: "50%",
1057      padding: "20px 0",
1058      backgroundColor: "#EDE9DB",
1059      border: "2px solid #A6914C",
1060      color: "#262626",
1061      fontSize: "16px",
1062      fontWeight: "700",
1063      lineHeight: "19px",
1064      borderLeft: "none",
1065      borderRight: "none",
1066      borderTop: "none"
1067    }
1068  }, "Cancellation deduction")), ticketData.cnclPolicy.length > 0 && ticketData.cnclPolicy.map((cnclData, index) => React.createElement(React.Fragment, {
1069    key: index
1070  }, React.createElement("tr", {
1071    style: {
1072      borderCollapse: "collapse",
1073      textAlign: "center",
1074      width: "100%"
1075    }
1076  }, React.createElement("td", {
1077    style: {
1078      color: "#262626",
1079      lineHeight: "17px",
1080      fontWeight: "700",
1081      borderRight: "2px solid #A6914C",
1082      fontSize: "14px",
1083      borderCollapse: "collapse",
1084      textAlign: "center",
1085      width: "50%",
1086      padding: "17px 0",
1087      borderBottom: "2px solid #e2e2e2",
1088      borderTop: "none",
1089      borderLeft: "none"
1090    }
1091  }, cnclData.PolictyString), React.createElement("td", {
1092    style: {
1093      color: "#262626",
1094      lineHeight: "17px",
1095      fontWeight: "400",
1096      fontSize: "14px",
1097      borderRight: "none",
1098      borderCollapse: "collapse",
1099      textAlign: "center",
1100      width: "50%",
1101      padding: "17px 0",
1102      borderBottom: "2px solid #e2e2e2",
1103      borderTop: "none",
1104      borderLeft: "none"
1105    }
1106  }, cnclData.DeductPercent, "%")))))))))))));
1107}

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.