1"use strict";(self.webpackChunkjsjobs=self.webpackChunkjsjobs||[]).push([[852],{73159:(e,a,s)=>{s.d(a,{h:()=>r});var n,t=s(9950);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var n in s)({}).hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e},c.apply(null,arguments)}function o(e,a){let{title:s,titleId:o,...r}=e;return t.createElement("svg",c({width:4,height:5,viewBox:"0 0 4 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:a,"aria-labelledby":o},r),s?t.createElement("title",{id:o},s):null,n||(n=t.createElement("circle",{cx:2,cy:2.5,r:2,fill:"#8A8A8A"})))}const r=t.forwardRef(o);s.p},13767:(e,a,s)=>{s.r(a),s.d(a,{default:()=>d});var n=s(23051),t=s(63121),c=s(50760),o=s(9950),r=s(75783),i=s(47265),l=s(44414);const d=()=>{const e=i.xl?30:15,a={pageNum:1,pageSize:e},[s,d]=(0,o.useState)(),[h,m]=(0,o.useState)(a),[N,E]=(0,o.useState)(0);(0,o.useEffect)((()=>{(0,r.f$)(a).then((e=>{d(e.companies),E(e.count)}))}),[]);return(0,l.jsx)(t.A,{children:(0,l.jsxs)("div",{className:"admin-companies-page",children:[(0,l.jsx)("div",{className:"profiles-wrapper",children:s&&s.length>0&&s.map(((e,a)=>(0,l.jsx)(n.A,{company:e,isAdmin:!0})))}),(0,l.jsx)(c.A,{current:h.pageNum,pageSize:e,total:N||1,onChange:e=>{const a={...h,pageNum:e};(0,r.f$)(a).then((e=>{d(e.companies),E(e.count),m(a)}))}})]})})}},23051:(e,a,s)=>{s.d(a,{A:()=>l});var n=s(79943),t=(s(9950),s(47265)),c=s(60892),o=s(73159),r=s(44545),i=s(44414);const l=e=>{var a,s,l,d,h,m,N,E,u,p,v;let{company:j,devProfile:f,isAdmin:g,urlOrigin:C}=e;const{jobs:A}=j,{isAuthenticated:x}=(0,c.Wj)(),_=null===A||void 0===A?void 0:A.length,S=()=>
1{if(!f||!A)return 0;return A.filter((e=>{var a;return null===(a=e.tags)||void 0===a?void 0:a.every((e=>{var a;return null===(a=f.skills)||void 0===a?void 0:a.find((a=>{var s,n;let{tag:t}=a;return(null===(s=t.name)||void 0===s?void 0:s.toLowerCase())===(null===(n=e.name)||void 0===n?void 0:n.toLowerCase())}))}))})).length},w="employers"===C,L=(null===(a=j.companyLocations)||void 0===a||null===(s=a.find((e=>e.name.toLowerCase()===t.kx.toLowerCase())))||void 0===s?void 0:s.country.name)&&(null===(l=j.companyLocations)||void 0===l||null===(d=l.find((e=>e.name.toLowerCase()===t.kx.toLowerCase())))||void 0===d?void 0:d.state),O=(j.jobs||[]).flatMap((e=>e.tags||[])).flat(),b=(M=null!==(h=j.technologies)&&void 0!==h&&h.length?j.technologies:O,(0,c.dc)().filter((e=>(M||[]).some((a=>e.tagNames.map((e=>e.toLowerCase())).includes(a.name.toLowerCase()))))));var M;const T=(0,i.jsx)("a",{href:t.Xw.COMPANY_DETAILS.replace(":id",j.publicId)+"?tab="+(_?"open":"history"),className:"open-positions",children:_?`${_} Open Position${1===_?"":"s"}`:"View job history"});return(0,i.jsx)("div",{className:"company-card",children:(0,i.jsxs)("a",{href:t.Xw.COMPANY_DETAILS.replace(":id",j.publicId),children:[" ",(0,i.jsxs)("div",{className:"profile-item",children:[(0,i.jsxs)("div",{className:"profile-body",children:[(0,i.jsx)("div",{children:(0,i.jsx)(n.A,{containerClassName:"picture",src:j.logo?j.logo:r.A,alt:"company",fallback:()=>(0,i.jsx)(i.Fragment,{})})}),(0,i.jsx)("div",{className:"name",children:(0,i.jsx)("h2",{children:j.name})}),(0,i.jsxs)("div",{className:"headline",children:[j.headline,"\xa0"]}),(0,i.jsx)("div",{children:(0,i.jsxs)("p",{className:"location-remote",children:[(0,i.jsxs)("span",{className:"location "+(null!==(m=j.benefits)&&void 0!==m&&m.find((e=>e.name.toLowerCase()===t.U9.toLowerCase()))?"one-line":""),children:[`${(null===(N=j.companyLocations)||void 0===N||null===(E=N.find((e=>e.name.toLowerCase()===t.kx.toLowerCase())))||void 0===E?void 0:E.country.name)||""}${L?", ":""}${(null===(u=j.companyLocations)||void 0===u||null===(p=u.find((e=>e.name.toLowerCase()===t.kx.toLowerCase())))||void 0===p?void 0:p.state)||""}`,"\xa0"]}),null!==(v=j.benefits)&&void 0!==v&&v.find((e=>e.name.toLowerCase()===t.U9.toLowerCase()))?(0,i.jsxs)("span",{className:"remote",children:[(0,i.jsx)(o.h,{className:"dot"}),"100% Remote"]}):""]})}),!!b.length&&(0,i.jsxs)("div",{className:"stacks",children:[(0,i.jsx)("span",{className:"stack-text",children:"Stacks:"}),(0,i.jsx)("div",{className:"tags-wrapper",children:b.map(((e,a)=>{if(a<8)return(0,i.jsx)("div",{className:"icon-wrapper",children:(0,i.jsx)(e.icon,{})},a)}))})]})]}),x?(0,i.jsxs)("div",{className:"foot "+(w?"employer":""),children:[!w&&!g&&(0,i.jsx)("p",{className:"job-match "+(S()?"":"no-match"),children:w?"No Job matches for you":S()?(0,i.jsxs)("a",{href:t.Xw.PROFILES_JOB_MATCHES.replace(":id",j.publicId),children:[S()," Job match",1!==S()?"es":""," for you"]}):"No Job matches for you"}),T]}):(0,i.jsxs)("div",{className:"foot "+(w?"employer":""),children:[!w&&(0,i.jsx)("a",{href:t.Xw.LOGIN,onClick:()=>{localStorage.setItem(t.lO.devAuthRedirectKey,window.location.href+"?from-auth=1")},className:"job-match no-match",children:"Sign in to get matched"}),T]})]})]})})}},63121:(e,a,s)=>{s.d(a,{A:()=>i});var n=s(53397),t=s(97817),c=(s(9950),s(93047)),o=s(56213),r=s(44414);const i=e=>{const a=()=>(0,r.jsx)("div",{className:"navbar",children:(0,r.jsx)(c.N_,{to:"/",children:(0,r.jsx)("img",{src:o,alt:"jsjobbs logo",className:"logo"})})}),s=()=>(0,r.jsxs)("div",{className:"footer",children:[(0,r.jsx)("div",{children:"JsJobbs logo"}),(0,r.jsx)("div",{children:"#nodejs #reactjs #angularjs #vuejs javascript jobs"}),(0,r.jsx)("div",{children:(0,r.jsx)(c.N_,{to:"/",className:"",children:"Blog"})}),(0,r.jsxs)("div",{className:"social-icons",children:[(0,r.jsx)("span",{children:(0,r.jsx)("a",{href:"https://twitter.com/Javascriptjobbs",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)(t.g,{icon:n.eMj,className:"icon twitter"})})}),(0,r.jsx)("span",{children:(0,r.jsx)("a",{href:"https://www.facebook.com/javascriptjobbs/",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)(t.g,{icon:n.Dg6,className:"icon facebook"})})})]}),(0,r.jsxs)("div",{children:["Email:"," ",(0,r.jsx)("a",{href:"mailto:[email protected]",target:"_blank",rel:"noopener noreferrer",className:"email",children:"[email protected]"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{children:["Copyright \xa9 ",(new Date).getFullYear()]}),(0,r.jsx)(c.N_,{to:"/",className:"privacy",children:"Privacy"}),(0,r.jsx)(c.N_,{to:"/",className:"terms",children:"Terms"})]})]});return(0,r.jsxs)("div",{className:"admin-page",children:[!e.hideNavbar&&(0,r.jsx)(a,{}),(0,r.jsx)("div",{className:"page-body",children:e.children}),(0,r.jsx)(s,{})]})}},50760:(e,a,s)=>{s.d(a,{A:()=>r});var n=s(89196),t=s(9950),c=s(47265),o=s(44414);const r=e=>{let{current:a,pageSize:s,total:r,onChange:i,disabled:l,isDisabledClickAction:d}=e;(0,t.useEffect)((()=>
1{if(!l||!d)return;const e=document.getElementsByClassName("ant-pagination").length;for(let a=0;a<e;a++){const e=document.getElementsByClassName("ant-pagination").item(a);null===e||void 0===e||e.addEventListener("click",d,!1)}}),[]);return(0,o.jsx)(n.A,{current:a,pageSize:s,total:r,onChange:(e,a)=>{i(e,a)},size:c.xl?"default":"small",showSizeChanger:!1,className:"page-control",disabled:l})}},75783:(e,a,s)=>{s.d(a,{C1:()=>d,Ct:()=>h,DU:()=>m,JT:()=>u,RC:()=>l,c:()=>N,cz:()=>v,eK:()=>E,f$:()=>i,iC:()=>p,lD:()=>r});var n=s(47265),t=s(70181);const c="companies/",o="users/companies/",r=async()=>new Promise((e=>{(0,t.Jt)(`${n.hg}${o}`).then((a=>{e(a.data)}))})),i=async e=>new Promise((a=>{(0,t.Jt)(`${n.hg}${c}`,e).then((e=>{a(e.data)}))})),l=async e=>new Promise((a=>{(0,t.yH)(`${n.hg}${c}delete/${e}`).then((()=>{a()}))})),d=async e=>new Promise(((a,s)=>{(0,t.Jt)(`${n.hg}${c}${e}`).then((e=>{a(e.data)})).catch((e=>s(e)))})),h=async e=>new Promise(((a,s)=>{(0,t.Jt)(`${n.hg}${c}public/${e}`).then((e=>{a(e.data)})).catch((e=>s(e)))})),m=async e=>new Promise(((a,s)=>{(0,t.Jt)(`${n.hg}${o}${e}`).then((e=>{a(e.data)})).catch((e=>s(e)))})),N=async e=>new Promise(((a,s)=>{(0,t.Jt)(`${n.hg}${c}admin/${e}`).then((e=>{a(e.data)})).catch((e=>s(e)))})),E=async e=>new Promise((a=>{(0,t.bE)(`${n.hg}${c}`,e).then((e=>{a(e.data)}))})),u=async e=>new Promise(((a,s)=>{(0,t.yJ)(`${n.hg}${c}update`,e).then((e=>{a(e.data)})).catch((e=>s(e)))})),p=async e=>new Promise(((a,s)=>{(0,t.yJ)(`${n.hg}${c}referrer`,e).then((e=>{a(e.data)})).catch((e=>s(e)))})),v=async e=>new Promise((a=>{(0,t.yJ)(`${n.hg}${c}recruit-pro-subscribe`,e).then((e=>{a(e.data)}))}))},49437:(e,a,s)=>{s.d(a,{TL:()=>n,by:()=>t});(0,s(27895).P)("bottomLeft","bottomRight","topLeft","topRight");var n=function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"},t=function(e,a,s){return void 0!==s?s:"".concat(e,"-").concat(a)}},91478:(e,a,s)=>{s.d(a,{A:()=>t});var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var a=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||a>=n.F1&&a<=n.F12)return!1;switch(a){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const t=n}}]);
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.