1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1137,1345,2715,3726,4482,6107,6513,7759,8340,8488,8493],{1761:(e,l,a)=>{a.d(l,{A:()=>t});let t=e=>e.filter(e=>null==e?void 0:e.pagetitle).map(e=>e.pagetitle)},18028:(e,l,a)=>{a.r(l),a.d(l,{default:()=>o});var t=a(37876),i=a(14232),n=a(27706),r=a(79326),s=a(31195);function o(e){let{filterCount:l,schemeFilter:a=!1,searchBox:o=!1,sortFilter:c=!1,categoryFilter:d=!1,limitFilter:u=!1,searchText:p=!1,searchTerm:h,filterYear:m,filter:v,latestFilter:f,category:g,limit:x,handleSearch:b,HandleSetLimit:j,handleShort:y,handleClearAll:N,handleFilterByCategory:_,handleCategory:k,categoriesValue:w,selectAlphabetic:C}=e,[S,A]=(0,i.useState)(!1);return(0,t.jsx)(r.A,{children:(0,t.jsxs)("form",{className:"form-group row align-items-start row-gap-2 ".concat(2===l?"filterbox-two-filters":3===l?"filterbox-three-filters":4===l?"filterbox-four-filters":"filterbox"," filterBoxResponsive"),onSubmit:e=>{e.preventDefault()},children:[(0,t.jsx)("div",{className:"col-md-12 col-lg-4",children:o&&(0,t.jsxs)("div",{className:"input-group searchField",children:[(0,t.jsx)("span",{className:"input-group-text",children:(0,t.jsx)(s.A,{iconName:"search"})}),(0,t.jsx)("input",{type:"search",role:"searchbox",name:"scheme","aria-label":"search",className:"form-control",placeholder:"Search...",value:p||h,onChange:b}),(0,t.jsx)("span",{className:"input-group-text filterIconResponsive d-block d-md-none",onClick:()=>{A(e=>!e)},children:(0,t.jsx)(s.A,{iconName:"filter_alt"})})]})}),(0,t.jsx)("div",{className:"col-md-12 col-lg-8 ".concat(S?"d-block":"d-none"," d-md-block filterIconResponsivebox"),children:(0,t.jsxs)("div",{className:"d-flex align-items-center justify-content-end flex-wrap gap-2",children:[a&&(0,t.jsxs)("div",{className:"input-group filterField",children:[(0,t.jsx)("span",{className:"input-group-text",children:(0,t.jsx)(s.A,{iconName:"filter_alt"})}),(0,t.jsxs)("select",{className:"form-select",value:m,onChange:_,role:"combobox","aria-label":"category",children:[(0,t.jsx)("option",{value:"",children:"Schemes and Services"}),(0,t.jsx)("option",{value:"Service",children:"Services"}),(0,t.jsx)("option",{value:"Scheme",children:"Schemes"})]})]}),c&&(0,t.jsxs)("div",{className:"input-group sortField",children:[(0,t.jsx)("span",{className:"input-group-text",children:(0,t.jsx)(s.A,{iconName:"sort"})}),(0,t.jsxs)("select",{className:"form-select",value:v,onChange:y,role:"combobox","aria-label":"sort by filter",children:[(0,t.jsx)("option",{value:"",children:"Sort by"}),f&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("option",{value:"DESCY",children:"Latest"}),(0,t.jsx)("option",{value:"ASCY",children:"Oldest"})]})]})]}),d&&(0,t.jsxs)("div",{className:"input-group sortField",role:"combobox",children:[(0,t.jsx)("label",{htmlFor:"categorySelect",className:"visually-hidden",children:"Filter by Category"}),(0,t.jsx)("span",{className:"input-group-text",children:(0,t.jsx)(s.A,{iconName:"sort"})}),(0,t.jsxs)("select",{className:"form-select",id:"categorySelect",value:g,onChange:k,role:"combobox","aria-label":"Filter by Category",children:[(0,t.jsx)("option",{value:"",children:"Category"}),Object.keys(w).map((e,l)=>(0,t.jsx)("option",{value:w[e],children:w[e]},l))]})]}),u&&(0,t.jsxs)("div",{className:"input-group perPageField",children:[(0,t.jsx)("label",{htmlFor:"pageLimitSelect",className:"visually-hidden",children:"Items per page"}),(0,t.jsx)("span",{className:"input-group-text",children:(0,t.jsx)("span",{className:"material-symbols-outlined bhashini-skip-translation","anuvadak-no-localization":"true",children:"list_alt"})}),(0,t.jsxs)("select",{className:"form-select",id:"pageLimitSelect",value:x,onChange:j,children:[(0,t.jsx)("option",{value:10,children:"10 per page"}),(0,t.jsx)("option",{value:15,children:"15 per page"}),(0,t.jsx)("option",{value:20,children:"20 per page"})]})]}),(h&&""!==h||m&&""!==m||v&&""!==v||d&&""!==g||x&&10!==x||C&&""!==C)&&(0,t.jsx)(n.A,{onclick:N,buttonName:"close_small",titles:"Clear all"})]})})]})})}},18493:(e,l,a)=>{a.r(l),a.d(l,{default:()=>i});var t=a(37876);function i(){return(0,t.jsx)("div",{className:"container my-5",children:(0,t.jsx)("p",{className:"no-data text-center fw-bold fs-3 designation",role:"alert",children:"No Data Available."})})}a(14232)},27706:(e,l,a)=>{a.d(l,{A:()=>n});var t=a(37876);a(14232);var i=a(31195);function n(e){let{onclick:l,buttonName:a,titles:n}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("button",{className:"btn clearbtn d-flex align-items-center text-uppercase",title:"Clear All",type:"button","aria-label":"Clear all filter",onClick:l,children:[(0,t.jsx)(i.A,{iconName:a}),n]})})}},33518:(e,l,a)=>{a.r(l),a.d(l,{default:()=>s});var t=a(37876),i=a(14232),n=a(16412),r=a(31195);function s(e){let{ID:l,link:a,as:s,title:o,buttonName:c,target:d,className:u,ariaLabel:p,type:h,page:m,hoverTitle:v,titleText:f,position:g,handleClick:x}=e,b=(0,i.useMemo)(()=>l||"btn-".concat(Math.random().toString(36).slice(2,8)),[l]);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(n.N,{id:b,position:g,href:a||"#",as:s||"",type:h,className:"".concat(u," d-flex align-items-center text-uppercase pointer"),target:d,title:p,onClick:x,"aria-label":p,children:[(0,t.jsx)(r.A,{iconName:c,"aria-hidden":"true"}),o]})})}},52243:(e,l,a)=>{a.d(l,{A:()=>s});var t=a(37876);a(14232);
1var i=a(33518),n=a(79326),r=a(31777);let s=function(e){let{data:l,paginate:a,handleNext:s,handlePrevius:o,pageRoute:c,paginateKeyUp:d}=e,{mainManu:u,fullMenu:p}=(0,r.d4)(e=>e.menu),h=null==l?void 0:l.total_pages,m=null==l?void 0:l.current_page,v=[];if(h<=5)for(let e=1;e<=h;e++)v.push(e);else if(m<=4){for(let e=1;e<=4;e++)v.push(e);v.push("..."),v.push(h)}else if(m>4&&m<h-2)v.push(1),v.push("..."),v.push(m-1),v.push(m),v.push(m+1),v.push("..."),v.push(h);else{v.push(1),v.push("...");for(let e=h-3;e<=h;e++)v.push(e)}let f=u&&u[6]&&u[6].children?u[6].children:null,g=f&&f.some(e=>e.description===c);return(0,t.jsx)(n.A,{children:(0,t.jsxs)("div",{className:"row align-items-center mt-5",children:[(0,t.jsx)("div",{className:"col-md-4"}),(0,t.jsx)("div",{className:"col-md-4 d-flex justify-content-center",children:l&&h>1&&(0,t.jsx)("nav",{"aria-label":"pagination",children:(0,t.jsxs)("ul",{className:"pagination pointer",children:[(0,t.jsx)("li",{children:(0,t.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,t.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"})})}),v.map((e,l)=>(0,t.jsx)("li",{className:"page-item",onClick:()=>"..."!==e&&a(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,t.jsx)("span",{className:"".concat(m===e&&"active"," page-link pointer ").concat("..."!==e&&"hover"),children:e})},l)),(0,t.jsx)("li",{children:(0,t.jsx)("button",{className:"button-item next",title:"".concat(l.current_page===l.total_pages?"":"Next"),onClick:()=>s(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,t.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"})})})]})})}),g&&(0,t.jsx)("div",{className:"col-md-4",children:(0,t.jsx)("div",{className:"d-flex justify-content-end gap-2",children:(0,t.jsx)(i.default,{link:"/archives?page=".concat(c),title:"View Archive",hoverTitle:"View Archive",buttonName:"archive",className:"download-outline-btn pointer archivemr",target:""})})})]})})}},56396:(e,l,a)=>{a.d(l,{Y3:()=>t,YG:()=>o,bM:()=>r,kj:()=>s,nd:()=>i,t$:()=>n});let t="./images/placeholder/innerbanner.png",i="/images/placeholder/centralpush.png",n="/images/placeholder/pmquote.png",r="/images/placeholder/resources.png",s="/images/placeholder/Default_Profile_Picture.png",o="/images/placeholder/pmquote.png"},69636:(e,l,a)=>{a.d(l,{GA:()=>i,J5:()=>r,TJ:()=>t,UB:()=>c,e5:()=>s,uZ:()=>n,wJ:()=>o});let t=[{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"}],i=[{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"}],n=[{title:"Reports",link:"/documents"},{title:"Acts and Policies",link:"/documents/ActPolicies"},{title:"Orders and Notices",link:"/documents/orders"},{title:"Publications",link:"/documents/Publications"}],r=[{title:"Photos",link:"/resources"},{title:"Videos",link:"/resources/videos"},{title:"Brochures",link:"/resources/Brochures"},{title:"Presentations",link:"/resources/presentations"}],s=[{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:"#"}]},71197:(e,l,a)=>{a.r(l),a.d(l,{default:()=>r});var t=a(37876);a(14232);var i=a(89209),n=a(96010);function r(e){var l;let{alt:a,image:r,breadcrumbs:s,bannerLoad:o}=e,c=null==(l=s[(null==s?void 0:s.length)-1])?void 0:l.pagetitle;return(0,t.jsx)(t.Fragment,{children:o?(0,t.jsx)(n.A,{height:272,width:"100%"}):(0,t.jsxs)("div",{className:"Innerbaner internalPagesBanner",children:[(0,t.jsx)("img",{src:r,className:"img-fluid w-100",alt:a||c,role:"img",width:100,height:100}),(0,t.jsx)("div",{className:"container",children:(0,t.jsx)(i.default,{crumbs:s||[]})})]})})}a(54587),a(99255),a(87189),a(84661)},85309:(e,l,a)=>{a.d(l,{QD:()=>r,eO:()=>n,rQ:()=>t,xv:()=>i});let t=e=>btoa("id-".concat(e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"").split("").reverse().join(""),i=e=>{if(!e)return null;let l=e;if(l.startsWith("Title=")){let e=l.indexOf("&id=");l=-1!==e?l.slice(e+4):""}try{let e=l.split("").reverse().join("").replace(/-/g,"+").replace(/_/g,"/"),a=atob(e);if(!a.startsWith("id-"))return null;return a.slice(3)}catch(e){return null}},n=e=>e?encodeURIComponent(e).replace(/%20/g,"-").replace(/%24/g,"$").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%2B/g,"+").replace(/%40/g,"@").replace(/%3A/g,":").replace(/%3F/g,"?").replace(/%2F/g,"/").replace(/%2C/g,","):e,r=e=>e?decodeURIComponent(e.replace(/-/g,"%20").replace(/\$/g,"%24").replace(/&/g,"%26").replace(/=/g,"%3D").replace(/\+/g,"%2B").replace(/@/g,"%40").replace(/:/g,"%3A").replace(/\?/g,"%3F").replace(/\//g,"%2F").replace(/,/g,"%2C")):e},89209:(e,l,a)=>{a.r(l),a.d(l,{default:()=>p});var t=a(37876),i=a(14232),n=a(48230),r=a.n(n),s=a(31777),o=a(89099),c=a(8907);a(54341);var d=a(38147),u=a(85309);let p=e=>{let{crumbs:l}=e,[a,n]=(0,i.useState)(),p=(0,o.useRouter)(),h=p.pathname,{page:m,pageTitle:v,slug:f}=p.query,g=p.pathname.replace(/\/\[.*\]/,"").replace(/^\//,""),x=null!=f?f:g,b=p.pathname.replace(/\/\[.*\]/,""),{mainManu:j}=(0,s.d4)(e=>e.menu);return(0,s.wA)(),(0,i.useEffect)(()=>{if(j){let e=(0,c.LL)(j,b);n(null==e?void 0:e.find(e=>(null==e?void 0:e.url)===p.asPath))}},[h,j,p.asPath]),(0,t.jsxs)("div",{className:"innerbox",children:[(0,t.jsx)("nav",{"aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"breadcrumb","aria-label":null!=x?x:"Breadcrumb",children:l&&(null==l?void 0:l.map(e=>(null==e?void 0:e.ptitle)||(null==e?void 0:e.title)?(0,t.jsx)("li",{className:"breadcrumb-item","aria-current":((null==e?void 0:e.ptitle)||(null==e?void 0:e.title))&&"Home"!==((null==e?void 0:e.ptitle)||(null==e?void 0:e.title))?"page":void 0,children:(null==e?void 0:e.href)?(0,t.jsx)(r(),{className:!(null==e?void 0:e.isLink)&&"active",href:e.href,children:e.ptitle||e.title}):(0,t.jsx)("span",{tabIndex:"0",className:"active text-capitalize","aria-label":"/archives"===b?m||"Tenders":a?null==a?void 0:a.title:null==e?void 0:e.title,children:"/archives"===b?"Archives":a?null==a?void 0:a.title:null==e?void 0:e.title})},(null==e?void 0:e.title)||(null==e?void 0:e.ptitle)):null))})}),l.map((e,l)=>(null==e?void 0:e.pagetitle)?(0,t.jsx)("h1",{className:"pagename",id:"maincontent",children:"/archives"===b?m?(0,d.o)((e=>{switch(e){case"tenders_post":return"tenders";case"schemes_and_services":return"schemes and services";case"press-release":return"Press Release";case"gazettes-notifications":return"Gazettes Notifications";case"guidelines":return"Guidelines";case"publications":return"Publications";case"our_organisation":return"Our Organisation";case"our_departments":return"Our Departments";case"our_performance":return"Our Performance";case"brochures_post":return"Brochures";case"competition_awards":return"Competition and Awards";case"initiatives":return"Initiatives";case"presentation":return"Presentation";case"photos_post":return"photos";case"videos_post":return"videos";case"our organisation":return"our organisation";case"orders-and-notices":return"orders and notices";case"report":return"reports";case"acts-and-policies":return"Acts and Policies";case"careers_post":return"vacancies";default:return"Archives"}})(m)):"Tenders":(0,u.QD)(v)||(null==e?void 0:e.pagetitle)},l):null)]})}},92101:(e,l,a)=>{a.r(l),a.d(l,{default:()=>n});var t=a(37876);a(14232);var i=a(96010);function n(e){var l,a;let{length:n,height:r,classOne:s,classTwo:o,heightTwo:c,classThree:d}=e;return(0,t.jsx)("div",{className:"container my-5",children:(0,t.jsx)("div",{className:s,children:null==(a=Array)||null==(l=a.from({length:n}))?void 0:l.map((e,l)=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:o,children:(0,t.jsx)(i.A,{height:r})},l),(0,t.jsx)("div",{className:d,children:(0,t.jsx)(i.A,{height:c})})]}))})})}a(93858)},94757:(e,l,a)=>{a.r(l),a.d(l,{default:()=>p});var t=a(37876),i=a(14232),n=a(89099),r=a(16412),s=a(31777);a(54341);var o=a(8907),c=a(14e3),d=a(79326),u=a(31195);let p=function(e){var l,a,p;let{navList:h}=e,m=(0,n.useRouter)(),v=(0,c.usePathname)(),f=m.pathname,g=null!=(p=m.query.parentslug)?p:"ministry",x=m.pathname.replace(/\/\[.*\]/,""),{mainManu:b}=(0,s.d4)(e=>e.menu);(0,s.wA)();let[j,y]=(0,i.useState)(),[N,_]=(0,i.useState)(!1),[k,w]=(0,i.useState)(!0),[C,S]=(0,i.useState)(!1),A=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=()=>{_(A.current.scrollLeft>0),w(A.current.scrollLeft<A.current.scrollWidth-A.current.clientWidth)},l=()=>{S(A.current.scrollWidth>A.current.clientWidth)};return A.current.addEventListener("scroll",e),l(),window.addEventListener("resize",l),()=>{A.current&&A.current.removeEventListener("scroll",e),window.removeEventListener("resize",l)}},[A.current,null==(l=A.current)?void 0:l.scrollWidth,null==(a=A.current)?void 0:a.clientWidth]),(0,i.useEffect)(()=>{b&&y((0,o.LL)(b,x||"/".concat(g)))},[f,b]),(0,t.jsx)(d.A,{children:(0,t.jsx)("div",{className:"navigationSection",children:(0,t.jsx)("div",{className:"container px-0",children:(0,t.jsxs)("nav",{className:"innernav position-relative d-flex justify-content-between",role:"navigation","aria-labelledby":"sub-navigation",children:[C&&N&&(0,t.jsx)("button",{className:"scroll-btn leftside pointer","aria-label":"Scroll Left",onClick:()=>{A.current&&(A.current.scrollLeft-=50)},children:(0,t.jsx)(u.A,{iconName:"keyboard_arrow_left"})}),(0,t.jsx)("ul",{className:"nav",ref:A,children:j&&(null==j?void 0:j.map((e,l)=>{let a=v===(null==e?void 0:e.url);return(0,t.jsx)("li",{className:"nav-item",children:(0,t.jsx)(r.N,{href:"".concat(null==e?void 0:e.url),className:"nav-link ".concat(a?"active":""),title:"".concat(null==e?void 0:e.title," ").concat(a?"active":""),"aria-current":a?"page":void 0,children:null==e?void 0:e.title})},l)}))}),C&&k&&(0,t.jsx)("button",{className:"scroll-btn pointer",onClick:()=>{A.current&&(A.current.scrollLeft+=50)},"aria-label":"Scroll right",children:(0,t.jsx)(u.A,{iconName:"keyboard_arrow_right"})})]})})})})}},96010:(e,l,a)=>{a.d(l,{A:()=>n});var t=a(14232);let i=t.createContext({});function n({count:e=1,wrapper:l,className:a,containerClassName:n,containerTestId:r,circle:s=!1,style:o,...c}){var d,u,p;let h=t.useContext(i),m={...c};for(let[e,l]of Object.entries(c))void 0===l&&delete m[e];let v={...h,...m,circle:s},f={...o,...function({baseColor:e,highlightColor:l,width:a,height:t,borderRadius:i,circle:n,direction:r,duration:s,enableAnimation:o=!0}){let c={};return"rtl"===r&&(c["--animation-direction"]="reverse"),"number"==typeof s&&(c["--animation-duration"]=`${s}s`),o||(c["--pseudo-element-display"]="none"),("string"==typeof a||"number"==typeof a)&&(c.width=a),("string"==typeof t||"number"==typeof t)&&(c.height=t),("string"==typeof i||"number"==typeof i)&&(c.borderRadius=i),n&&(c.borderRadius="50%"),void 0!==e&&(c["--base-color"]=e),void 0!==l&&(c["--highlight-color"]=l),c}(v)},g="react-loading-skeleton";a&&(g+=` ${a}`);let x=null!=(d=v.inline)&&d,b=[],j=Math.ceil(e);for(let l=0;l<j;l++){let a=f;if(j>
1e&&l===j-1){let l=null!=(u=a.width)?u:"100%",t=e%1,i="number"==typeof l?l*t:`calc(${l} * ${t})`;a={...a,width:i}}let i=t.createElement("span",{className:g,style:a,key:l},"â");x?b.push(i):b.push(t.createElement(t.Fragment,{key:l},i,t.createElement("br",null)))}return t.createElement("span",{className:n,"data-testid":r,"aria-live":"polite","aria-busy":null==(p=v.enableAnimation)||p},l?b.map((e,a)=>t.createElement(l,{key:a},e)):b)}},97759:(e,l,a)=>{a.r(l),a.d(l,{default:()=>C});var t=a(37876),i=a(14232),n=a(37789),r=a(52243),s=a(14428);let o={getVideosApi:async(e,l,a,t)=>s.default.get("wp-json/post-page/videos_post?".concat(t||"limit=".concat(e,"&page=").concat(l).concat(a?"&".concat(a):""))),getVideosCategory:async()=>s.default.get("wp-json/category/all-categories")};var c=a(92101),d=a(8907),u=a(56396),p=a(54587),h=a.n(p),m=a(89099),v=a(18493),f=a(18028),g=a(985),x=a(99255),b=a(31195);let j=function(){var e;let l=(0,m.useRouter)(),{persona:a,page:n}=l.query,s=new URL(window.location.href).pathname,[p,j]=(0,i.useState)(),[y,N]=(0,i.useState)(""),[_,k]=(0,i.useState)({}),[w,C]=(0,i.useState)(""),[S,A]=(0,i.useState)(),[P,R]=(0,i.useState)(n||1),[L,E]=(0,i.useState)(""),[F,T]=(0,i.useState)(""),[O,D]=(0,i.useState)(!0),[z,B]=(0,i.useState)(null),[M,I]=(0,i.useState)(!1),[V,G]=(0,i.useState)(),{setLastModified:U}=(0,g.J)(),[Y,W]=(0,i.useState)(!1),$=async(e,l,a)=>{I(!0);try{let t=(await o.getVideosApi(e,l,a)).data;B(t),I(!1)}catch(e){console.error(e)}};(0,i.useEffect)(()=>{j(z)},[z]);let q=(0,i.useCallback)(async()=>{let e;G(e=new URLSearchParams("ASC"===y||"DESC"===y||a||w?a?{order:y,orderby:"title",category:w,persona:a}:{order:y,category:w,orderby:"title"}:a?{sort:"acf",order:y?(0,d.MO)(y):"DESC",persona:a}:{sort:"acf",order:y?(0,d.MO)(y):"DESC"}));try{a?(0,d.cR)(l,n||P,s,a):(0,d.cR)(l,n||P,s),await $(12,n||P,e)}catch(e){console.error("Error fetching data:",e)}},[L,y,a,w]);(0,i.useEffect)(()=>{!async function(){try{var e,l,a;let t=await o.getVideosCategory();k(null==t||null==(l=t.data)||null==(e=l.data[1])?void 0:e.videos_categories);let i=(null==t||null==(a=t.data)?void 0:a.data).map(e=>Object.keys(e)[0]);A(i[0])}catch(e){console.log("Error fetching categories:",e)}}()},[]),(0,i.useEffect)(()=>{let e=setTimeout(()=>{q()},700);return()=>clearTimeout(e)},[q]);let J=async e=>{U("");try{let l=(await o.getVideosApi(12,n,V,e)).data;U(null==l?void 0:l.modified_date)}catch(e){console.log(e)}finally{}};(0,i.useEffect)(()=>{J("modified_date")},[]);let Q=async e=>{a?(0,d.cR)(l,e+1,s,a):(0,d.cR)(l,e+1,s),await $(12,e+1,V)},H=async e=>{a?(0,d.cR)(l,e+1,s,a):(0,d.cR)(l,e+1,s),await $(12,e+1,V),R(e+1)},K=async e=>{a?(0,d.cR)(l,e-1,s,a):(0,d.cR)(l,e-1,s),await $(12,e-1,V),R(e-1)},X=(e,l)=>{e.preventDefault();let a=window.confirm("This would take you to an external website that opens in a new tab. Do you want to continue?");if(a&&window.open(l,"_blank").focus(),!a){event.preventDefault(),event.stopPropagation();return}};return(0,t.jsxs)("div",{className:"container mt-5",children:[(0,t.jsx)(f.default,{sortFilter:!0,categoryFilter:_&&Object.keys(_).length>0,searchTerm:L,filterYear:F,filter:y,category:w,latestFilter:O,handleShort:e=>{let l=e.target.value;T(),N(l)},handleCategory:e=>{let l=e.target.value;e.target.value||$(12,1,queryParams,L),C(l)},handleClearAll:e=>{e.preventDefault(),N(""),C(""),E(""),T(""),R(1)},categoriesValue:_}),M&&(0,t.jsx)(c.default,{length:12,height:"300px",classOne:"row g-4",classTwo:"col-md-4",classThree:"d-none"}),(null==z?void 0:z.posts.length)===0&&!M&&(0,t.jsx)(v.default,{}),!M&&z&&(null==z?void 0:z.posts.length)>0&&(0,t.jsx)("div",{className:"row photos-row-gap",children:null==z||null==(e=z.posts)?void 0:e.map((e,l)=>{var a,i,n,r,s,o,c,p,m,v,f,g,j,y,N,_,k,w,C,S,A,P,R,L,E,F,T,O,D,z,B,M,I,V,G,U,$,q,J,Q,H,K,Z,ee;return(0,t.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-4",children:(0,t.jsxs)("div",{className:"photos-card h-100",children:[(null==e||null==(a=e.acf_data)?void 0:a.videos_type)==="YouTube"&&(null==e||null==(i=e.acf_data)?void 0:i.video_url)?(0,t.jsx)("iframe",{src:"".concat(null==e||null==(n=e.acf_data)?void 0:n.video_url,"?rel=0"),className:"img-fluid w-100 videos-img bhashini-skip-translatio",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,tabIndex:0,autoComplete:"off"}):(null==e||null==(r=e.acf_data)?void 0:r.url)&&(null==e||null==(s=e.acf_data)?void 0:s.videos_type)==="Site Videos"?(0,t.jsx)("a",{href:null==e||null==(o=e.acf_data)?void 0:o.url,onClick:l=>{var a;return X(l,null==e||null==(a=e.acf_data)?void 0:a.url)},target:"_blank",rel:"noopener noreferrer",children:(null==e||null==(p=e.acf_data)||null==(c=p.thumbnail_image)?void 0:c.url)?(0,t.jsx)(x.default,{src:null==e||null==(v=e.acf_data)||null==(m
1=v.thumbnail_image)?void 0:m.url,className:"img-fluid photos-img w-100 bhashini-skip-translatio",alt:null==e||null==(f=e.acf_data)?void 0:f.title}):(0,t.jsx)(h(),{src:u.nd,className:"img-fluid photos-img w-100 bhashini-skip-translatio",alt:null==e||null==(g=e.acf_data)?void 0:g.title,role:"img",width:100,height:100})}):(null==e||null==(j=e.acf_data)?void 0:j.mp4_file)&&(null==e||null==(y=e.acf_data)?void 0:y.videos_type)==="MP4"?(0,t.jsxs)("div",{className:"position-relative video-custom-share-option",children:[!Y&&(0,t.jsx)("div",{onClick:()=>{var l,a=null==e||null==(l=e.acf_data)?void 0:l.mp4_file;W(!0);let t=document.createElement("textarea");t.style.position="fixed",t.style.top=0,t.style.left=0,t.style.width="2em",t.style.height="2em",t.style.padding=0,t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=a,t.id="ta",document.body.appendChild(t);var i=document.createRange();i.selectNode(t),t.select(),window.getSelection().addRange(i);try{document.execCommand("copy")}catch(e){console.log(e)}document.body.removeChild(t)},className:"shareOption pointer position-absolute",children:(0,t.jsx)(b.A,{iconName:"share"})}),(0,t.jsx)("video",{src:null==e||null==(N=e.acf_data)?void 0:N.mp4_file,className:"img-fluid w-100 videos-img bhashini-skip-translation",controls:!0,poster:(null==e||null==(k=e.acf_data)||null==(_=k.thumbnail_image)?void 0:_.url)||"",preload:"auto"}),Y&&(0,t.jsxs)("div",{className:"video-share-panel",children:[(0,t.jsxs)("div",{className:"video-share-panel-inner-content",children:[(0,t.jsx)("div",{className:"video-share-panel-title",id:"video-id-24",children:"Share"}),(0,t.jsx)("a",{className:"video-share-panel-link video-no-contextmenu",target:"_blank","aria-label":"Share link",href:null==e||null==(w=e.acf_data)?void 0:w.mp4_file,title:"Share link",children:null==e||null==(C=e.acf_data)?void 0:C.mp4_file}),(0,t.jsxs)("div",{className:"video-share-panel-service-buttons",children:[(0,t.jsx)("a",{className:"video-share-panel-service-button pointer video-button",href:"http://www.facebook.com/dialog/share?app_id=87741124305&href=".concat(null==e||null==(S=e.acf_data)?void 0:S.mp4_file,"&display=popup"),target:"_blank",title:"Facebook","aria-label":"Facebook",children:(0,t.jsxs)("svg",{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%",children:[(0,t.jsx)("rect",{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}),(0,t.jsx)("path",{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",fill:"#39579b"})]})}),(0,t.jsx)("a",{href:"https://twitter.com/intent/tweet?url=".concat(null==e||null==(A=e.acf_data)?void 0:A.mp4_file,"&text=").concat(null==e||null==(P=e.acf_data)?void 0:P.title),className:"video-share-panel-service-button pointer video-button",target:"_blank","aria-label":"X",title:"X",children:(0,t.jsxs)("svg",{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%",children:[(0,t.jsx)("rect",{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}),(0,t.jsx)("path",{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",fill:"#01abf0"})]})}),(0,t.jsx)("a",{className:"video-share-panel-service-button pointer video-button",href:null==e||null==(R=e.acf_data)?void 0:R.mp4_file,target:"_blank","aria-label":"More",title:"More",children:(0,t.jsx)("span",{className:"video-share-panel-service-button-more",children:(0,t.jsxs)("svg",{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%",children:[(0,t.jsx)("rect",{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}),(0,t.jsx)("path",{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.5
17,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z",fill:"#4e4e4f","fill-rule":"evenodd"})]})})})]})]}),(0,t.jsx)("button",{className:"video-share-panel-close video-button","aria-label":"Close",title:"Close",onClick:()=>W(!1),children:(0,t.jsx)("svg",{height:"100%",viewBox:"0 0 24 24",width:"100%",children:(0,t.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"})})})]})]}):null,(0,t.jsx)("div",{className:"photos-card-body",children:0===l?(0,t.jsx)("p",{className:"photos-card-title h4",children:(null==(L=e.acf_data)?void 0:L.url)?(0,t.jsx)("a",{href:null==e||null==(E=e.acf_data)?void 0:E.url,onClick:l=>{var a;return X(l,null==e||null==(a=e.acf_data)?void 0:a.url)},target:"_blank",rel:"noopener noreferrer","aria-label":"video title: "+(null==e||null==(F=e.acf_data)?void 0:F.title),children:null==e||null==(T=e.acf_data)?void 0:T.title}):(0,t.jsx)("a",{children:null==e||null==(O=e.acf_data)?void 0:O.title})}):(0,t.jsx)("p",{className:"photos-card-title h4",children:(null==(D=e.acf_data)?void 0:D.url)?(0,t.jsx)("a",{href:null==e||null==(z=e.acf_data)?void 0:z.url,onClick:l=>{var a;return X(l,null==e||null==(a=e.acf_data)?void 0:a.url)},target:"_blank",rel:"noopener noreferrer","aria-label":"video title: "+(null==e||null==(B=e.acf_data)?void 0:B.title),children:null==e||null==(M=e.acf_data)?void 0:M.title}):(0,t.jsx)("a",{children:null==e||null==(I=e.acf_data)?void 0:I.title})})}),(0,t.jsxs)("div",{className:"photos-card-footer d-flex justify-content-between align-items-center text-uppercase",children:[(null==e||null==(V=e.acf_data)?void 0:V.date)&&(0,t.jsx)("small",{className:"ptype","aria-label":(0,d.En)((0,d.AY)(null==e||null==(G=e.acf_data)?void 0:G.date)),children:(null==e||null==(U=e.acf_data)?void 0:U.date)&&(0,d.AY)(null==e||null==($=e.acf_data)?void 0:$.date)}),(null==e||null==(q=e.acf_data)?void 0:q.time)&&(0,t.jsx)("small",{className:"ptype","aria-label":"video duration "+(null==e||null==(H=e.acf_data)||null==(Q=H.time)||null==(J=Q.replace(/h/g," hour"))?void 0:J.replace(/m/g," min")),children:null==e||null==(ee=e.acf_data)||null==(Z=ee.time)||null==(K=Z.replace(/h/g," hour"))?void 0:K.replace(/m/g," min")})]})]})},l)})}),(0,t.jsx)(r.A,{data:z,handlePageChange:Q,handleNext:H,handlePrevius:K,currentPage:P,paginate:e=>{a?(0,d.cR)(l,e,s,a):(0,d.cR)(l,e,s),R(e),$(12,e,V)},paginateKeyUp:(e,l)=>{"Enter"===e.key&&(R(l),$(12,l))},setCurrentPage:R,pageRoute:"videos"})]})};var y=a(71197),N=a(94757),_=a(69636),k=a(79326),w=a(1761);function C(e){var l;let{alt:a,bannerImage:i,bannerLoad:r,breadcrumbs:s}=e;return(0,t.jsx)(k.A,{children:(0,t.jsxs)(n.default,{pageTitle:null==(l=(0,w.A)(s))?void 0:l[0],children:[(0,t.jsxs)("section",{className:"position-relative",children:[(0,t.jsx)(y.default,{alt:a,image:i||"",breadcrumbs:s,bannerLoad:r}),(0,t.jsx)(N.default,{navList:_.J5})]}),(0,t.jsx)("section",{className:"maincontent",role:"main",children:(0,t.jsx)(j,{})})]})})}}}]);
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.