PageSourceSearch

https://www.admin.academicjobs.com/static/js/8179.af51f6f3.chunk.js

js academicjobs.com collected 2026-09-24 21:51:09 UTC 23,608 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkacademicJobs=globalThis.webpackChunkacademicJobs||[]).push([[8179],{4080(e,r,t){t.d(r,{Wm:()=>s,hj:()=>n,uc:()=>o});const a=t(410).l.injectEndpoints({endpoints:e=>({getCategories:e.query({query:()=>({url:"/categories",method:"GET"}),transformResponse:e=>e}),editCategory:e.mutation({query:e=>{let{id:r,name:t,metaTitle:a,pageSlug:s,featured:n,type:o,pageH1:l,pageContent:i,metaDescription:c,banner:d,bannerTitle:u,bannerUrl:m}=e;return{url:`/categories/${r}`,method:"PUT",body:{name:t,metaTitle:a,pageSlug:s,featured:n,type:o,pageH1:l,pageContent:i,metaDescription:c,banner:d,bannerTitle:u,bannerUrl:m}}}}),addCategory:e.mutation({query:e=>{let{masterCategoryId:r,subCategoryId:t,name:a,type:s,pageSlug:n}=e;return{url:"/categories/add",method:"POST",body:{masterCategoryId:r,subCategoryId:t,name:a,type:s,pageSlug:n}}}})})}),{useGetCategoriesQuery:s,useEditCategoryMutation:n,useAddCategoryMutation:o}=a},8620(e,r,t){t.d(r,{Hf:()=>l,LC:()=>s,OJ:()=>o,Uy:()=>i,q1:()=>n});const a=t(410).l.injectEndpoints({endpoints:e=>({addUrl:e.mutation({query:e=>({url:"/backlinks",method:"POST",body:e,mode:"cors"}),invalidatesTags:["backlinks"]}),getUrls:e.query({query:()=>({url:"/backlinks",method:"GET",mode:"cors"}),transformResponse:e=>e.data,providesTags:["backlinks"]}),getSources:e.query({query:()=>"/getSourceIDs"}),getWorldRankings:e.query({query:()=>"/worldRankings"}),getCountriesList:e.query({query:()=>"/getCountriesList"})})}),{useAddUrlMutation:s,useGetUrlsQuery:n,useGetSourcesQuery:o,useGetWorldRankingsQuery:l,useGetCountriesListQuery:i}=a},6494(e,r,t){t.r(r),t.d(r,{default:()=>g});var a=t(9950);const s=t(410).l.injectEndpoints({endpoints:e=>({getJobBoards:e.query({query:()=>"/jobBoards",transformResponse:e=>e,providesTags:e=>e?[...e.map(e=>{let{id:r}=e;return{type:"JobBoard",id:r}}),{type:"JobBoard",id:"LIST"}]:[{type:"JobBoard",id:"LIST"}]}),createJobBoard:e.mutation({query:e=>({url:"/jobBoards",method:"POST",body:e,headers:{"Content-Type":"application/json"}}),transformResponse:e=>e,invalidatesTags:[{type:"JobBoard",id:"LIST"}]}),updateJobBoard:e.mutation({query:e=>{let{id:r,...t}=e;return{url:`/jobBoards/${r}`,method:"PUT",body:t,headers:{"Content-Type":"application/json"}}},transformResponse:e=>e,invalidatesTags:(e,r,t)=>{let{id:a}=t;return[{type:"JobBoard",id:a}]}}),deleteJobBoard:e.mutation({query:e=>({url:`/jobBoards/${e}`,method:"DELETE"}),transformResponse:e=>e,invalidatesTags:(e,r,t)=>{let{id:a}=t;return[{type:"JobBoard",id:a}]}})})}),{useGetJobBoardsQuery:n,useCreateJobBoardMutation:o,useUpdateJobBoardMutation:l,useDeleteJobBoardMutation:i}=s;var c=t(8620),d=t(4080),u=t(5650);const m=JSON.parse('[{"name":"US Dollar","code":"USD"},{"name":"Euro","code":"EUR"},{"name":"Japanese Yen","code":"JPY"},{"name":"British Pound Sterling","code":"GBP"},{"name":"Australian Dollar","code":"AUD"},{"name":"Canadian Dollar","code":"CAD"},{"name":"Swiss Franc","code":"CHF"},{"name":"Chinese Yuan","code":"CNY"},{"name":"Swedish Krona","code":"SEK"},{"name":"New Zealand Dollar","code":"NZD"},{"name":"Mexican Peso","code":"MXN"},{"name":"Singapore Dollar","code":"SGD"},{"name":"Hong Kong Dollar","code":"HKD"},{"name":"Norwegian Krone","code":"NOK"},{"name":"South Korean Won","code":"KRW"},{"name":"Turkish Lira","code":"TRY"},{"name":"Russian Ruble","code":"RUB"},{"name":"Indian Rupee","code":"INR"},{"name":"Brazilian Real","code":"BRL"},{"name":"South African Rand","code":"ZAR"}]');var b=t(4414);const x=["Association / Niche","Higher Ed Job Board"],p=["30","60","90","120"],y={id:null,name:"",url:"",type:"",parentUrl:"",jobDuration:"",briefDescription:"",costPerJob:"",monthlyTraffic:"",keywords:"",noOfJobs:"",scrapedByAJ:!1,aiRecruitment:!1,authorityScore:"",currency:"",countries:[],subCategories:[],specialties:[],display:!1,updatedAt:(new Date).toISOString()},g=()=>{const{data:e,error:r,isLoading:t}=n(),[s]=o(),[g]=i(),[h]=l(),{data:f}=(0,c.Uy)(),{data:j}=(0,d.Wm)(),[N,v]=(0,a.useState)(y),[w,C]=(0,a.useState)(""),[k,S]=(0,a.useState)({key:"monthlyTraffic",dir:"desc"}),[J,A]=(0,a.useState)(""),[D,T]=(0,a.useState)(!1),B={"Monthly Traffic":"monthlyTraffic",Keywords:"keywords","No. of Jobs":"noOfJobs"},R=m.map(e=>({label:`${e.name} (${e.code})`,value:e.code})),U=[{label:"Global",value:"Global"},...(f||[]).map(e=>({label:e.country_name,value:e.country_name}))],P=null===j||void 0===j?void 0:j["Academic / Faculty"],O=P?Object.keys(P.subCategories||{}).map(e=>({label:e,value:e})):[],q=N.subCategories||[],E=P?Object.entries(P.subCategories||{}).filter(e=>{let[r]=e;return q.includes(r)}).flatMap(e=>{let[,r]=e;return(r.specialties||[]).map(e=>({label:e.name,value:e.name}))}):[],L=e=>{const{name:r,type:t,value:a,checked:s}=e.target;v({...N,[r]:"checkbox"===t?s:a})},M=(e,r)=>{if(Array.isArray(e)){const t=e.map(e=>e.value);if("subCategories"===r.name){const e=null===j||void 0===j?void 0:j["Academic / Faculty"],r=e?new Set(Object.entries(e.subCategories||{}).filter(e=>{let[r]=e;return t.includes(r)}).flatMap(e=>{let[,r]=e;return(r.specialties||[]).map(e=>e.name)}
1)):new Set;v({...N,subCategories:t,specialties:(N.specialties||[]).filter(e=>r.has(e))})}else v({...N,[r.name]:t})}else v({...N,[r.name]:e?e.value:""})},I=(e,r,t)=>{const a=r.map(e=>e.value);if("subCategories"===e){const e=null===j||void 0===j?void 0:j["Academic / Faculty"],r=e?new Set(Object.entries(e.subCategories||{}).filter(e=>{let[r]=e;return(t?a:[]).includes(r)}).flatMap(e=>{let[,r]=e;return(r.specialties||[]).map(e=>e.name)})):new Set;v({...N,subCategories:t?a:[],specialties:(N.specialties||[]).filter(e=>r.has(e))})}else v({...N,[e]:t?a:[]})},G=(e,r)=>r.length>0&&e.length===r.length,K=e=>{if(!e)return!1;const r=new Date(e);if(Number.isNaN(r.getTime()))return!1;const t=new Date;return t.setMonth(t.getMonth()-1),r<t},$=e=>{var r,t,a,s,n,o;v({id:e.id,name:e.name,url:e.url,type:null!==(r=e.type)&&void 0!==r?r:"",parentUrl:null!==(t=e.parentUrl)&&void 0!==t?t:"",jobDuration:null!==(a=e.jobDuration)&&void 0!==a?a:"",briefDescription:null!==(s=e.briefDescription)&&void 0!==s?s:"",costPerJob:e.costPerJob,monthlyTraffic:e.monthlyTraffic,keywords:e.keywords,noOfJobs:e.noOfJobs,scrapedByAJ:null!==(n=e.scrapedByAJ)&&void 0!==n&&n,aiRecruitment:null!==(o=e.aiRecruitment)&&void 0!==o&&o,authorityScore:e.authorityScore,currency:e.currency,countries:e.countries||[],subCategories:e.subCategories||[],specialties:e.specialties||[],display:!!e.display,updatedAt:(new Date).toISOString()}),document.getElementById("job-board-form").scrollIntoView({behavior:"smooth"})};if(t)return(0,b.jsx)("div",{className:"flex justify-center items-center h-screen",children:(0,b.jsx)("p",{className:"text-xl text-gray-600",children:"Loading..."})});if(r)return(0,b.jsx)("div",{className:"flex justify-center items-center h-screen",children:(0,b.jsxs)("p",{className:"text-xl text-red-600",children:["Error: ",r.message]})});if(!e||!Array.isArray(e))return(0,b.jsx)("div",{className:"flex justify-center items-center h-screen",children:(0,b.jsx)("p",{className:"text-xl text-gray-600",children:"No job boards data available"})});const _=e.filter(e=>K(e.updatedAt)),H=_.length>0;return(0,b.jsxs)("div",{className:"container mx-auto p-6 pb-20 bg-gray-50 min-h-screen",children:[(0,b.jsx)("h1",{className:"text-3xl font-bold text-gray-800 mb-8",children:"Job Board Rankings"}),(0,b.jsxs)("div",{className:"mb-6",children:[(0,b.jsxs)("button",{type:"button",onClick:()=>T(e=>!e),className:"flex items-center justify-between gap-3 w-full md:w-96 px-4 py-3 rounded-md border font-medium transition-colors "+(H?"bg-red-100 border-red-400 text-red-700 hover:bg-red-200":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"),children:[(0,b.jsx)("span",{children:H?`${_.length} job board${1===_.length?"":"s"} not updated in over a month`:"All job boards updated within the last month"}),(0,b.jsx)("span",{className:"text-xs",children:D?"\u25b2":"\u25bc"})]}),D&&H&&(0,b.jsx)("ul",{className:"mt-2 w-full md:w-96 bg-white border border-gray-200 rounded-md shadow-sm divide-y divide-gray-100 max-h-72 overflow-y-auto",children:_.map(e=>(0,b.jsxs)("li",{className:"px-4 py-2 flex items-center justify-between gap-3 hover:bg-gray-50",children:[(0,b.jsx)("span",{className:"text-sm text-gray-700 truncate",children:e.name}),(0,b.jsx)("button",{type:"button",onClick:()=>$(e),className:"text-xs text-blue-600 hover:text-blue-800 underline shrink-0",children:"Update"})]},e.id))})]}),w&&(0,b.jsx)("div",{className:"mb-6 px-4 py-3 bg-green-100 border border-green-400 text-green-700 rounded-md",children:w}),(0,b.jsx)("div",{className:"mb-4",children:(0,b.jsx)("input",{type:"text",value:J,onChange:e=>A(e.target.value),placeholder:"Search job boards by name...",className:"w-full md:w-96 px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})}),(0,b.jsx)("div",{className:"bg-white rounded-lg shadow-md mb-8",children:(0,b.jsx)("div",{className:"overflow-x-auto overflow-y-auto max-h-[90vh]",children:(0,b.jsxs)("table",{className:"w-full",children:[(0,b.jsx)("thead",{className:"bg-gray-100 sticky top-0 z-10",children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{className:"px-3 py-3 text-left text-sm font-semibold text-gray-700 uppercase sticky left-0 bg-gray-100 z-20",children:"Actions"}
1),["Name","Type","URL","Parent URL","Brief Description","Cost per Job","Monthly Traffic","Keywords","No. of Jobs","Job Duration","Scraped by AJ","AI Recruitment","Authority Score","Countries","Sub Categories","Specialties","Display","Date Updated"].map(e=>{const r=B[e];return(0,b.jsx)("th",{className:"px-3 py-3 text-left text-sm font-semibold text-gray-700 uppercase ",children:r?(0,b.jsxs)("button",{type:"button",onClick:()=>{return e=r,void S(r=>r&&r.key===e?"desc"===r.dir?{key:e,dir:"asc"}:null:{key:e,dir:"desc"});var e},className:"flex items-center gap-1 uppercase font-semibold text-gray-700 hover:text-blue-600",children:[e,(0,b.jsx)("span",{className:"text-xs",children:(t=r,k&&k.key===t?"asc"===k.dir?"\u25b2":"\u25bc":"\u21c5")})]}):e},e);var t})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-gray-200",children:[...e].filter(e=>(e.name||"").toLowerCase().includes(J.trim().toLowerCase())).sort((e,r)=>{if(!k)return 0;const t=Number(e[k.key])||0,a=Number(r[k.key])||0;return"asc"===k.dir?t-a:a-t}).map(e=>{var t;return(0,b.jsxs)("tr",{className:"transition-colors "+(K(e.updatedAt)?"bg-red-100 hover:bg-red-200":"hover:bg-gray-50"),children:[(0,b.jsx)("td",{className:"px-3 py-4 text-sm sticky left-0 z-10 "+(K(e.updatedAt)?"bg-red-100 hover:bg-red-200":"bg-white hover:bg-gray-50"),children:(0,b.jsxs)("div",{className:"flex space-x-2",children:[(0,b.jsx)("button",{onClick:()=>$(e),className:"px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors",children:"Update"}),(0,b.jsx)("button",{onClick:()=>(async e=>{if(window.confirm("Are you sure you want to delete this job board?"))try{await g(e).unwrap()}catch(r){console.error("Error deleting job board:",r),alert("Error deleting job board. Please try again.")}})(e.id),className:"px-4 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors",children:"Delete"})]})}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.name}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:null!==(t=e.type)&&void 0!==t?t:"\u2014"}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm",children:(0,b.jsx)("a",{href:e.url,className:"text-blue-600 hover:text-blue-800 underline",target:"_blank",rel:"noopener noreferrer",children:e.url})}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm",children:e.parentUrl?(0,b.jsx)("a",{href:e.parentUrl,className:"text-blue-600 hover:text-blue-800 underline",target:"_blank",rel:"noopener noreferrer",children:e.parentUrl}):"\u2014"}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:(0,b.jsx)("div",{className:"max-h-20 overflow-y-auto min-w-[200px] max-w-[300px] scrollbar-thin",children:e.briefDescription||"\u2014"})}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.costPerJob+" "+e.currency}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.monthlyTraffic.toLocaleString()}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm",children:(0,b.jsx)("ul",{className:"list-disc pl-5",children:e.keywords})}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.noOfJobs}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.jobDuration||"\u2014"}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.scrapedByAJ?"\u2713":"\u2014"}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.aiRecruitment?"\u2713":"\u2014"}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.authorityScore}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:(0,b.jsx)("div",{className:"max-h-20 overflow-y-auto min-w-[150px] scrollbar-thin",children:Array.isArray(e.countries)?e.countries.join(", "):""})}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:(0,b.jsx)("div",{className:"max-h-20 overflow-y-auto min-w-[150px] max-w-[250px] scrollbar-thin",children:Array.isArray(e.subCategories)?e.subCategories.join(", "):""})}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:(0,b.jsx)("div",{className:"max-h-20 overflow-y-auto min-w-[150px] max-w-[250px] scrollbar-thin",children:Array.isArray(e.specialties)?e.specialties.join(", "):""})}),(0,b.jsx)("td",{className:"px-3 py-4 text-sm text-gray-600",children:e.display?"Yes":"No"}),(0,b.jsxs)("td",{className:"px-3 py-4 text-sm",children:[" ",new Date(e.updatedAt).toLocaleDateString("en-AU",{year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit"})]})]},e.id)})})]})})}),(0,b.jsxs)("div",{className:"bg-white rounded-lg shadow-md p-6",children:[(0,b.jsx)("h2",{className:"text-2xl font-semibold text-gray-800 mb
1-6",children:N.id?`Update Job Board: ${N.url}`:"Create New Job Board"}),(0,b.jsxs)("form",{id:"job-board-form",onSubmit:async e=>{e.preventDefault();try{const e=!!N.id;e?await h({id:N.id,...N}).unwrap():await s({...N,keywords:N.keywords}).unwrap(),v(y),C(e?"Job board updated successfully.":"Job board created successfully."),window.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>C(""),4e3)}catch(r){console.error("Error creating or updating job board:",r),alert("Error creating or updating job board. Please try again.")}},className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Name"}),(0,b.jsx)("input",{type:"text",name:"name",value:N.name,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500",required:!0})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"URL"}),(0,b.jsx)("input",{type:"text",name:"url",value:N.url,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500",required:!0})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Parent URL"}),(0,b.jsx)("input",{type:"text",name:"parentUrl",value:N.parentUrl,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Type"}),(0,b.jsxs)("select",{name:"type",value:N.type,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500",children:[(0,b.jsx)("option",{value:"",children:"\u2014 Select type \u2014"}),x.map(e=>(0,b.jsx)("option",{value:e,children:e},e))]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"No. of Jobs"}),(0,b.jsx)("input",{type:"number",name:"noOfJobs",value:N.noOfJobs,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})]}),(0,b.jsxs)("div",{className:"space-y-2 md:col-span-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Brief Description"}),(0,b.jsx)("textarea",{name:"briefDescription",value:N.briefDescription,onChange:L,rows:3,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})]}),(0,b.jsx)("div",{className:"md:col-span-2 border-b border-gray-200 pb-2 mt-4",children:(0,b.jsx)("h3",{className:"text-lg font-semibold text-gray-800",children:"Cost & Integration"})}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Cost Per Job"}),(0,b.jsx)("input",{type:"number",name:"costPerJob",value:N.costPerJob,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500",required:!0})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Job Duration"}),(0,b.jsxs)("select",{name:"jobDuration",value:N.jobDuration,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500",children:[(0,b.jsx)("option",{value:"",children:"\u2014 Select duration \u2014"}),p.map(e=>(0,b.jsx)("option",{value:e,children:e},e))]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Currency"}),(0,b.jsx)(u.Ay,{name:"currency",options:R,className:"basic-single-select",classNamePrefix:"select",onChange:M,value:R.find(e=>e.value===N.currency)})]}),(0,b.jsxs)("div",{className:"flex items-center space-x-6 h-full pt-6",children:[(0,b.jsxs)("label",{className:"flex items-center gap-2 text-sm font-medium text-gray-700 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",name:"scrapedByAJ",checked:!!N.scrapedByAJ,onChange:L,className:"h-5 w-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"}
1),"Scraped by AJ"]}),(0,b.jsxs)("label",{className:"flex items-center gap-2 text-sm font-medium text-gray-700 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",name:"aiRecruitment",checked:!!N.aiRecruitment,onChange:e=>v({...N,aiRecruitment:e.target.checked}),className:"h-5 w-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500"}),"AI Recruitment"]})]}),(0,b.jsx)("div",{className:"md:col-span-2 border-b border-gray-200 pb-2 mt-4",children:(0,b.jsx)("h3",{className:"text-lg font-semibold text-gray-800",children:"Semrush Stats"})}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Monthly Traffic"}),(0,b.jsx)("input",{type:"number",name:"monthlyTraffic",value:N.monthlyTraffic,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Authority Score"}),(0,b.jsx)("input",{type:"text",name:"authorityScore",value:N.authorityScore,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Keywords"}),(0,b.jsx)("input",{type:"number",name:"keywords",value:N.keywords,onChange:L,className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"})]}),(0,b.jsxs)("div",{className:"space-y-2 md:col-span-2",children:[(0,b.jsxs)("div",{className:"flex items-center space-x-5",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Countries"}),(0,b.jsxs)("label",{className:"flex items-center gap-2 text-sm text-gray-600 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",checked:G(N.countries||[],U),onChange:e=>I("countries",U,e.target.checked),className:"h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"}),"Select all"]})]}),(0,b.jsx)(u.Ay,{isMulti:!0,name:"countries",options:U,className:"basic-multi-select",classNamePrefix:"select",onChange:M,value:U.filter(e=>(N.countries||[]).includes(e.value))})]}),(0,b.jsxs)("div",{className:"space-y-2 md:col-span-2",children:[(0,b.jsxs)("div",{className:"flex items-center space-x-5",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Sub Categories"}),(0,b.jsxs)("label",{className:"flex items-center gap-2 text-sm text-gray-600 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",checked:G(N.subCategories||[],O),onChange:e=>I("subCategories",O,e.target.checked),className:"h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"}),"Select all"]})]}),(0,b.jsx)(u.Ay,{isMulti:!0,name:"subCategories",options:O,className:"basic-multi-select",classNamePrefix:"select",onChange:M,value:O.filter(e=>(N.subCategories||[]).includes(e.value))})]}),(0,b.jsxs)("div",{className:"space-y-2 md:col-span-2",children:[(0,b.jsxs)("div",{className:"flex items-center space-x-5",children:[(0,b.jsx)("label",{className:"block text-sm font-medium text-gray-700",children:"Specialties"}),(0,b.jsxs)("label",{className:"flex items-center gap-2 text-sm text-gray-600 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",checked:G(N.specialties||[],E),onChange:e=>I("specialties",E,e.target.checked),className:"h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"}),"Select all"]})]}),(0,b.jsx)(u.Ay,{isMulti:!0,name:"specialties",options:E,className:"basic-multi-select",classNamePrefix:"select",onChange:M,value:E.filter(e=>(N.specialties||[]).includes(e.value))})]}),(0,b.jsxs)("div",{className:"md:col-span-2 flex items-center space-x-10 mt-4 p-4 bg-gray-50 rounded-lg",children:[(0,b.jsxs)("label",{className:"flex items-center gap-2 text-sm font-bold text-gray-700 cursor-pointer",children:[(0,b.jsx)("input",{type:"checkbox",name:"display",checked:!!N.display,onChange:L,className:"h-5 w-5 text-blue-600 border-gray-300 rounded focus:ring-blue-500"}),"Display on Public Rankings"]}),(0,b.jsxs)("div",{className:"flex space-x-4",children:[N.id&&(0,b.jsx)("button",{type:"button",onClick:()=>{v(y)},className:"px-6 py-2 bg-gray-600 text-white rounded-md hover:bg-gray-700 transition-colors",children:"Cancel"}),(0,b.jsx)("button",{type:"submit",className:"px-8 py-2 bg-blue-600 text-white font-semibold rounded-md hover:bg-blue-700 transition-colors shadow-sm",children:N.id?"Update Board":"Create Board"})]})]})]})]})]})}},9417(e,r,t){function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(r,{A:()=>a})},8168(e,r,t){function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},a.apply(null,arguments)}t.d(r,{A:()=>a})}
1,3662(e,r,t){function a(e,r){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},a(e,r)}t.d(r,{A:()=>a})}}]);

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.