1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="753a9343-3f6e-4d7a-92ba-3558db4be34f",e._sentryDebugIdIdentifier="sentry-dbid-753a9343-3f6e-4d7a-92ba-3558db4be34f")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6533],{72781:function(e,l,a){var s=a(57437),n=a(2265);l.Z=e=>{let{values:l=[],onChange:a,disabled:r=!1,placeholder:i}=e,[t,o]=(0,n.useState)(""),d=(0,n.useRef)(null),m=e=>{let s=e.split(",").map(e=>e.trim()).filter(Boolean).filter(e=>!l.includes(e));s.length&&a([...l,...s])},c=()=>{let e=t.trim();e&&!l.includes(e)&&a([...l,e]),o("")},b=e=>a(l.filter((l,a)=>a!==e));return(0,s.jsxs)("div",{className:"form-control d-flex flex-wrap align-items-center gap-1",style:{height:"auto",minHeight:46,cursor:r?"default":"text"},onClick:()=>{var e;return!r&&(null===(e=d.current)||void 0===e?void 0:e.focus())},children:[l.map((e,l)=>(0,s.jsxs)("span",{className:"d-inline-flex align-items-center rounded-pill",style:{backgroundColor:"#eef1f4",color:"#3f4652",fontSize:13,fontWeight:500,padding:"3px 4px 3px 12px"},children:[e,!r&&(0,s.jsx)("button",{type:"button",className:"btn-close ms-2",style:{fontSize:9,padding:4},"aria-label":"remove",onClick:e=>{e.stopPropagation(),b(l)}})]},l)),(0,s.jsx)("input",{ref:d,type:"text",className:"border-0 flex-grow-1 p-0",style:{outline:"none",minWidth:90,background:"transparent",fontSize:14,color:"var(--bs-body-color, #1b2a4e)",caretColor:"var(--bs-body-color, #1b2a4e)"},value:t,disabled:r,placeholder:0===l.length?i:"",onChange:e=>o(e.target.value),onKeyDown:e=>{"Enter"===e.key||","===e.key?(e.preventDefault(),c()):"Backspace"===e.key&&!t&&l.length>0&&b(l.length-1)},onPaste:e=>{let l=e.clipboardData.getData("text");l.includes(",")&&(e.preventDefault(),m(l),o(""))},onBlur:c})]})}},86533:function(e,l,a){a.r(l);var s=a(57437);a(2265);var n=a(42586),r=a(72781);let i=["full-time","part-time","contract","temporary","internship"],t=["onsite","remote","hybrid"],o=["entry","mid","senior","lead"],d=["hour","day","week","month","year"];l.default=e=>{var l,a;let m,c;let{formData:b={},onUpdate:u=()=>{},isDisabled:p=!1}=e,f=(0,n.useTranslations)("PostForm"),h=(null==b?void 0:b.jobData)||{},x=(e,l)=>{u({...b,jobData:{...null==b?void 0:b.jobData,[e]:l}})},j=Array.isArray(h.employmentType)?h.employmentType:h.employmentType?[h.employmentType]:[],y=e=>{x("employmentType",j.includes(e)?j.filter(l=>l!==e):[...j,e])},v=(e,l,a)=>{let s=Array.isArray(h[e])?[...h[e]]:[];s[l]=a,x(e,s)},g=e=>x(e,[...Array.isArray(h[e])?h[e]:[],""]),N=(e,l)=>x(e,(Array.isArray(h[e])?h[e]:[]).filter((e,a)=>a!==l)),w=(e,l)=>(0,s.jsxs)("div",{className:"d-flex justify-content-between align-items-center mt-4 mb-2 pb-1 border-bottom",children:[(0,s.jsx)("span",{className:"fw-medium",children:e}),(0,s.jsx)("button",{type:"button",className:"btn btn-primary d-inline-flex align-items-center justify-content-center p-0",style:{width:22,height:22,borderRadius:"50%",lineHeight:1,fontSize:17,fontWeight:700},disabled:p,"aria-label":f("job.addItem"),onClick:()=>g(l),children:(0,s.jsx)("span",{style:{marginTop:-2},children:"+"})})]}),k=(e,l)=>{let a=Array.isArray(h[e])?h[e]:[];return(0,s.jsxs)("div",{className:"mb-2",children:[w(f(l),e),a.map((l,a)=>(0,s.jsxs)("div",{className:"d-flex align-items-center gap-2 mb-2",children:[(0,s.jsx)("input",{type:"text",className:"form-control form-control-sm",value:l||"",disabled:p,onChange:l=>v(e,a,l.target.value)}),(0,s.jsx)("button",{type:"button",className:"btn-close flex-shrink-0",style:{fontSize:11},"aria-label":"remove",disabled:p,onClick:()=>N(e,a)})]},a))]})};return(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsx)("div",{className:"fs-5 mb-3 fw-medium",children:f("job.title")}),(0,s.jsx)("div",{className:"row g-3 mb-3",children:(0,s.jsxs)("div",{className:"col-12",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.company")}),(0,s.jsx)("input",{type:"text",className:"form-control",value:h.companyName||"",disabled:p,onChange:e=>x("companyName",e.target.value)})]})}),(0,s.jsxs)("div",{className:"row g-3 mb-3",children:[(0,s.jsxs)("div",{className:"col-12 col-md-6",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.experienceLevel")}),(0,s.jsxs)("select",{className:"form-select",value:h.experienceLevel||"",disabled:p,onChange:e=>x("experienceLevel",e.target.value),children:[(0,s.jsx)("option",{value:"",children:"â"}),o.map(e=>(0,s.jsx)("option",{value:e,children:f("job.level.".concat(e))},e))]})]}),(0,s.jsxs)("div",{className:"col-12 col-md-6",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.workArrangement")}),(0,s.jsxs)("select",{className:"form-select",value:h.workArrangement||"",disabled:p,onChange:e=>x("workArrangement",e.target.value),children:[(0,s.jsx)("option",{value:"",children:"â"}),t.map(e=>(0,s.jsx)("option",{value:e,children:f("job.arrangement.".concat(e))},e))]})]})]}),(0,s.jsx)("div",{className:"row g-3 mb-3",children:(0,s.jsxs)("div",{className:"col-12",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.education")}),(0,s.jsx)("input",{type:"text",className:"form-control",value:h.educationRequired||"",disabled:p,placeholder:f("job.educationPlaceholder"),onChange:e=>x("educationRequired",e.target.value)})]})}),(0,s.jsxs)("div",{className:"mb-3",children:[(0,s.jsx)("label",{className:"form-label small fw-medium d-block mb-1",children:f("job.employmentType")}),(0,s.jsx)("div",{className:"d-flex flex-wrap gap-2",children:i.map(e=>{let l=j.includes(e);return(0,s.jsx)("button",{type:"button",className:"btn rounded-pill ".concat(l?"btn-primary":""),style:{fontSize:13,lineHeight:1.3,padding:"4px 14px",border:"1px solid transparent",boxShadow:"none",...l?{}:{backgroundColor:"#eef1f4",color:"#3f4652"}},disabled:p,"aria-pressed":l,onClick:()=>y(e),children:f("job.employment.".concat(e))},e)})})]}),(0,s.jsxs)("div",{className:"row g-3 mb-3 align-items-end",children:[(0,s.jsxs)("div",{className:"col-6 col-md-3",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.salaryMin")}),(0,s.jsx)("input",{type:"number",className:"form-control",value:null!==(l=h.salary
1Min)&&void 0!==l?l:"",disabled:p,onChange:e=>x("salaryMin",""===e.target.value?null:Number(e.target.value))})]}),(0,s.jsxs)("div",{className:"col-6 col-md-3",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.salaryMax")}),(0,s.jsx)("input",{type:"number",className:"form-control",value:null!==(a=h.salaryMax)&&void 0!==a?a:"",disabled:p,onChange:e=>x("salaryMax",""===e.target.value?null:Number(e.target.value))})]}),(0,s.jsxs)("div",{className:"col-6 col-md-3",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.salaryPeriod")}),(0,s.jsx)("select",{className:"form-select",value:h.salaryPeriod||"year",disabled:p,onChange:e=>x("salaryPeriod",e.target.value),children:d.map(e=>(0,s.jsx)("option",{value:e,children:f("job.period.".concat(e))},e))})]}),(0,s.jsxs)("div",{className:"col-6 col-md-3",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.deadline")}),(0,s.jsx)("input",{type:"date",className:"form-control",value:h.applicationDeadline?String(h.applicationDeadline).slice(0,10):"",disabled:p,onChange:e=>x("applicationDeadline",e.target.value?new Date(e.target.value).toISOString():null)})]})]}),(0,s.jsxs)("div",{className:"row g-3 mb-3",children:[(0,s.jsxs)("div",{className:"col-12 col-md-6",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.applyUrl")}),(0,s.jsx)("input",{type:"url",className:"form-control",value:h.applicationUrl||"",disabled:p,onChange:e=>x("applicationUrl",e.target.value)})]}),(0,s.jsxs)("div",{className:"col-12 col-md-6",children:[(0,s.jsx)("label",{className:"form-label small fw-medium mb-1",children:f("job.applyEmail")}),(0,s.jsx)("input",{type:"email",className:"form-control",value:h.applicationEmail||"",disabled:p,onChange:e=>x("applicationEmail",e.target.value)})]})]}),k("responsibilities","job.responsibilities"),k("requirements","job.requirements"),k("benefits","job.benefits"),(m="skills",c="job.skills",(0,s.jsxs)("div",{className:"mb-2",children:[(0,s.jsx)("div",{className:"fw-medium mb-2 mt-4 pb-1 border-bottom",children:f(c)}),(0,s.jsx)(r.Z,{values:Array.isArray(h[m])?h[m]:[],onChange:e=>x(m,e),disabled:p,placeholder:f("job.chipPlaceholder")})]}))]})}}}]);
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.