PageSourceSearch

https://www.rural.gov.in/_next/static/chunks/7891.6feed41e242509c3.js

js rural.gov.in collected 2026-10-01 13:03:00 UTC 12,841 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7891,8493],{1761:(e,l,i)=>{i.d(l,{A:()=>n});let n=e=>e.filter(e=>null==e?void 0:e.pagetitle).map(e=>e.pagetitle)},18493:(e,l,i)=>{i.r(l),i.d(l,{default:()=>t});var n=i(37876);function t(){return(0,n.jsx)("div",{className:"container my-5",children:(0,n.jsx)("p",{className:"no-data text-center fw-bold fs-3 designation",role:"alert",children:"No Data Available."})})}i(14232)},52243:(e,l,i)=>{i.d(l,{A:()=>r});var n=i(37876);i(14232);var t=i(33518),a=i(79326),s=i(31777);let r=function(e){let{data:l,paginate:i,handleNext:r,handlePrevius:o,pageRoute:c,paginateKeyUp:d}=e,{mainManu:u,fullMenu:p}=(0,s.d4)(e=>e.menu),h=null==l?void 0:l.total_pages,m=null==l?void 0:l.current_page,g=[];if(h<=5)for(let e=1;e<=h;e++)g.push(e);else if(m<=4){for(let e=1;e<=4;e++)g.push(e);g.push("..."),g.push(h)}else if(m>4&&m<h-2)g.push(1),g.push("..."),g.push(m-1),g.push(m),g.push(m+1),g.push("..."),g.push(h);else{g.push(1),g.push("...");for(let e=h-3;e<=h;e++)g.push(e)}let f=u&&u[6]&&u[6].children?u[6].children:null,v=f&&f.some(e=>e.description===c);return(0,n.jsx)(a.A,{children:(0,n.jsxs)("div",{className:"row align-items-center mt-5",children:[(0,n.jsx)("div",{className:"col-md-4"}),(0,n.jsx)("div",{className:"col-md-4 d-flex justify-content-center",children:l&&h>1&&(0,n.jsx)("nav",{"aria-label":"pagination",children:(0,n.jsxs)("ul",{className:"pagination pointer",children:[(0,n.jsx)("li",{children:(0,n.jsx)("button",{className:"button-item previous",title:"".concat(1===l.current_page?"":"Previous"),onClick:()=>o(l.current_page),"aria-disabled":"".concat(1===m),disabled:1===l.current_page,"aria-label":"Go to previous page",children:(0,n.jsx)("span",{className:"".concat(1===l.current_page?"disabled":""," material-symbols-outlined bhashini-skip-translation"),"anuvadak-no-localization":"true","aria-label":"Previous page","aria-hidden":!0,children:"chevron_left"})})}),g.map((e,l)=>(0,n.jsx)("li",{className:"page-item",onClick:()=>"..."!==e&&i(e),onKeyUp:l=>"..."!==e&&d(l,e),tabIndex:0,role:"..."!==e?"link":void 0,"aria-current":m===e?"page":void 0,"aria-label":"".concat(m===e?" Active Page "+(l+1):"Go to page "+e),children:(0,n.jsx)("span",{className:"".concat(m===e&&"active"," page-link pointer ").concat("..."!==e&&"hover"),children:e})},l)),(0,n.jsx)("li",{children:(0,n.jsx)("button",{className:"button-item next",title:"".concat(l.current_page===l.total_pages?"":"Next"),onClick:()=>r(l.current_page),"aria-disabled":l.current_page===l.total_pages,disabled:l.current_page===l.total_pages,"aria-label":"Go to Next page",children:(0,n.jsx)("span",{className:"".concat(l.current_page===l.total_pages?"disabled":""," material-symbols-outlined bhashini-skip-translation"),"anuvadak-no-localization":"true","aria-label":"Next","aria-hidden":!0,children:"chevron_right"})})})]})})}),v&&(0,n.jsx)("div",{className:"col-md-4",children:(0,n.jsx)("div",{className:"d-flex justify-content-end gap-2",children:(0,n.jsx)(t.default,{link:"/archives?page=".concat(c),title:"View Archive",hoverTitle:"View Archive",buttonName:"archive",className:"download-outline-btn pointer archivemr",target:""})})})]})})}},57891:(e,l,i)=>{i.r(l),i.d(l,{default:()=>y});var n=i(37876),t=i(14232);i(77328);var a=i(94757),s=i(37789),r=i(71197),o=i(69636),c=i(52243),d=i(33518),u=i(92101),p=i(14428);let h={getOurPerformance:async(e,l,i,n)=>p.default.get("wp-json/post-page/our_performance?".concat(n||"limit=".concat(e,"&page=").concat(l).concat(i?"&".concat(i):"")))};var m=i(89099),g=i(8907),f=i(18493),v=i(985);i(99255);var _=i(86617);i(16412);var x=i(85608);let b=()=>{let[e,l]=(0,t.useState)(0),[i,a]=(0,t.useState)([]),s=async()=>{try{let e=(await _.A.getIfographic()).data.posts.map(e=>e.acf_data);console.log(e,"getIfographic"),a(e)}catch(e){console.log(e)}};return(0,t.useEffect)(()=>{s()},[]),console.log(i),(0,n.jsx)(n.Fragment,{children:null==i?void 0:i.map((e,l)=>{var i,t;return(0,n.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-3",children:(0,n.jsxs)("div",{className:"photos-card h-100",children:[(0,n.jsxs)("div",{className:"img-fluid position-relative",children:[(0,n.jsx)("img",{src:null==e||null==(i=e.image)?void 0:i.url,alt:null==e||null==(t=e.image)?void 0:t.t
1itle,className:"photos-img img-fluid performimg",width:100,height:100}),(0,n.jsx)("div",{className:"position-absolute photos-btn pointer bg-transparent me-2 mb-2",children:(null==e?void 0:e.image_url_type)==="Internal URL"?(null==e?void 0:e.internal_url)&&(0,n.jsx)(d.default,{link:(null==e?void 0:e.internal_url)?null==e?void 0:e.internal_url:"#",title:"",buttonName:"arrow_right_alt",className:"link-btn",ariaLabel:"Visit"}):(null==e?void 0:e.image_url_type)==="External URL"?(0,n.jsx)(d.default,{link:(null==e?void 0:e.external_url)?e.external_url:"#",title:"",buttonName:"open_in_new",className:"link-btn",target:"_blank",ariaLabel:"Visit"}):(0,n.jsx)(d.default,{link:(null==e?void 0:e.pdf)?(0,x.A)(e):"#",title:"",buttonName:"open_in_new",className:"link-btn",target:"_blank",ariaLabel:"Visit",type:"pdf"})})]}),(0,n.jsx)("div",{className:"photos-card-body mt-2",children:(0,n.jsx)("p",{role:"heading",className:"h3",children:null==e?void 0:e.title})}),(0,n.jsx)("div",{className:"photos-card-footer d-flex justify-content-between align-items-center text-uppercase",children:(0,n.jsx)("small",{className:"ptype",children:(0,g.AY)(null==e?void 0:e.date)})})]})},l)})})};function j(){var e,l;let i=(0,m.useRouter)(),{persona:a,page:s}=i.query,r=new URL(window.location.href).pathname,[o,p]=(0,t.useState)(!1),[_,x]=(0,t.useState)(null),[j,k]=(0,t.useState)(""),[N,y]=(0,t.useState)(1),[w,P]=(0,t.useState)(),{setLastModified:A}=(0,v.J)(),R=async(e,l,i)=>{p(!0);try{let n=await h.getOurPerformance(e,l,i),t=null==n?void 0:n.data;x(t),p(!1)}catch(e){console.error(e)}},L=async e=>{A("");try{let l=await h.getOurPerformance(10,1,w,e),i=null==l?void 0:l.data;A(null==i?void 0:i.modified_date),p(!1)}catch(e){console.error(e)}};(0,t.useEffect)(()=>{L("modified_date")},[]);let C=(0,t.useCallback)(async()=>{let e;e=new URLSearchParams(a?{search:j,persona:a}:{search:j});try{a?(0,g.cR)(i,1,r,a):(0,g.cR)(i,1,r),await R(10,1,e)}catch(e){console.error("Error fetching data:",e)}},[j,a]);(0,t.useEffect)(()=>{let e=setTimeout(()=>{C()},700);return()=>clearTimeout(e)},[C]);let T=async e=>{a?(0,g.cR)(i,e+1,r,a):(0,g.cR)(i,e+1,r),await R(10,e+1,w)},E=async e=>{a?(0,g.cR)(i,e+1,r,a):(0,g.cR)(i,e+1,r),await R(10,e+1,w),y(e+1)},S=async e=>{a?(0,g.cR)(i,e-1,r,a):(0,g.cR)(i,e-1,r),await R(10,e-1,w),y(e-1)},O=e=>{a?(0,g.cR)(i,e,r,a):(0,g.cR)(i,e,r),y(e),R(10,e)};return o?(0,n.jsx)(u.default,{length:10,height:250,classOne:"row g-4",classTwo:"col-md-6",classThree:"d-none",heightTwo:""}):(0,n.jsxs)("div",{className:"container my-5",children:[(0,n.jsx)("p",{className:"performance-title h3",role:"heading","aria-level":2,children:"View Performance Dashboards"}),(0,n.jsxs)("div",{className:"row photos-row-gap",children:[(null==_||null==(e=_.posts)?void 0:e.length)===0&&!o&&(0,n.jsx)(f.default,{}),null==_||null==(l=_.posts)?void 0:l.map((e,l)=>{var i,t,a,s,r,o,c,u,p,h;return(0,n.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-3",children:(0,n.jsxs)("div",{className:"photos-card h-100",children:[(0,n.jsxs)("div",{className:"img-fluid position-relative",children:[(0,n.jsx)("img",{className:"photos-img img-fluid performimg",src:null==e||null==(t=e.acf_data)||null==(i=t.logo)?void 0:i.url,alt:(null==e||null==(s=e.acf_data)||null==(a=s.logo)?void 0:a.alt)?null==e||null==(o=e.acf_data)||null==(r=o.logo)?void 0:r.alt:(null==e||null==(c=e.acf_data)?void 0:c.title)+" picture",width:100,height:100}),(0,n.jsx)("div",{className:"position-absolute photos-btn pointer bg-transparent me-2 mb-2",children:(0,n.jsx)(d.default,{link:null==e||null==(u=e.acf_data)?void 0:u.url,title:"",buttonName:"open_in_new",className:"link-btn",target:"_blank",ariaLabel:"Visit "+(null==e||null==(p=e.acf_data)?void 0:p.title)})})]}),(0,n.jsx)("div",{className:"photos-card-body mt-2",children:(0,n.jsx)("p",{role:"heading","aria-level":3,className:"h3",children:null==e||null==(h=e.acf_data)?void 0:h.title})})]})},l)}),1===N&&(0,n.jsx)(b,{})]}),(0,n.jsx)(c.A,{data:_,handlePageChange:T,handleNext:E,handlePrevius:S,currentPage:N,paginate:O,paginateKeyUp:(e,l)=>{"Enter"===e.key&&O(l)},setCurrentPage:y,pageRoute:"our-performance"})]})}var k=i(79326),N=i(1761);function y(e){var l;let{alt:i,bannerImage:t,bannerLoad:c,breadcrumbs:d}=e;return(0,n.jsx)(k.A,{children:(0,n.jsxs)(s.default,{pageTitle:null==(l=(0,N.A)(d))?void 0:l[0],children:[(0,n.jsxs)("section",{className:"position-relative",children:[(0,n.jsx)(r.default,{alt:i,image:t||"",breadcrumbs:d,bannerLoad:c}),(0,n.jsx)(a.default,{navList:o.TJ})]}),(0,n.jsx)("section",{className:"maincontent",role:"main",children:(0,n.jsx)(j,{})})]})})}},69636:(e,l,i)=>{i.d(l,{GA:()=>t,J5:()=>s,TJ:()=>n,UB:()=>c,e5:()=>r,uZ:()=>a,wJ:()=>o});let n=[{title:"About Us",link:"/ministry"},{title:"Our Team",link:"/ministry/our-team"},{title:"Our Division",link:"/ministry/our-division"},{title:"Our Performance",link:"/ministry/our-performance"},{title:"Our Organisations",link:"/ministry/our-organisations"},{title:"Directory",link:"/ministry/directory"}],t=[{title:"Schemes and Services",link:"/offerings/Schemes"},{title:"Careers",link:"/offerings/Careers"},{title:"Tenders",link:"/offerings/tenders"},{title:"Competitions and Awards",link:"/offerings/CompetitionAwards"},{title:"International Collaborations",link:"/offerings/internationalcollab"}],a=[{title:"Reports",link:"/documents"},{title:"Acts and Policies",link:"/documents/ActPolicies"},{title:"Orders and Notices",link:"/documents/orders"},{title:"Publications",link:"/documents/Publications"}],s=[{title:"Photos",link:"/resources"},{title:"Videos",link:"/resources/videos"},{title:"Brochures",link:"/resources/Brochures"},{title:"Presentations",link:"/resources/presentations"}],r=[{title:"Directory",link:"/connect"},{title:"RTI",link:"/connect/Rti"},{title:"Grievance Redressal",link:"/connect/Grievanceredressal"},{title:"Public Consultation",link:"/connect/publicconsultation"},{title:"Parliament Questions",link:"/connect/Parliamentquestions"},{title:"Visitor’s Pass",link:"/connect/visitorpass"},{title:"Contact us",link:"/connect/contactus"}
1],o=[{title:"Terms of Use",link:"/policies"},{title:"Privacy Policy",link:"/policies/Privacypolicy"},{title:"Hyperlinking policy",link:"/policies/HyperLinkingpolicy"},{title:"Copyright policy",link:"/policies/Copyrightpolicy"}],c=[{title:"Tab 1",link:"/new-template"},{title:"Tab 2",link:"#"},{title:"Tab 3",link:"#"}]},85608:(e,l,i)=>{i.d(l,{A:()=>n});let n=e=>{var l,i,n,t,a,s,r,o,c,d,u,p;let h=localStorage.getItem("preferredLanguage")||"en",m=(e,l)=>{for(let a of l)if(e[a]){var i,n,t;return(null==(i=e[a])?void 0:i.url)||(null==(t=e[a])||null==(n=t[0])?void 0:n.url)||e[a]}return null};if((null==e?void 0:e.pdf_type)==="Both")return m(e,["pdf_both","upload_document_both","pdf_file_both","document_file_both","file_both","document_both","upload_file"]);if((null==e||null==(l=e.Language)?void 0:l.includes("English"))&&!(null==e||null==(i=e.Language)?void 0:i.includes("Hindi"))||(null==e||null==(n=e.language)?void 0:n.includes("English"))&&!(null==e||null==(t=e.language)?void 0:t.includes("Hindi")))return m(e,["pdf","upload_document","pdf_file","document_file","file","document","upload_file"]);if((null==e||null==(a=e.Language)?void 0:a.includes("Hindi"))&&!(null==e||null==(s=e.Language)?void 0:s.includes("English"))||(null==e||null==(r=e.language)?void 0:r.includes("Hindi"))&&!(null==e||null==(o=e.language)?void 0:o.includes("English")))return m(e,["pdf_hindi","upload_document_hindi","pdf_file_hindi","document_file_hindi","file_hindi","document_hindi","upload_file"]);if(!((null==e||null==(c=e.Language)?void 0:c.includes("English"))&&(null==e||null==(d=e.Language)?void 0:d.includes("Hindi"))||(null==e||null==(u=e.language)?void 0:u.includes("English"))&&(null==e||null==(p=e.language)?void 0:p.includes("Hindi"))))return m(e,["pdf","upload_document","pdf_file","document_file","file","document"]);if("hi"===h)return m(e,["pdf_hindi","upload_document_hindi","pdf_file_hindi","document_file","file_hindi","document_hindi","upload_file"]);else return m(e,["pdf","upload_document","pdf_file","document_file","file","document"])}},92101:(e,l,i)=>{i.r(l),i.d(l,{default:()=>a});var n=i(37876);i(14232);var t=i(96010);function a(e){var l,i;let{length:a,height:s,classOne:r,classTwo:o,heightTwo:c,classThree:d}=e;return(0,n.jsx)("div",{className:"container my-5",children:(0,n.jsx)("div",{className:r,children:null==(i=Array)||null==(l=i.from({length:a}))?void 0:l.map((e,l)=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:o,children:(0,n.jsx)(t.A,{height:s})},l),(0,n.jsx)("div",{className:d,children:(0,n.jsx)(t.A,{height:c})})]}))})})}i(93858)}}]);

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.