PageSourceSearch

https://vastedge.com/_next/static/chunks/pages/jobs-list-d5384fb05a4c8b67.js

js vastedge.com collected 2026-09-24 12:25:07 UTC 14,112 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[688],{76784:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/jobs-list",function(){return n(30152)}])},73153:function(t,e,n){"use strict";n.d(e,{P5:function(){return s},XC:function(){return u},Zn:function(){return c},fg:function(){return l},uV:function(){return d},xs:function(){return a},yd:function(){return p},zf:function(){return f},zs:function(){return i}});var r=n(20700),o=n(29061);function i(t,e){return o.Z.post(r.FH+"/insertjob",t,{headers:{Authorization:e}})}function a(t,e){var n=(0,r.XP)(e);return o.Z.get("".concat(r.FH,"/getjobs").concat(n),{headers:{authorization:t}})}function s(t,e){var n=(0,r.XP)(e);return o.Z.get("".concat(r.FH,"/getapplyjobs").concat(n),{headers:{authorization:t}})}function c(t,e){return o.Z.delete("".concat(r.FH,"/deletejobbyid/").concat(t),{headers:{authorization:e}})}function l(t,e,n){return o.Z.patch("".concat(r.FH,"/jobUpdatebyid/").concat(n),t,{headers:{authorization:e}})}function u(t,e){return o.Z.get("".concat(r.FH,"/getjobbyid/").concat(t),{headers:{authorization:e}})}function p(t,e){return(0,r.XP)(e),o.Z.post(r.FH+"/insertapplyjobs",e,{headers:{authorization:t}})}function d(t,e){return o.Z.post(r.FH+"/cvupload",t,{headers:{authorization:e}})}function f(t,e){return o.Z.delete("".concat(r.FH,"/deleteCVbyid/").concat(t),{headers:{authorization:e}})}},30152:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return m}});var r=n(47568),o=n(29815),i=n(97582),a=n(85893),s=n(73153),c=n(41664),l=n.n(c),u=n(11163),p=n(67294),d=n(86501),f=n(9473),x=n(48172);function m(){var t,e,n=(0,u.useRouter)(),c=(0,f.v9)(function(t){return t.login}).data,m=(0,p.useState)([]),h=m[0],g=m[1],b=(0,p.useState)(!1),j=b[0],v=b[1],y=(0,p.useState)(!1),w=y[0],N=y[1],k=(t=(0,r.Z)(function(){var t,e;return(0,i.__generator)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,s.xs)(c.token,{limit:"",offset:""})];case 1:return t=n.sent().data,g((0,o.Z)(t.data.data)),N(!0),[3,3];case 2:return e=n.sent(),N(!0),d.ZP.error(e.message||e),[3,3];case 3:return[2]}})}),function(){return t.apply(this,arguments)}),_=(e=(0,r.Z)(function(t){var e,n;return(0,i.__generator)(this,function(r){switch(r.label){case 0:v(!0),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,(0,s.Zn)(t,c.token)];case 2:return(e=r.sent().data).status&&(d.ZP.success(e.msg),v(!1)),[3,4];case 3:return n=r.sent(),v(!1),d.ZP.error(n.message||n),[3,4];case 4:return[2]}})}),function(t){return e.apply(this,arguments)});return(0,p.useEffect)(function(){k()},[j]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"w-full ",children:[(0,a.jsx)("div",{className:"w-full p-3 flex justify-end",children:(0,a.jsx)(l(),{href:"/add-job",passHref:!0,legacyBehavior:!0,children:(0,a.jsxs)("a",{className:"bg-[#00308F] h-[45px] text-[#fff] font-semibold capitalize p-[5px] text-md text-sm rounded-[5px] w-[150px] flex items-center justify-center hover:bg-[#002D62] hover:text-[#fff] float-right",children:[(0,a.jsx)("svg",{fill:"none",stroke:"currentColor",strokeWidth:"1.5",viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg","aria-hidden":"true",className:"h-[25px]",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"})}),"add new job"]})})}),(0,a.jsx)("div",{className:"w-full gap-3 grid grid-cols-3 rounded-[10px] p-3",children:w?h.length>0?null==h?void 0:h.map(function(t,e){var r;return(0,a.jsxs)("div",{className:"grid-cols-1 bg-[#fff] rounded-[10px] py-3 px-5",children:[(0,a.jsxs)("div",{className:"flex justify-end w-full gap-2",children:[(0,a.jsxs)("a",{href:(0,x.n5)(t),target:"_blank",rel:"noopener noreferrer",title:"View live job page with long URL",className:"text-[13px] bg-[#0066cc] hover:bg-[#0052a3] font-semibold text-[#fff] rounded-[5px] px-3 py-2 capitalize justify-center items-center gap-1.5 flex transition-colors",children:[(0,a.jsxs)("svg",{xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-[18px] h-[18px] text-[#fff]",children:[(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]}),(0,a.jsx)("span",{children:"View"})]}),(0,a.jsx)("button",{title:"edit",onClick:function(){n.push("/edit-job/".concat(t.id))},className:"text-[14px] bg-[#000] font-semibold text-[#fff] rounded-[5px] px-4 py-2 capitalize justify-center items-center gap-1 flex",children:(0,a.jsx)("svg",{fill:"none",stroke:"currentColor",strokeWidth:"1.5",viewBox:"0 0 24 24",xmlns:"https://www.w3.org/2000/svg","aria-hidden":"true",className:"h-[20px]",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"})})}),(0,a.jsx)("button",{title:"delete",disabled:j,onClick:function(){return _(t.id)},className:"text-[14px] bg-[#b12b2b] font-semibold text-[#fff] rounded-[5px] px-4 py-2 capitalize justify-center items-center gap-1 flex",children:(0,a.jsx)("svg",{xmlns:"https://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-[28px] h-[20px] text-[#fff]",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})})})]}),(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("p",{className:"text-[14px] text-[#000] font-semibold",children:["No. of Openings"," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000]",children:t.no_of_openings})]})}),(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("p",{className:"text-[14px] text-[#000] font-semibold",children:["Job Title "," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000]",children:t.job_title})]})}),(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("p",{className:"text-[14px] text-[#000] font-semibold",children:["Location "," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000]",children:t.location})]})}),(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("p",{className:"text-[14px] text-[#000] font-semibold ",children:["Department "," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000]",children:t.department})]})}),(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("p",{className:"break-all text-[14px] text-[#000] font-semibold",children:["Skills "," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000] capitalize ",children:(null==t?void 0:t.skills_required)!=="{}"?null===(r=JSON.parse(null==t?void 0:t.skills_required))||void 0===r?void 0:r.map(function(t,e){return null==t?void 0:t.value}).join(","):""})]})}),(0,x.jk)(t.education)&&(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("div",{className:"text-[14px] text-[#000] font-semibold",children:["Education "," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000]",children:(0,a.jsx)("div",{className:"px-[20px]",dangerouslySetInnerHTML:{__html:(0,x.C9)(t.education)}})})]})}),(0,x.jk)(t.requirements)&&(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("div",{className:"text-[14px] text-[#000] font-semibold",children:["Requirements "," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000]",children:(0,a.jsx)("div",{className:"px-[20px]",dangerouslySetInnerHTML:{__html:(0,x.C9)(t.requirements)}})})]})}),(0,x.jk)(t.responsibilities)&&(0,a.jsx)("div",{className:"flex pb-[4px]",children:(0,a.jsxs)("div",{className:"text-[14px] text-[#000] font-semibold",children:["Responsibilities "," : ",(0,a.jsx)("span",{className:"text-[14px] font-normal text-[#000]",children:(0,a.jsx)("div",{className:"px-[20px]",dangerouslySetInnerHTML:{__html:(0,x.C9)(t.responsibilities)}})})]})})]},e)}):(0,a.jsx)("p",{className:"col-span-3 mt-2 text-[14px] text-[#000] font-semibold text-center",children:"No Jobs.!"}):(0,a.jsx)("div",{className:"col-span-3 flex justify-center",children:(0,a.jsx)(d.c0,{style:{height:"181px",width:"181px",border:"25px solid",borderColor:"#e0e0e0",borderRightColor:"#61616"}})})})]})})}},48172:function(t,e,n){"use strict";n.d(e,{$v:function(){return u},C9:function(){return d},HB:function(){return c},ZW:function(){return l},jk:function(){return p},n5:function(){return s}});var r=n(21876).Buffer,o=function(t){return t?t.toString().toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,""):"job-opening"},i=function(t){try{var e=t.replace(/-/g,"+").replace(/_/g,"/").padEnd(t.length+(4-t.length%4)%4,"=");if(void 0!==r)return r.from(e,"base64").toString("utf-8");if("function"==typeof window.atob)return window.atob(e);return decodeURIComponent(t)}catch(n){return""}},a=function(t){for(var e=5381,n=0;n<t.length;n++)e=(e<<5)+e+t.charCodeAt(n),e&=e;for(var r=Math.abs(e).toString(16).padStart(8,"0"),o=2166136261,i=0;i<t.length;i++)o^=t.charCodeAt(i),o=Math.imul(o,16777619);var a=Math.abs(o).toString(16).padStart(8,"0");return"".concat(r).concat(a)},s=function(t){if(!t||void 0===t.id||null===t.id)return"/jobs";var e,n=o(t.job_title||"career-opportunity"),i=o(t.department||"technology-solutions"),s=String(t.id),c=void 0!==r?r.from(s,"utf-8").toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):"function"==typeof window.btoa?window.btoa(s).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):encodeURIComponent(s),l=a("".concat(s,":").concat(n,":").concat(i));return"/jobs/view/vastedge-careers-requisition-".concat(n,"-dept-").concat(i,"-req-").concat(c,"-ref-").concat(l)},c=function(t){if(!t)return null;var e=t.match(/-req-([A-Za-z0-9_-]+?)(?:-ref-|$)/);if(e&&e[1]){var n=i(e[1]);if(n&&/^\d+$/.test(n))return n}var r=t.match(/req-(\d+)/i);if(r&&r[1])return r[1];var o=t.match(/(?:^|[-_])(\d+)$/);return o&&o[1]?o[1]:/^\d+$/.test(t)?t:null},l=function(t,e,n){var r=encodeURIComponent(e),o="Explore career opportunity at Vast Edge: ".concat(t).concat(n?" (".concat(n,")"):"",". Ap
1ply now!"),i=encodeURIComponent(o);return{linkedin:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(r),twitter:"https://twitter.com/intent/tweet?url=".concat(r,"&text=").concat(i),facebook:"https://www.facebook.com/sharer/sharer.php?u=".concat(r),whatsapp:"https://api.whatsapp.com/send?text=".concat(i,"%20").concat(r),email:"mailto:?subject=".concat(encodeURIComponent("Job Opening at Vast Edge: ".concat(t)),"&body=").concat(encodeURIComponent("Hello,\n\nI thought you might be interested in this job opening at Vast Edge:\n\n".concat(t,"\nLink: ").concat(e,"\n\nBest regards.")))}},u=function(t){if(!t)return{type:"empty",items:[],text:""};if("string"==typeof t){var e=t.trim();if(!e||"{}"===e||"[]"===e||'""'===e)return{type:"empty",items:[],text:""};try{var n=JSON.parse(t);if("string"==typeof n)try{n=JSON.parse(n)}catch(r){}if(n&&"object"==typeof n){var o=Array.isArray(n)?n:Array.isArray(n.items)?n.items:null;if(o){var i=o.map(function(t){return"string"==typeof t?t:(null==t?void 0:t.text)||(null==t?void 0:t.value)||""}).filter(function(t){return"string"==typeof t&&t.trim().length>0});return i.length>0?{type:"items",items:i,text:""}:{type:"empty",items:[],text:""}}}}catch(a){if(e.replace(/<[^>]*>/g,"").replace(/&nbsp;/gi," ").trim().length>0||/<img|<iframe|<svg/i.test(e))return{type:"text",items:[],text:e}}}else if("object"==typeof t){var s=Array.isArray(t)?t:Array.isArray(t.items)?t.items:null;if(s){var c=s.map(function(t){return"string"==typeof t?t:(null==t?void 0:t.text)||(null==t?void 0:t.value)||""}).filter(function(t){return"string"==typeof t&&t.trim().length>0});return c.length>0?{type:"items",items:c,text:""}:{type:"empty",items:[],text:""}}}return{type:"empty",items:[],text:""}},p=function(t){return"empty"!==u(t).type},d=function(t){var e=u(t);return"empty"===e.type?"":"items"===e.type?'<ul style="margin: 0; padding-left: 20px; list-style-type: disc;">\n      '.concat(e.items.map(function(t){return'<li style="margin-bottom: 4px;">'.concat(t.replaceAll("\n","<br/>"),"</li>")}).join(""),"\n    </ul>"):"text"===e.type?e.text.replaceAll("\n","<br/>"):""}},20943:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:function(){return r}})},13375:function(t,e,n){"use strict";function r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,{Z:function(){return r}})},29815:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(20943),o=n(13375),i=n(91566);function a(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||(0,o.Z)(t)||(0,i.Z)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},91566:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(20943);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r.Z)(t,e)}}}},function(t){t.O(0,[1876,9774,2888,179],function(){return t(t.s=76784)}),_N_E=t.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.