1"use strict";(globalThis.webpackChunkpfc=globalThis.webpackChunkpfc||[]).push([[984],{3909(e,l,t){t.d(l,{A:()=>a});var r=t(4501),d=t(579);const a=e=>{let{page:l,total:t,setPage:a,onPageChange:i}=e;return(0,d.jsx)(r.Ay,{current:l,total:t,onPageChange:i||(e=>{a(e)}),maxWidth:2})}},3984(e,l,t){t.r(l),t.d(l,{default:()=>b});var r=t(6930),d=t(5847),a=t(3003),i=t(5043),x=t(3909),n=t(7635),o=t(2126),s=t(9859),c=t(2363),p=t(9593),u=t(6178),m=t.n(u),v=t(27),h=t(579);const b=()=>{const e=(0,a.d4)(e=>e.ui.lang),{t:l}=(0,r.Bd)("common"),[t,u]=(0,i.useState)(null),[b,f]=(0,i.useState)(!0),[k,w]=(0,i.useState)(!0),[j,g]=(0,i.useState)(!1),[D,_]=(0,i.useState)(!1),[y,N]=(0,i.useState)(1),[E,B]=(0,i.useState)(0),[A,C]=(0,i.useState)(1),[Y,M]=(0,i.useState)(0),[O,S]=(0,i.useState)(null),[F,T]=(0,i.useState)(null),[$,I]=(0,i.useState)(""),[z,P]=(0,i.useState)($),[U,W]=(0,i.useState)(!1),{setPageData:q,menu:L}=(0,d.KC)();let K=Math.ceil(Y/10),R=Math.ceil(E/10);const Z=[1,2,3,4,5],G=(0,i.useRef)(null),H=(0,d.Zp)(),J=(0,a.wA)();(0,i.useEffect)(()=>{q({helmetTitle:l("seo_friendly.jobs_on_offer.title"),helmetDesc:l("seo_friendly.jobs_on_offer.desc"),helmetKeywords:"",title:l("menu.jobs_on_offer"),root1:l("menu.careers"),root2:l("menu.jobs_on_offer"),loading:b,menuSubtitle:l("menu.jobs_on_offer"),firstRecord:{list_type:{subtitle:l("menu.careers")}}})},[q,b]);(0,i.useEffect)(()=>{window.scrollTo(0,0),y&&e&&(async()=>{try{w(!0),g(!1);const r=await c.A.get(`/${e+(null===p.O||void 0===p.O?void 0:p.O.recruitment)}jobs-on-offer/?page=${y}&archived=False${z?`&search=${z}`:""}`);var l,t;r&&200===(null===r||void 0===r?void 0:r.status)&&(u(null===r||void 0===r||null===(l=r.data)||void 0===l?void 0:l.results),B(null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.count),!D&&_(!0),T("jobs-on-offer"),w(!1),f(!1))}catch(d){var r;404===(null===d||void 0===d||null===(r=d.response)||void 0===r?void 0:r.status)&&H("/"),u([]),B(0),g(!0),T(null),w(!1),f(!1),console.error("error while feching careeer data listing",d)}})()},[z,y,e]),(0,i.useEffect)(()=>{F&&A&&e&&(async()=>{try{const r=await c.A.get(`/${e+(null===p.O||void 0===p.O?void 0:p.O.recruitment)}jobs-on-offer/?page=${A}&archived=True`);var l,t;r&&200===(null===r||void 0===r?void 0:r.status)&&(S(null===r||void 0===r||null===(l=r.data)||void 0===l?void 0:l.results),M(null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.count))}catch(r){S([]),M(0),console.error("error while feching archive careeer data listing",r)}})()},[F,A,e]),(0,i.useEffect)(()=>{D&&(0,s._)()},[D]),(0,i.useEffect)(()=>{const e=setTimeout(()=>{P($)},500);return()=>clearTimeout(e)},[$]);(0,i.useEffect)(()=>{const e=G.current;if(!e)return;const l=e=>{const l=e.target.closest("a");if(l){const t=l.getAttribute("href");if(!t||"#"===t||t.startsWith("javascript:"))return;const r=/\.(pdf|docx?|xlsx?|pptx?|csv|txt|rtf|zip|rar|7z|tar|gz|iso|jpg|jpeg|png|gif|bmp|webp|svg|tiff?|mp3|wav|m4a|flac|aac|ogg|mp4|mkv|mov|avi|wmv|webm|mpeg)$/i.test(t);!t.startsWith("/")&&!t.startsWith("#")&&(!t.startsWith(window.location.origin)||t.includes(".html"))&&!r?(e.preventDefault(),e.stopPropagation(),J(o.k.setWebOpen(!0)),J(o.k.setLink(t))):r&&(e.preventDefault(),window.open(t,"_blank","noopener,noreferrer"))}};return e.addEventListener("click",l),()=>{e.removeEventListener("click",l)}},[t,O,J]);const Q=e=>`${(parseFloat(e)/1024).toFixed(2)} MB`;return(0,h.jsx)("div",{ref:G,className:"w-full flex-col flex gap-[30px]",children:!b&&(0,h.jsxs)(h.Fragment,{children:[k?(0,h.jsxs)("div",{className:"w-full flex flex-col rounded-[20px]",children:[(0,h.jsx)("div",{className:"py-[10px] px-[20px] w-full bg-[#1F3883] rounded-t-[20px] min-h-[38px] xlx:min-h-[40px]",children:(0,h.jsx)("div",{className:"w-[150px] h-[12px] bg-gray-200 rounded-full dark:bg-gray-700 animate-pulse"})}),(0,h.jsx)("div",{className:"w-full rounded-b-[20px] border border-[#DDE3EC] dark:border-white/10 bg-white dark:bg-bgDark",children:(0,h.jsx)("div",{className:"overflow-x-auto overflow-y-hidden rounded-b-[20px]",children:(0,h.jsxs)("table",{className:"min-w-full rounded-b-[20px]",children:[(0,h.jsx)("thead",{children:(0,h.jsxs)("tr",{className:"bg-[#F2F6FB] dark:bg-[#1e2737]",children:[(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dar
1k:text-textBlackDark font-bold text-xs text-center min-w-[65px] w-[65px] border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase whitespace-nowrap",children:l("table_header.s_no")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase w-[400px] min-w-[400px] xl:w-auto xl:min-w-0",children:l("table_header.title")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase min-w-[230px] w-[230px]",children:l("tender.opening_date")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase min-w-[230px] w-[230px]",children:l("tender.last_date_of_submission")})]})}),(0,h.jsx)("tbody",{children:Array.isArray(Z)&&Z.map((e,l)=>(0,h.jsxs)("tr",{children:[(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-center whitespace-nowrap",children:(0,h.jsx)("div",{className:"w-[50px] h-[12px] bg-gray-200 rounded-full dark:bg-gray-700 animate-pulse"})}),(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left",children:(0,h.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[(0,h.jsx)("div",{className:"w-full h-[12px] bg-gray-200 rounded-full dark:bg-gray-700 animate-pulse"}),(0,h.jsxs)("div",{className:"flex items-center gap-[4px]",children:[(0,h.jsx)("div",{className:"w-[60px] h-[12px] bg-gray-200 rounded-full dark:bg-gray-700 animate-pulse"}),(0,h.jsx)("svg",{className:"fill-secondary dark:fill-textBlackDull",xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none",children:(0,h.jsx)("circle",{cx:"2",cy:"2",r:"2"})}),(0,h.jsx)("div",{className:"w-[30px] h-[12px] bg-gray-200 rounded-full dark:bg-gray-700 animate-pulse"})]})]})}),(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left",children:(0,h.jsx)("div",{className:"w-[120px] h-[12px] bg-gray-200 rounded-full dark:bg-gray-700 animate-pulse"})}),(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left",children:(0,h.jsx)("div",{className:"w-[120px] h-[12px] bg-gray-200 rounded-full dark:bg-gray-700 animate-pulse"})})]},l))})]})})})]}):(0,h.jsx)(h.Fragment,{children:j?(0,h.jsx)("div",{className:"w-full h-[50vh] flex items-center justify-center container",children:(0,h.jsx)("h4",{className:"text-blackDull dark:text-textBlackDull font-normal",children:l("aria_label.fail")})}):(0,h.jsx)(h.Fragment,{children:(null===t||void 0===t?void 0:t.length)>0?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:"w-full flex flex-col rounded-[20px]",children:[(0,h.jsx)("div",{className:"py-[10px] px-[20px] w-full bg-[#1F3883] rounded-t-[20px] min-h-[38px] xlx:min-h-[40px]",children:(0,h.jsx)("h3",{className:"text-sm leading-[1.188rem] font-extrabold text-white",children:l("menu.jobs_on_offer")})}),(0,h.jsx)("div",{className:"w-full rounded-b-[20px] border border-[#DDE3EC] dark:border-white/10 bg-white dark:bg-bgDark",children:(0,h.jsx)("div",{className:"overflow-x-auto overflow-y-hidden rounded-b-[20px]",children:(0,h.jsxs)("table",{className:"min-w-full rounded-b-[20px]",children:[(0,h.jsx)("thead",{children:(0,h.jsxs)("tr",{className:"bg-[#F2F6FB] dark:bg-[#1e2737]",children:[(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dar
1k:text-textBlackDark font-bold text-xs text-center min-w-[65px] w-[65px] border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase whitespace-nowrap",children:l("table_header.s_no")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase w-[400px] min-w-[400px] xl:w-auto xl:min-w-0",children:l("table_header.title")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase min-w-[230px] w-[230px]",children:l("tender.opening_date")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase min-w-[230px] w-[230px]",children:l("tender.last_date_of_submission")})]})}),(0,h.jsx)("tbody",{children:Array.isArray(t)&&t.map((t,r)=>{var a,i,x,o,s,c,u,b,f,k,w,j,g,D,_,N,E,B,A;return(0,h.jsxs)("tr",{children:[(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-center whitespace-nowrap",children:10*(y-1)+r+1}),(0,h.jsxs)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left",children:[(0,h.jsx)(h.Fragment,{children:"Not Available"===(null===t||void 0===t||null===(a=t.recruitment_document)||void 0===a?void 0:a.file)?(0,h.jsx)("p",{className:"text-sm font-medium text-blackDull dark:text-textBlackDull",children:null===t||void 0===t?void 0:t.title}):(0,h.jsxs)("div",{className:"flex flex-col",children:[(0,h.jsxs)(d.N_,{to:null!==t&&void 0!==t&&t.recruitment_link?null===t||void 0===t?void 0:t.recruitment_link:(null===p.O||void 0===p.O?void 0:p.O.baseUrl)+(null===t||void 0===t||null===(i=t.recruitment_document)||void 0===i?void 0:i.file),target:null!==t&&void 0!==t&&t.recruitment_link?"_blank":"_self",className:"text-secondary dark:text-white text-sm leading-[1.188rem] font-bold hover:underline focus:underline flex gap-[5px]",children:[(0,h.jsx)("div",{className:"w-[18px] h-[18px] min-w-[18px] flex items-center justify-center",children:null!==t&&void 0!==t&&t.recruitment_link?(0,h.jsx)(n.qY,{className:"min-w-[9px] fill-secondary dark:fill-white"}):(0,h.jsx)(n.s3,{className:"min-w-[12px] mt-[2px] fill-secondary dark:fill-white"})}),null===t||void 0===t?void 0:t.title]}),!(null!==t&&void 0!==t&&t.recruitment_link)&&(0,h.jsx)("div",{className:"flex items-center gap-[4px] pl-[23px] whitespace-nowrap",children:(0,h.jsxs)("span",{className:"text-xs leading-[1.188rem] font-bold text-blackDull dark:text-textBlackDull",children:["Not Available"!==(null===t||void 0===t||null===(x=t.recruitment_document)||void 0===x?void 0:x.size)?Q(null===t||void 0===t||null===(o=t.recruitment_document)||void 0===o?void 0:o.size):l("tender.not_available")," | ","Not Available"!==(null===t||void 0===t||null===(s=t.recruitment_document)||void 0===s?void 0:s.file)?null===t||void 0===t||null===(c=t.recruitment_document)||void 0===c||null===(u=c.file)||void 0===u||null===(b=u.split("."))||void 0===b||null===(f=b.pop())||void 0===f?void 0:f.toUpperCase():l("tender.not_available")]})})]})}),(null===t||void 0===t||null===(k=t.detail)||void 0===k?void 0:k.length)>0&&(0,h.jsx)("div",{className:"flex flex-col gap-[10px] pt-[10px]",children:Array.isArray(null===t||void 0===t?void 0:t.detail)&&(null===t||void 0===t||null===(w=t.detail)||void 0===w?void 0:w.map((e,t)=>{var r,a,i,x,o,s,c,u;return(0,h.jsxs)("div",{className:"flex flex-col",children:[(0,h.jsxs)(d.N_,{to:null!==e&&void 0!==e&&e.link?null===e||void 0===e?void 0:e.link:(null===p.O||void 0===p.O?void 0:p.O.baseUrl)+(null===e||void 0===e||null===(r=e.document)||void 0===r?void 0:r.file),target:null!==e&&void 0!==e&&e.link?"_blank":"_self",className:"text-secondary dark:text-white text-sm leading-[1.188rem] font-bold hover:underline focus:underline flex gap-[5px]",children:[(0,h.jsx)("div",{className:"w-[18px] h-[18px] min-w-[18px] flex items-center justify-center",children:null!==e&&void 0!==e&&e.link?(0,h.jsx)(n.qY,{className:"min-w-[9px] fill-secondary dark:fill-white"}):(0,h.jsx)(n.s3,{className:"min-w-[12px] mt-[2px] fill-secondary dark:fill-white"})}),null===e||void 0===e?void 0:e.detail_title]}),!(null!==e&&void 0!==e&&e.link)&&(0,h.jsx)("div",{className:"flex items-center gap-[4px] pl-[23px] whitespace-nowrap",children:(0,h.jsxs)("span",{className:"text-xs leading-[1.188rem] font-bold text-blackDull dark:text-textBlackDull",children:["Not Available"!==(null===e||void 0===e||null===(a=e.document)||void 0===a?void 0:a.size)?Q(null===e||void 0===e||null===(i=e.document)||void 0===i?void 0:i.size):l("tender.not_available")," | ","Not Available"!==(null===e||void 0===e||null===(x=e.document)||void 0===x?void 0:x.file)?null===e||void 0===e||null===(o=e.document)||void 0===o||null===(s=o.file)||void 0===s||null===(c=s.split("."))||void 0===c||null===(u=c.pop())||void 0===u?void 0:u.toUpperCase():l("tender.not_available")]})})]},t)}))})]}),(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left whitespace-nowrap",children:null!==t&&void 0!==t&&t.recruitment_date?"hi"===e?`${m()(null===t||void 0===t||null===(j=t.recruitment_date)||void 0===j?void 0:j.replace(" IST","")).format("DD")} ${v._[m()(null===t||void 0===t||null===(g=t.recruitment_date)||void 0===g?void 0:g.replace(" IST","")).format("MMMM")]} ${m()(null===t||void 0===t||null===(D=t.recruitment_date)||void 0===D?void 0:D.replace(" IST","")).format("YYYY, hh:mm A")}`:m()(null===t||void 0===t||null===(_=t.recruitment_date)||void 0===_?void 0:_.replace(" IST","")).format("DD MMM YYYY, hh:mm A"):l("tender.not_available")}),(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left whitespace-nowrap",children:null!==t&&void 0!==t&&t.end_date?"hi"===e?`${m()(null===t||void 0===t||null===(N=t.end_date)||void 0===N?void 0:N.replace(" IST","")).format("DD")} ${v._[m()(null===t||void 0===t||null===(E=t.end_date)||void 0===E?void 0:E.replace(" IST","")).format("MMMM")]} ${m()(null===t||void 0===t||null===(B=t.end_date)||void 0===B?void 0:B.replace(" IST","")).format("YYYY, hh:mm A")}`:m()(null===t||void 0===t||null===(A=t.end_date)||void 0===A?void 0:A.replace(" IST","")).format("DD MMM YYYY, hh:mm A"):l("tender.not_available")})]},r)})})]})})})]}),E>10&&(0,h.jsx)("div",{className:"flex items-center justify-center w-full mt-[10px]",children:(0,h.jsx)(x.A,{page:y,total:R,setPage:N})})]}):(0,h.jsx)("div",{className:"w-full h-[50vh] flex items-center justify-center",children:(0,h.jsx)("h4",{className:"text-blackDull dark:text-textBlackDull font-normal",children:l("aria_label.empty")})})})}),!!O&&(null===O||void 0===O?void 0:O.length)>0&&(0,h.jsx)("div",{className:"accordion !w-full",children:(0,h.jsxs)("div",{className:"accordion-item",children:[(0,h.jsx)("input",{className:"toggle",id:"archive",type:"checkbox"}),(0,h.jsx)("label",{className:"accordion-item-header",htmlFor:"archive",children:l("table_header.archive")}),(0,h.jsx)("div",{className:"accordion-item-body",children:(0,h.jsxs)("div",{className:"w-full flex flex-col gap-[25px] pt-[10px] xlx:pt-[15px]",children:[(0,h.jsxs)("div",{className:"w-full flex flex-col rounded-[20px]",children:[(0,h.jsx)("div",{className:"py-[10px] px-[20px] w-full bg-[#1F3883] rounded-t-[20px] min-h-[38px] xlx:min-h-[40px]",children:(0,h.jsx)("h3",{className:"text-sm leading-[1.188rem] font-extrabold text-white",children:l("menu.jobs_on_offer")})}),(0,h.jsx)("div",{className:"w-full rounded-b-[20px] border border-[#DDE3EC] dark:border-white/10 bg-white dark:bg-bgDark",children:(0,h.jsx)("div",{className:"overflow-x-auto overflow-y-hidden rounded-b-[20px]",children:(0,h.jsxs)("table",{className:"min-w-full rounded-b-[20px]",children:[(0,h.jsx)("thead",{children:(0,h.jsxs)("tr",{className:"bg-[#F2F6FB] dark:bg-[#1e2737]",children:[(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dar
1k:text-textBlackDark font-bold text-xs text-center min-w-[65px] w-[65px] border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase whitespace-nowrap",children:l("table_header.s_no")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase w-[400px] min-w-[400px] xl:w-auto xl:min-w-0",children:l("table_header.title")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-r border-b border-[#DDE3EC] dark:border-white/10 uppercase min-w-[230px] w-[230px]",children:l("tender.opening_date")}),(0,h.jsx)("th",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-[#6E6082] dark:text-textBlackDark font-bold text-xs text-left border-b border-[#DDE3EC] dark:border-white/10 uppercase min-w-[230px] w-[230px]",children:l("tender.last_date_of_submission")})]})}),(0,h.jsx)("tbody",{children:Array.isArray(t)&&t.map((t,r)=>{var a,i,x,o,s,c,u,b,f,k,w,j,g,D,_,N,E,B,A;return(0,h.jsxs)("tr",{children:[(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-center whitespace-nowrap",children:10*(y-1)+r+1}),(0,h.jsxs)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left",children:[(0,h.jsx)(h.Fragment,{children:"Not Available"===(null===t||void 0===t||null===(a=t.recruitment_document)||void 0===a?void 0:a.file)?(0,h.jsx)("p",{className:"text-sm font-medium text-blackDull dark:text-textBlackDull",children:null===t||void 0===t?void 0:t.title}):(0,h.jsxs)("div",{className:"flex flex-col",children:[(0,h.jsxs)(d.N_,{to:null!==t&&void 0!==t&&t.recruitment_link?null===t||void 0===t?void 0:t.recruitment_link:(null===p.O||void 0===p.O?void 0:p.O.baseUrl)+(null===t||void 0===t||null===(i=t.recruitment_document)||void 0===i?void 0:i.file),target:null!==t&&void 0!==t&&t.recruitment_link?"_blank":"_self",className:"text-secondary dark:text-white text-sm leading-[1.188rem] font-bold hover:underline focus:underline flex gap-[5px]",children:[(0,h.jsx)("div",{className:"w-[18px] h-[18px] min-w-[18px] flex items-center justify-center",children:null!==t&&void 0!==t&&t.recruitment_link?(0,h.jsx)(n.qY,{className:"min-w-[9px] fill-secondary dark:fill-white"}):(0,h.jsx)(n.s3,{className:"min-w-[12px] mt-[2px] fill-secondary dark:fill-white"})}),null===t||void 0===t?void 0:t.title]}),!(null!==t&&void 0!==t&&t.recruitment_link)&&(0,h.jsx)("div",{className:"flex items-center gap-[4px] pl-[23px] whitespace-nowrap",children:(0,h.jsxs)("span",{className:"text-xs leading-[1.188rem] font-bold text-blackDull dark:text-textBlackDull",children:["Not Available"!==(null===t||void 0===t||null===(x=t.recruitment_document)||void 0===x?void 0:x.size)?Q(null===t||void 0===t||null===(o=t.recruitment_document)||void 0===o?void 0:o.size):l("tender.not_available")," | ","Not Available"!==(null===t||void 0===t||null===(s=t.recruitment_document)||void 0===s?void 0:s.file)?null===t||void 0===t||null===(c=t.recruitment_document)||void 0===c||null===(u=c.file)||void 0===u||null===(b=u.split("."))||void 0===b||null===(f=b.pop())||void 0===f?void 0:f.toUpperCase():l("tender.not_available")]})})]})}),(null===t||void 0===t||null===(k=t.detail)||void 0===k?void 0:k.length)>0&&(0,h.jsx)("div",{className:"flex flex-col gap-[10px] pt-[10px]",children:Array.isArray(null===t||void 0===t?void 0:t.detail)&&(null===t||void 0===t||null===(w=t.detail)||void 0===w?void 0:w.map((e,t)=>{var r,a,i,x,o,s,c,u;return(0,h.jsxs)("div",{className:"flex flex-col",children:[(0,h.jsxs)(d.N_,{to:null!==e&&void 0!==e&&e.link?null===e||void 0===e?void 0:e.link:(null===p.O||void 0===p.O?void 0:p.O.baseUrl)+(null===e||void 0===e||null===(r=e.document)||void 0===r?void 0:r.file),target:null!==e&&void 0!==e&&e.link?"_blank":"_self",className:"text-secondary dark:text-white text-sm leading-[1.188rem] font-bold hover:underline focus:underline flex gap-[5px]",children:[(0,h.jsx)("div",{className:"w-[18px] h-[18px] min-w-[18px] flex items-center justify-center",children:null!==e&&void 0!==e&&e.link?(0,h.jsx)(n.qY,{className:"min-w-[9px] fill-secondary dark:fill-white"}):(0,h.jsx)(n.s3,{className:"min-w-[12px] mt-[2px] fill-secondary dark:fill-white"})}),null===e||void 0===e?void 0:e.detail_title]}),!(null!==e&&void 0!==e&&e.link)&&(0,h.jsx)("div",{className:"flex items-center gap-[4px] pl-[23px] whitespace-nowrap",children:(0,h.jsxs)("span",{className:"text-xs leading-[1.188rem] font-bold text-blackDull dark:text-textBlackDull",children:["Not Available"!==(null===e||void 0===e||null===(a=e.document)||void 0===a?void 0:a.size)?Q(null===e||void 0===e||null===(i=e.document)||void 0===i?void 0:i.size):l("tender.not_available")," | ","Not Available"!==(null===e||void 0===e||null===(x=e.document)||void 0===x?void 0:x.file)?null===e||void 0===e||null===(o=e.document)||void 0===o||null===(s=o.file)||void 0===s||null===(c=s.split("."))||void 0===c||null===(u=c.pop())||void 0===u?void 0:u.toUpperCase():l("tender.not_available")," "]})})]},t)}))})]}),(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left whitespace-nowrap",children:null!==t&&void 0!==t&&t.recruitment_date?"hi"===e?`${m()(null===t||void 0===t||null===(j=t.recruitment_date)||void 0===j?void 0:j.replace(" IST","")).format("DD")} ${v._[m()(null===t||void 0===t||null===(g=t.recruitment_date)||void 0===g?void 0:g.replace(" IST","")).format("MMMM")]} ${m()(null===t||void 0===t||null===(D=t.recruitment_date)||void 0===D?void 0:D.replace(" IST","")).format("YYYY, hh:mm A")}`:m()(null===t||void 0===t||null===(_=t.recruitment_date)||void 0===_?void 0:_.replace(" IST","")).format("DD MMM YYYY, hh:mm A"):l("tender.not_available")}),(0,h.jsx)("td",{className:"px-[10px] xlx:px-[20px] py-[7.5px] xlx:py-[9px] text-blackDull dark:text-textBlackDull font-medium *:font-medium text-sm *:text-sm border-r border-b border-[#DDE3EC] dark:border-white/10 text-left whitespace-nowrap",children:null!==t&&void 0!==t&&t.end_date?"hi"===e?`${m()(null===t||void 0===t||null===(N=t.end_date)||void 0===N?void 0:N.replace(" IST","")).format("DD")} ${v._[m()(null===t||void 0===t||null===(E=t.end_date)||void 0===E?void 0:E.replace(" IST","")).format("MMMM")]} ${m()(null===t||void 0===t||null===(B=t.end_date)||void 0===B?void 0:B.replace(" IST","")).format("YYYY, hh:mm A")}`:m()(null===t||void 0===t||null===(A=t.end_date)||void 0===A?void 0:A.replace(" IST","")).format("DD MMM YYYY, hh:mm A"):l("tender.not_available")})]},r)})})]})})})]}),Y>10&&(0,h.jsx)("div",{className:"flex items-center justify-center w-full mt-[10px]",children:(0,h.jsx)(x.A,{page:A,total:K,setPage:C,onPageChange:e=>{C(e)}})})]})})]})})]})})}},9859(e,l,t){t.d(l,{_:()=>a});var r=t(2363),d=t(9593);const a=async()=>{var e,l,t,a,i,x,n,o;if((null===(e=window)||void 0===e||null===(l=e.location)||void 0===l||null===(t=l.href)||void 0===t||!t.includes("localhost"))&&(null===(a=window)||void 0===a||null===(i=a.location)||void 0===i||null===(x=i.href)||void 0===x||!x.includes("/404"))&&(null===(n=window)||void 0===n||null===(o=n.location)||void 0===o||!o.search))try{var s,c;const e=new FormData;e.append("requested_path",null===(s=window)||void 0===s||null===(c=s.location)||void 0===c?void 0:c.href),null!==d.O&&void 0!==d.O&&d.O.sitemap_path&&e.append("sitemap_path",null===d.O||void 0===d.O?void 0:d.O.sitemap_path),e.append("sitemap_build_path",null===d.O||void 0===d.O?void 0:d.O.sitemap_build_path),await r.A.post(`${null===d.O||void 0===d.O?void 0:d.O.sitemap}`,e)}catch(p){console.error("error while adding sitemap url",p)}}}}]); 2//# sourceMappingURL=984.576f6655.chunk.js.map
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.