1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7247],{52953:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/rts",function(){return r(45413)}])},45413:function(e,t,r){"use strict";r.r(t);var s=r(85893),a=r(67294),l=r(95577);r(11163);var n=r(91959),o=r(9008),i=r.n(o),d=r(67421),c=r(60682),h=r(41664),x=r.n(h);t.default=()=>{let e=(0,a.useContext)(c.Z),{t}=(0,d.$G)(),[r,o]=(0,a.useState)([]),[h,m]=(0,a.useState)(1),[p,u]=(0,a.useState)(0),f=async()=>{try{let e=await fetch("".concat("https://puneruralapi.dreamcaredevelopers.com","/api/records-by-tag?tag=rts&page=").concat(h),{method:"GET"}),t=await e.json();t.records&&(o(t.records),u(t.totalPages))}catch(e){}};(0,a.useEffect)(()=>{f()},[h]);let b=e=>{m(e)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i(),{children:[(0,s.jsx)("meta",{charSet:"UTF-8"}),(0,s.jsx)("link",{rel:"icon",href:"/logo-new.jpg"}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,s.jsx)("title",{children:"Maharashtra Right To Service Act"})]}),(0,s.jsxs)("main",{className:"min-h-screen",children:[(0,s.jsx)(l.Z,{}),(0,s.jsx)("h1",{className:"text-center text-4xl text-orange-400 mt-20",children:t("rtps_h1")}),(0,s.jsx)("div",{className:"w-28 mt-5 mb-5 border-b border-orange-400 mx-auto"}),(0,s.jsxs)("div",{className:"max-w-6xl mx-auto my-10 text-lg px-5 text-slate-600",children:[(0,s.jsx)("p",{className:"my-5 text-justify",children:t("rtps_p1")}),(0,s.jsx)("p",{className:"my-5 text-justify",children:t("rtps_p2")}),(0,s.jsx)("p",{className:"my-5 text-justify",children:t("rtps_p3")}),(0,s.jsxs)("p",{className:"my-5 text-justify",children:[t("rtps_p4")," ",(0,s.jsx)("a",{className:"text-blue-500 underline",href:"https://aaplesarkar.mahaonline.gov.in",target:"_blank",rel:"noopener noreferrer",children:"https://aaplesarkar.mahaonline.gov.in"})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-3 my-3",children:[(0,s.jsx)("a",{className:"bg-gradient-to-r from-blue-500 to-blue-700 text-white px-5 py-2 rounded-lg shadow-md hover:from-blue-600 hover:to-blue-800 transition",href:"/rts_f3.pdf",target:"_blank",rel:"noopener noreferrer",children:t("rtps_p8")}),(0,s.jsx)("a",{className:"bg-gradient-to-r from-blue-500 to-blue-700 text-white px-5 py-2 rounded-lg shadow-md hover:from-blue-600 hover:to-blue-800 transition",href:"/rts_f1.pdf",target:"_blank",rel:"noopener noreferrer",children:t("rtps_p5")}),(0,s.jsx)("a",{className:"bg-gradient-to-r from-blue-500 to-blue-700 text-white px-5 py-2 rounded-lg shadow-md hover:from-blue-600 hover:to-blue-800 transition",href:"/rts_f2.pdf",target:"_blank",rel:"noopener noreferrer",children:t("rtps_p6")}),(0,s.jsx)("a",{className:"bg-gradient-to-r from-blue-500 to-blue-700 text-white px-5 py-2 rounded-lg shadow-md hover:from-blue-600 hover:to-blue-800 transition",href:"https://aaplesarkar.mahaonline.gov.in/en/CommonForm/ViewAllServices",target:"_blank",rel:"noopener noreferrer",children:t("rtps_p7")})]})]}),r.length>0&&(0,s.jsx)("div",{className:"overflow-x-auto max-w-6xl mx-auto my-10",children:(0,s.jsxs)("table",{className:"w-full min-w-[800px]",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"flex flex-row p-2 py-3 border bg-slate-200",children:[(0,s.jsxs)("th",{className:"w-2/12 text-start",children:[" ",t("date")]}),(0,s.jsxs)("th",{className:"w-9/12 text-start",children:[" ",t("title")]}),(0,s.jsxs)("th",{className:"w-1/12 text-start",children:[" ",t("info")]})]})}),(0,s.jsx)("tbody",{children:r&&r.map(t=>(0,s.jsxs)("tr",{className:"flex flex-row p-2 py-3 border border-t-0",children:[(0,s.jsx)("td",{className:"w-2/12 text-start",children:t.date}),(0,s.jsxs)("td",{className:"w-9/12 text-start",children:["en"===e.lang&&(0,s.jsx)(s.Fragment,{children:t.title}),"mr"===e.lang&&(0,s.jsx)(s.Fragment,{children:t.titleInMarathi})]}),(0,s.jsx)("td",{className:"w-1/12 text-start",children:(0,s.jsx)(x(),{href:t.pdflink,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)("img",{src:"/pdf.svg",className:"w-8 h-8",alt:"pdf"})})})]},t._id))})]})}),r.length>0&&(0,s.jsxs)("div",{className:"mt-4 flex justify-center gap-2 items-center mx-auto",children:[(0,s.jsx)("button",{onClick:()=>b(h-1),disabled:1===h,className:"px-4 py-1 bg-blue-400 text-white rounded disabled:bg-gray-300 hover:bg-blue-600 transition-colors",children:"Previous"}),(0,s.jsxs)("span",{className:"text-orange-400",children:["Page ",h," of ",p]}),(0,s.jsx)("button",{onClick:()=>b(h+1),disabled:h===p,className:"px-4 py-1 bg-blue-400 text-white rounded disabled:bg-gray-300 hover:bg-blue-600 transition-colors",children:"Next"})]})]}),(0,s.jsx)(n.Z,{})]})}}},function(e){e.O(0,[3874,9866,1228,3996,4141,3920,5675,6636,447,2888,9774,179],function(){return e(e.s=52953)}),_N_E=e.O()}]);
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.