PageSourceSearch

https://www.nurses.co.uk/_next/static/chunks/pages/job/edit/[id]-3d8dfb05e0ca2d46.js

js nurses.co.uk collected 2026-10-01 12:36:25 UTC 154,465 bytes, 299 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="5be453f6-ab86-46db-b0b0-1e149e8253e4",e._sentryDebugIdIdentifier="sentry-dbid-5be453f6-ab86-46db-b0b0-1e149e8253e4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1556,1735,1762,2055,2422,3110,3462,4459,4834,5763,7471,7829],{2876:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"searchRoute"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"route"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RedirectResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SearchResponse"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"facets"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"facetId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"facetKey"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"geoLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"administrativeArea"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locationType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"radius"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"termId"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:469}};i.loc.source={body:"query searchRoute($path: String!, $language: String) {\n  route(path: $path, language: $language) {\n    ... on RedirectResponse {\n      code\n      target\n    }\n    errors\n    ... on SearchResponse {\n      statusCode\n      facets {\n        facetId\n        path\n        facetKey\n      }\n      geoLocation {\n        label\n        administrativeArea\n        country\n        locationType\n        lat\n        lon\n        radius\n        path\n        termId\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.searchRoute=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;
1d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"searchRoute")},3106:(e,i,n)=>{"use strict";n.d(i,{A:()=>u,v:()=>o});var a=n(37876),t=n(17175);n(14232);var l=n(70185),r=n.n(l);let d=(0,t.F)([r().chip],{variants:{chipStyle:{primary:r().chipPrimary,secondary:r().chipSecondary,default:r().chipDefault}},defaultVariants:{chipStyle:"default"}}),s=(0,t.F)([r().icon],{variants:{iconStyle:{primary:r().iconPrimary,secondary:r().iconSecondary,default:r().iconDefault}},defaultVariants:{iconStyle:"default"}});function o({chipStyle:e="default",chipId:i,children:n,onRemove:t}){return(0,a.jsxs)("div",{"data-testid":`chip-${i}`,className:d({chipStyle:e}),children:[n,t&&(0,a.jsx)("button",{"data-testid":`chip-${i}-remove`,id:`chip-${i}-remove`,className:s({iconStyle:e}),"aria-label":"string"==typeof n?`Close ${n}`:`Close ${i}`,onClick:e=>t(i)})]})}let u=o},3644:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,q:()=>r});var a=n(37876);n(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,l=({title:e,theme:i=null,titleId:n="",...t})=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em","aria-labelledby":n,...t,children:[e?(0,a.jsx)("title",{id:n,children:e}):null,(0,a.jsxs)("g",{className:"edit_svg__nc-icon-wrapper",children:[(0,a.jsx)("path",{"data-color":"color-2",d:"M45 9.586 22.293 32.293a1 1 0 0 0-.258.444l-3 11A1 1 0 0 0 20 45a1.028 1.028 0 0 0 .263-.035l11-3a1 1 0 0 0 .444-.258L54.414 19ZM60.414 10.172l-6.586-6.586a2 2 0 0 0-2.828 0l-4.586 4.586 9.414 9.414L60.414 13a2 2 0 0 0 0-2.828Z"}),(0,a.jsx)("path",{d:"M50 61H6a3 3 0 0 1-3-3V14a3 3 0 0 1 3-3h20a1 1 0 0 1 0 2H6a1 1 0 0 0-1 1v44a1 1 0 0 0 1 1h44a1 1 0 0 0 1-1V38a1 1 0 0 1 2 0v20a3 3 0 0 1-3 3Z"})]})]}),r=({color:e="currentColor",title:i,fill:n,...r})=>(0,a.jsx)(l,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:n??t(e),title:i,...r}),d=r},4599:e=>{e.exports={button:"jobPreview_button__7PORO",jobPreviewContainer:"jobPreview_jobPreviewContainer__g5CIT",jobPreviewContainerMobile:"jobPreview_jobPreviewContainerMobile__fAtDv",jobPreviewButtonDesktop:"jobPreview_jobPreviewButtonDesktop__DhET6",jobPreviewButtonMobile:"jobPreview_jobPreviewButtonMobile__srT1f"}},6005:(e,i,n)=>{"use strict";n.d(i,{Hr:()=>r});var a=n(37876),t=n(81528),l=n.n(t);function r(){return(0,a.jsx)("hr",{className:l().hr})}},7753:(e,i,n)=>{"use strict";n.d(i,{Td:()=>A,Em:()=>F,Ay:()=>w,Wp:()=>E});var a=n(37876),t=n(64177),l=n(89099),r=n(14232),d=n(77742),s=n(10797),o=n(63200),u=n(49513),c=n(47562),m=n(78805),v=n(26483),f=n(87732);let g=(e,i,n,a="",t=u.g$.JOB_SEARCH)=>(0,u.N1)({[u.Yf.entity_id]:e?.id,[u.Yf.title]:e?.name,[u.Yf.current_user_id]:i?.id,[u.Yf.user_role]:(0,f.q)(i?.roles,"targetId")??m.Iv,[u.Yf.entity_type]:"saved_searches",[u.Yf.entity_subtype]:"job_alert",[u.Yf.occupations]:(0,v.Q4)(n,"field_job_occupational_field_parents_all"),[u.Yf.employment_types]:(0,v.Q4)(n,"field_job_employment_type"),[u.Yf.regions]:a,[u.Yf.page_type]:t});var k=n(61956),p=n(16800),h=n(10582),b=n(74386),_=n.n(b),j=n(19667),x=n.n(j),S=n(85234),y=n.n(S),N=n(35581);let F="#save-search";function E(e){e.evict({fieldName:"getJobAlertById"}),e.evict({fieldName:"getJobAlerts"}),e.evict({fieldName:"getJobAlertsCount"}),e.evict({fieldName:"getJobAlertByPath"})}let A=(0,r.createContext)({querystring:"",selectedFacets:[],showModal:!1,jobAlert:null,jobAlertTitle:"",createJobAlertLoading:!1,setSelectedFacets:()=>{},setQuerystring:()=>{},setShowModal:()=>{},setJobAlert:()=>{},setJobAlertTitle:()=>{},updateJobAlert:()=>new Promise(()=>{}),setJobId:()=>{}});function w({children:e,additionalConditionGroups:i=[],forceJobSearchPage:n=!1,pageType:m}){let{path:v}=(0,r.useContext)(h.f),{user:f}=(0,r.useContext)(c.Rs),{locale:b}=(0,r.useContext)(h.B),[j,S]=(0,r.useState)([]),[D,O]=(0,r.useState)(""),[T,I]=(0,r.useState)(!1),[C,P]=(0,r.useState)(null),[L,z]=(0,r.useState)(""),[B,M]=(0,r.useState)(null),J=(0,o.o)(),V=(0,s.D)(),q=(0,l.useRouter)(),R=(0,d.A)(),$=n||(0,k.O_)(),G=m??($?u.g$.JOB_SEARCH:u.g$.JOB_DETAIL),{JOBS:U}=(0,N.WV)(),K=Object.values(U.FACETS),[W,{loading:H}]=(0,t.n)(C?_():$?x():y(),{update(e){E(e)},onCompleted:e=>{I(!1),j&&e.createJobAlert&&(0,u.DP)(f?u.qY.JOB_ALERT_SIGNUP:u.qY.JOB_ALERT_SIGNUP_ANONYMOUS,g(e.createJobAlert.alert,f??null,j,D.geo_location,G)),q.push(e.createJobAlert?(0,p.gD)(v):v+F,void 0,{shallow:!0}).then(()=>Q(e))},onError:()=>{V.addFlag({text:R.formatMessage({id:"generic_error",defaultMessage:"There was an error"}),type:"danger"})}}),Q=e=>{e.createJobAlert?e.createJobAlert.errors.length>0?V.addFlag({text:e.createJobAlert.errors[0].message,type:"danger"}):J.addMessage({text:f?R.formatMessage({id:"job_alert_save_anon",defaultMessage:"Your job alert was successfully created."}):R.formatMessage({id:"job_alert_save",defaultMessage:`Your job alert was successfully created.
2                      You will soon receive an e-mail with a confirmation link to activate it.`}),type:"success",test_id:"job_alert_save_success"}):e.deleteJobAlert&&(e.deleteJobAlert.errors.length>0?V.addFlag({text:e.deleteJobAlert.errors[0].message,type:"danger"}):J.addMessage({text:R.formatMessage({id:"job_alert_remove",defaultMessage:"Your Search was removed"}),type:"success"}))};return(0,r.useEffect)(()=>{T&&(0,u.DP)(u.qY.JOB_ALERT_PROMPT,g(C??null,f??null,j,D.geo_location,G))},[T]),(0,r.useEffect)(()=>
2{C&&!v.includes(F)?q.push(v+F,void 0,{shallow:!0}):null===C&&v.includes(F)&&q.push((0,p.gD)(v),void 0,{shallow:!0})},[C]),(0,a.jsx)(A.Provider,{value:{selectedFacets:j,querystring:D,showModal:T,jobAlert:C,jobAlertTitle:L,createJobAlertLoading:H,updateJobAlert:e=>{let n=(0,p.NG)((0,p.gD)(v),["jobId","page"]);return W(e?{...e,variables:{data:{...e.variables.data,path:n,condition_group:{conjunction:"AND",groups:[...(0,p.xr)(D,K),...i]},...!$&&{jobId:B}}},update(e){E(e)}}:function(e,i,n,a,t,l,r=[]){return a?{variables:{id:a.id},update(e){E(e)}}:{variables:{data:{name:e,path:i,language:l,condition_group:{conjunction:"AND",groups:[...(0,p.xr)(n,t),...r]}},update(e){E(e)}}}}(L,n,D,C,K,b,i))},setSelectedFacets:S,setQuerystring:O,setShowModal:I,setJobAlert:P,setJobAlertTitle:z,setJobId:M},children:e})}},8377:(e,i,n)=>{"use strict";n.d(i,{E:()=>l});var a=n(35181),t=n(35581);n(57253);let l=(e=null)=>{let i=((e=null)=>e||(0,t.Ob)())(e).JOBS||{},n=i.ANALYTICS?.SOURCE_ENABLED,l=i.JOB_SALARY_RANGE_FREE_INPUT_ENABLED,r=i.SEASONAL_JOBS_ENABLED;return(0,a.J1)`
3  fragment JobFragment on Job {
4    id
5    ownerId
6    title
7    canEdit
8    canRemove
9    organization
10    organizationProfile {
11      organization {
12        id
13      }
14      name
15      url {
16        path
17      }
18      urlNoPrefix
19      logo(style: "job_squared_logo_medium") {
20        url
21        alt
22      }
23      workflowState {
24        value
25        label
26      }
27      isPremium
28      metatags {
29        meta
30        value
31      }
32    }
33    description
34    type
35    url {
36      path
37    }
38    urlNoPrefix
39    linkUrl
40    file
41    logo(style: "job_squared_logo_medium") {
42      url
43    }
44    expiration
45    pause
46    duration
47    published
48    formattedOriginalPublished
49    formattedPublished
50    formattedExpiration
51    formattedPause
52    workflowState {
53      value
54      label
55    }
56    employmentType {
57      tid
58      label
59      urlAlias
60    }
61    fieldsOfStudy {
62      tid
63      label
64    }
65    occupationalField {
66      tid
67      label
68      urlAlias
69    }
70    address
71    administrativeArea
72    region {
73      tid
74      label
75      urlAlias
76    }
77    degreeLevel {
78      tid
79      label
80    }
81    languages {
82      tid
83      label
84    }
85    skills {
86      tid
87      label
88    }
89    salaryRange {
90      tid
91      label
92    }
93    absoluteUrl
94    absoluteOrgUrl
95    ${l?`
96      salaryRangeFree {
97        minSalary
98        maxSalary
99        currencyCode
100        salaryUnit
101      }
102    `:""}
103    yearsOfExperience {
104      tid
105      label
106    }
107    isFeatured
108    isHighlight
109    isTopJob
110    applicationWorkflow
111    applicationEmails
112    applicationLink
113    applicationRestricted {
114      restrictionStatus
115      restrictionMessage
116    }
117    location {
118      administrativeArea
119      countryCode
120      locality
121      addressLine1
122      addressLine2
123      zip
124    }
125    jobUpgrades
126    bookmarked
127    latitude
128    longitude
129    referenceId
130    schemaOrgSalary {
131      defaultCurrency
132      exactValue {
133        number
134      }
135      minValue {
136        number
137      }
138      maxValue {
139        number
140      }
141      unitText
142    }
143    schemaOrgEmployment
144    ${n?"source":""}
145    isExcluded
146    applicationRequireCv
147    applicationRequireCoverLetter
148    applicationRequireQualifyingQuestions
149    applicationQualifyingQuestions {
150      questionId
151      question
152      required
153    }
154    ${r?`
155      availabilityPeriod {
156        startDate
157        endDate
158      }
159    `:""}
160    videoUrl
161    formattedFrontends
162    frontends
163    jobPostingFrontend
164  }
165`}},9329:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CustomFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Job"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"band"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"shifts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"careerArea"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"registration"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:178}};i.loc.source={body:"fragment CustomFields on Job {\n  id\n  band {\n    tid\n    label\n  }\n  shifts {\n    tid\n    label\n  }\n  careerArea {\n    tid\n    label\n  }\n  registration {\n    tid\n    label\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
165!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.CustomFields=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"CustomFields")},9428:(e,i,n)=>{"use strict";n.d(i,{q:()=>a});let a=e=>{if(null==e);else if(Array.isArray(e))return e.map(e=>a(e));else if("object"==typeof e){if(e instanceof File||e instanceof Blob)return e;let i={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&"__typename"!==n&&(i[n]=a(e[n]));return i}return e}},9680:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>ea});var a=n(37876),t=n(14232),l=n(46680),r=n(52852),d=n(52512),s=n(24373),o=n(35581),u=n(95283),c=n(10582);let m=({job:e})=>{if(e.isExcluded||!e?.description?.replace(/<[^>]*>?/gm,"")||!e.title||!e.organization)return null;let i=(0,t.useCallback)((e,i,n)=>({"@type":"Place",...i&&n&&{geo:{"@type":"GeoCoordinates",latitude:i,longitude:n}},address:{"@type":"PostalAddress",addressLocality:e.locality||"",addressRegion:e.administrativeArea||"",addressCountry:e.countryCode||"",postalCode:e.zip||"",streetAddress:e.addressLine1||e.addressLine2?`${e.addressLine1} ${e.addressLine2??""}`:""}}),[]),n={locality:"",administrativeArea:"",countryCode:"",zip:"",addressLine1:"",addressLine2:""},l=(0,t.useContext)(c.f),m=Array.isArray(e.location)?e.location:[],v=m.length>0,f=e.latitude&&e.longitude,g=m||e.latitude&&e.description,k=function({applicationWorkflow:e}){return(0,o.Ob)().JOBS?.SCHEMA_ORG?.DIRECT_APPLY??!0?e===s.O.EXTERNAL?null:(e===s.O.INTERNAL||s.O.NONE,"True"):"False"}(e),p=(0,t.useCallback)(()=>{if(v){let n=m.map((n,a)=>{let t=0===a&&f;return i(n,t?e.latitude:null,t?e.longitude:null)});return 1===n.length?n[0]:n}return f?i(n,e.latitude,e.longitude):i(n,null,null)},[i,v,f,m,e.latitude,e.longitude,n]);return g&&(0,a.jsx)(r.Zn,{item:{"@context":"https://schema.org","@type":"JobPosting",title:e.title,description:e.description||"",datePosted:e.published||"",validThrough:function(e){if(e.expiration)return e.expiration;let i=(0,d.A)(new Date(e.published),30),n=(0,d.A)(new Date(e.published),60),a=(0,d.A)(new Date(e.published),365),t=new Date,l=i>t?i:n>t?n:a;return l<t?(0,d.A)(t,30).toISOString():l.toISOString()}(e),employmentType:e.schemaOrgEmployment||"FULL_TIME",...k&&{directApply:k},hiringOrganization:{"@type":"Organization",name:e.organization?e.organization:"",logo:e.logo?.url||e.organizationProfile?.logo?.url||"",...(0,u.T)(e.organizationProfile)&&{sameAs:`${l.host}${e.organizationProfile?.url?.path}`}},jobLocation:p(),...e?.remoteOptions&&e?.remoteOptions?.length>0?{jobLocationType:"TELECOMMUTE",applicantLocationRequirements:{"@type":"Country",name:v&&m[0]&&m[0].countryCode||""}}:null,baseSalary:function({schemaOrgSalary:e}){let i={"@type":"MonetaryAmount"},n={"@type":"QuantitativeValue",unitText:"",value:""};return(e?.defaultCurrency&&(i.currency=e.defaultCurrency),e?.unitText&&(n.unitText=e.unitText),e?.exactValue)?n.value=parseFloat(e.exactValue.number):e?.minValue&&e.maxValue&&(n.minValue=parseFloat(e.minValue.number),n.maxValue=parseFloat(e.maxValue.number)),i.value=n,i}(e)}})};var v=n(97531),f=n(77066),g=n(28701),k=n(90255),p=n(89099),h=n(61956),b=n(8733),_=n(30017),j=n.n(_),x=n(44319),S=n(80841);let y=({children:e,job:i,jobsPage:n})=>{let t=(0,p.useRouter)(),{JOBS:l}=(0,o.WV)(),r=l.UNPUBLISHED_JOB_FADE_HEIGHT_PX,d=(0,h.z9)(i),s=(0,h.Ud)(i),u="full"===t.query.view;return(0,a.jsxs)(a.Fragment,{children:[(d||s)&&(0,a.jsx)(S.s,{alertStyle:"warning",children:(0,a.jsx)("div",{"data-test-id":"job_detail_job_no_longer_active",children:(0,a.jsx)(x.E,{marginTop:0,fontSize:4,textAlign:"center",children:(0,a.jsx)(b.A,{id:"job_detail_job_no_longer_active",defaultMessage:"This 
165job ad is no longer active. Search for {search_url}",values:{search_url:(0,a.jsx)(k.A,{href:n,children:(0,a.jsx)(b.A,{id:"job_detail_link_to_search",defaultMessage:"New jobs"})})}})})})}),(d||s)&&!i.canEdit&&+r>0&&!u?(0,a.jsxs)("div",{className:j().contentFade,style:{height:`${r}px`},"data-test-id":"job_detail_container_fade",children:[e,(0,a.jsx)("div",{id:"overlay",className:j().contentFadeOverlay,style:{height:`${r/3*2}px`}})]}):(0,a.jsx)("div",{"data-test-id":"job_detail_container",children:e})]})};var N=n(49134),F=n(27451),E=n(34219),A=n(18847);let w=n.n(A)()(Promise.resolve().then(n.bind(n,35880)),{loadableGenerated:{webpack:()=>[35880]}}),D=t.memo(({job:e,children:i})=>(0,h.O_)()?(0,a.jsx)(a.Fragment,{children:i}):(0,a.jsx)(w,{initialState:e.bookmarked?[e]:[],children:i}),(e,i)=>e.job.id===i.job.id);var O=n(7753),T=n(47562),I=n(53988);let C="job_alert_frequency";var P=n(14192),L=n(77742),z=n(515),B=n(65516);function M(e,i){return e?.label&&e?.tid?(0,B.oA)({name:i,label:e.label,filter:e.tid.toString(),alias:e.urlAlias??void 0}):null}function J({job:e}){let i=(0,L.A)(),{JOBS:n}=(0,o.WV)(),t=function({job:e,jobsPage:i,jobsLabel:n}){let a=[{label:n,path:i}],t=[],l=M(e.organizationProfile?.industry,B.Ff);l&&(t.push(l),a.push({label:l.label,path:(0,B.$X)(i,t)}));let r=M(e.occupationalField?.find(e=>!!e?.label),B.At);return r&&(t.push(r),a.push({label:r.label,path:(0,B.$X)(i,t)})),e.title&&e.url?.path&&a.push({label:e.title,path:e.url.path}),a}({job:e,jobsPage:n.JOBS_PAGE,jobsLabel:i.formatMessage({id:"jobs",defaultMessage:"Jobs"})});return(0,a.jsx)(z.A,{items:t})}var V=n(16375),q=n.n(V),R=n(52416),$=n(23795),G=n(65656),U=n(79581),K=n(60010);let W=(0,t.memo)(({trackingPixelCode:e,jobId:i,identifier:n})=>{let l=(0,p.useRouter)(),{JOBS:r}=(0,o.WV)(),d=new URLSearchParams(l.query),s=(0,t.useMemo)(()=>(0,h.J8)(e,d,r.JOB_TRACKING_PIXEL_WITH_REQUIRED_FROM_QUERY_PARAMS)??"",[r.JOB_TRACKING_PIXEL_WITH_REQUIRED_FROM_QUERY_PARAMS,e,d]),{strippedJsString:u}=(0,K.v)({content:s,id:i,identifier:n});return u?(0,a.jsx)("div",{style:{height:0},dangerouslySetInnerHTML:{__html:u}},n):null});var H=n(31680),Q=n(69139);let Y=({job:e,editLink:i,fullContainer:n=!1,isPreview:r=!1,overflow:d=!1,jobsPage:s,onApply:u,children:c,noFollowExternalLinks:k=!1,plainTextExternalLinks:p=!1,disableCoverOverlap:b=!1,hideBreadcrumbs:_=!1})=>
165{let[j,x]=(0,f.X)(),S=(0,t.useContext)(T.Rs),[A,w]=(0,t.useState)(!1),{showModal:z,setShowModal:B}=(0,t.useContext)(O.Td),[M,V]=(0,t.useState)(!1),K=(0,L.A)(),{JOBS:Y}=(0,o.WV)(),Z=Y.JOB_TRACKING_PIXEL_ENABLED,X=(0,h.O_)(),ee=!!(S.user&&S.user.isEligibleForJobApply&&S.user.id==e.ownerId||S.user&&e.applicationRestricted?.restrictionStatus),ei=(0,l.ET)(e);return(0,t.useEffect)(()=>{A&&!z&&(w(!1),u())},[z]),(0,a.jsx)("div",{className:!b&&!X&&e.organizationProfile?.cover?.url?q().detailWrapper:"",children:(0,a.jsx)(y,{job:e,jobsPage:s,children:(0,a.jsxs)($.C,{ref:j,type:e.type,overflow:d,isIframe:ei,...e.isHighlight?{"data-test-id":"highlight-job"}:null,children:[!_&&!X&&!r&&(0,a.jsx)(G.K,{paddingLeft:6,paddingTop:7,paddingBottom:3,marginTop:0,children:(0,a.jsx)(J,{job:e})}),(0,a.jsxs)(U.x,{fullContainer:n,overflow:d,verticalLayoutTablet:!0,...Y.JOB_SEARCH_SHOW_ORG_BANNER&&X&&e.organizationProfile?.cover?.url&&{Banner:(0,a.jsx)(P.A,{src:e.organizationProfile.cover.url,width:e.organizationProfile.cover.width??1920,height:e.organizationProfile.cover.height??500,alt:e.organizationProfile.cover.alt??""})},titleElement:n?"h2":"h1",actions:(0,a.jsx)(g.I,{job:e,onApply:()=>{!S.user&&e.applicationRestricted?.restrictionStatus&&"external"!==e.applicationWorkflow&&window.open((0,Q.mC)("/user/register",(0,H.q)(e)),"_self"),function({applicationWorkflow:e},{authenticated:i},n){if(i||!n.APPLICABLE_JOB_APPLICATION_WORKFLOW.includes(e))return!1;let a=parseInt(n.FREQUENCY_DAYS),t=!1;
165return!isNaN(a)&&((t=!!(0,I.hV)(C))||(0,I.lz)(C,n.FREQUENCY_DAYS,{expires:a})),!t}(e,S,Y.JOB_ALERT.MODAL)?(B(!0),w(!0)):u(),e.clickApplyTrackingPixel&&V(!0)},applicationRestricted:ee}),withBottomMenu:!!S.user?.id,edit:i,Bookmark:(0,a.jsx)(D,{job:e,children:(0,a.jsx)(N.A,{job:e,placement:E.A.JOB_DETAIL,bookmarkMutationCallback:i=>{e.bookmarked=i}})}),...(0,h.PH)(e,K),children:[(0,a.jsx)("div",{children:(0,a.jsxs)(v.A,{whenIdle:!0,children:[ee&&(0,a.jsx)(G.K,{marginTop:0,marginBottom:7,children:(0,a.jsx)(R.A,{message:e.applicationRestricted?.restrictionMessage??""})}),(0,a.jsx)(F.A,{job:e,isPreview:r,isIframe:ei,dimensions:x,noFollowExternalLinks:k,plainTextExternalLinks:p}),"published"===e.workflowState.value&&!X&&!r&&(0,a.jsx)(m,{job:e})]})}),c,Z&&(0,a.jsxs)(a.Fragment,{children:[e.trackingPixel&&(0,a.jsx)(W,{trackingPixelCode:e.trackingPixel,jobId:e.id.toString(),identifier:"job-tracking-px-script"}),M&&(0,a.jsx)(W,{trackingPixelCode:e.clickApplyTrackingPixel,jobId:e.id.toString(),identifier:"job-click-apply-tracking-px-script"})]})]})]})})})};var Z=n(88772),X=n(88993),ee=n(49513),ei=n(97750),en=n(3644);let ea=({job:e,user:i,fullContainer:n=!1,overflow:r=!1,children:d,isPreview:s=!1,noFollowExternalLinks:u=!1,plainTextExternalLinks:c=!1,pageType:m=ee.g$.JOB_DETAIL,disableCoverOverlap:v=!1,hideBreadcrumbs:f=!1})=>{let{JOBS:g}=(0,o.WV)(),p=g.JOBS_PAGE,h=(0,X.c)(e);(0,t.useEffect)(()=>{e?.id&&(ei.J.postViewEvent(e.id),(0,ee.t6)(ee.qY.JOB_VISIT,(0,Z.V)(e,i,m)))},[e?.id]);let b=i&&e.canEdit?(0,a.jsx)(k.A,{href:`/job/edit/${e.id}`,children:(0,a.jsx)(en.q,{color:"primary",title:"Edit job"})}):null;return(0,a.jsx)(Y,{job:e,logo:h||"",fullContainer:n,isPreview:s,overflow:r,jobsPage:p,editLink:b,noFollowExternalLinks:u,plainTextExternalLinks:c,disableCoverOverlap:v,hideBreadcrumbs:f,onApply:()=>(0,l.Sx)(e,i,m),children:d})}},12627:e=>{e.exports={previewContainer:"jobForm_previewContainer__73zfo"}},12958:(e,i,n)=>{"use strict";n.d(i,{A:()=>w,N:()=>A});var a=n(37876),t=n(14232),l=n(94643),r=n(31167),d=n(88729),s=n.n(d),o=n(18847),u=n.n(o),c=n(7056),m=n(43062),v=n(8466),f=n(8733),g=n(10582),k=n(24878),p=n(81249),h=n(83550),b=n(83999),_=n(96129),j=n(65656),x=n(65284),S=n(7268),y=n(5994),N=n(66874),F=n(52639);let E=u()(()=>n.e(1887).then(n.bind(n,1887)),{loadableGenerated:{webpack:()=>[1887]},ssr:!1}),A=({children:e,fullWidthContainer:i=!1,mainContentSize:n="large",fixedHeader:d=!1,hideHeader:o=!1})=>{let u=(0,t.useContext)(g.B),A=null,{getSidenavCollapsed:w,toggleSidenavCollapsed:D}=(0,t.useContext)(p.MQ),{data:O}=(0,r.I)(s(),{variables:{menu:"side-menu-applicants",language:u.locale}});O?.applicantSideMenu&&(A=O?.applicantSideMenu);let T=w();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b.D,{children:(0,a.jsx)(_.XG,{collapsed:T,onCollapse:()=>{D()},children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.K,{size:"large"}),(0,a.jsxs)("nav",{"aria-labelledby":"aside-navigation",children:[(0,a.jsx)(F.A,{id:"aside-navigation",children:(0,a.jsx)(f.A,{id:"aside-navigation",defaultMessage:"Aside navigation"})}),A&&A.items.map(e=>(0,a.jsx)(h.Ay,{menuItem:e,position:"side"},e.title))]})]})})}),(0,a.jsx)(x.l,{children:(0,a.jsx)(k.A,{children:(0,a.jsx)(S.N,{children:A&&A.items.map(e=>(0,a.jsx)(h.Ay,{menuItem:e,position:"bottom"},e.title))})})}),i?(0,a.jsxs)(y.k,{sideBlockCollapsed:T,children:[!o&&(0,a.jsx)(l.A,{fixed:d}),(0,a.jsxs)("main",{children:[(0,a.jsx)(E,{fullWidth:!0}),(0,a.jsx)(m.ErrorBoundary,{fallback:(0,a.jsx)(v.LayoutMainError,{}),children:e})]}),(0,a.jsx)(c.A,{})]}):(0,a.jsxs)(y.k,{sideBlockCollapsed:T,children:[!o&&(0,a.jsx)(l.A,{fixed:d}),(0,a.jsx)(j.K,{size:"large"}),(0,a.jsx)("main",{children:(0,a.jsxs)(N.g,{size:n,children:[(0,a.jsx)(j.K,{size:"large"}),(0,a.jsx)(E,{size:n}),(0,a.jsx)(j.K,{size:"large"}),(0,a.jsx)(m.ErrorBoundary,{fallback:(0,a.jsx)(v.LayoutMainError,{}),children:e})]})}),(0,a.jsx)(j.K,{marginTop:[8,12]}),(0,a.jsx)(c.A,{})]})]})},w=A},14834:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>u});var a=n(37876),t=n(14232),l=n(66386),r=n(22993),d=n(21179),s=n(76421),o=n(35856);let u=({entityField:e,fieldRules:i={},...n})=>{let{control:u,setValue:c,getValues:m}=(0,l.xW)(),v=m(),{hidden:f,disabled:g,required:k}=(0,o.bA)(e.id,v,i);return((0,t.useEffect)(()=>{f&&v[e.id]&&c(e.id,null)},[f,v,e]),f)?null:(0,a.jsx)(l.xI,{name:e.id,control:u,render:({field:i,fieldState:{error:t}})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.S,{...i,checked:i.value,id:e.id,required:e.required||k,disabled:e.disabled||g,error:!!t,label:e.label,...n}),e.description&&(0,a.jsx)(d.R,{content:e.description}),!!t&&(0,a.jsx)(s.W,{message:t.message})]})})}},15937:e=>{e.exports={clickableChip:"clickable-chip_clickableChip__CL37G"}},16375:e=>
165{e.exports={detailWrapper:"detailView_detailWrapper__AAcJZ"}},16480:(e,i,n)=>{"use strict";n.r(i),n.d(i,{__N_SSP:()=>I,default:()=>C});var a=n(37876);n(14232);var t=n(31167),l=n(64177),r=n(89099),d=n.n(r),s=n(77742),o=n(8733),u=n(43900),c=n(54036),m=n(32422),v=n(88772),f=n(87829),g=n(10797),k=n(49513),p=n(21963),h=n(53248),b=n(44565),_=n(8377),j=n(35181),x=n(80243),S=n(80841),y=n(66874),N=n(65656),F=n(63750),E=n(9428),A=n(51009),w=n(75913),D=n(35581),O=n(49101);let T=({id:e,user:i})=>{let n=null,r=(0,s.A)(),T=(0,g.D)(),I=(0,D.WV)(),{JOBS:C}=I,P=Object.values(C.JOB_DETAIL_FIELDS),L=(0,O.a6)(I);e=Number(e);let{getConfigByName:z}=(0,w.UK)(),B=!!z("jobiqo_organization_agency")?.value[0],{error:M,data:J,loading:V}=(0,t.I)((0,m.Y)(B),{variables:{id:e}}),[q,{data:R,error:$}]=(0,l.n)((0,j.J1)`
166  ${(0,_.E)(void 0)}
167  mutation updateJob($id: Int!, $data: JobInput!, $republishing: Boolean) {
168    updateJob(id: $id, data: $data, republishing: $republishing) {
169      errors
170      job: content {
171        ... on Job {
172          ...JobFragment
173        }
174      }
175    }
176  }
177`,{onCompleted:e=>((e,i,n=null,a)=>{e.updateJob.job&&0===e.updateJob.errors.length&&((0,k.DP)(k.qY.JOB_EDIT,(0,v.V)(e.updateJob.job,n)),d().replace("/job-manager").then(()=>{i.addFlag({text:a.formatMessage({id:"job_update_success",defaultMessage:"Job was updated"}),type:"success",icon:"check_double",test_id:"job-update-success"})}))})(e,T,i,r)});if(V||!J.jobById)return(0,a.jsx)(f.P,{children:(0,a.jsx)(x.$,{children:(0,a.jsx)(o.A,{id:"loading",defaultMessage:"loading"})})});if(M)return(0,a.jsx)(S.s,{alertStyle:"danger",type:"assertive",children:(0,a.jsx)(o.A,{id:"job_load_error",defaultMessage:"Error getting information from node."})});$&&(n=(0,a.jsx)(S.s,{alertStyle:"danger",type:"assertive",children:(0,a.jsx)(o.A,{id:"job_update_error",defaultMessage:"There was an error updating the job."})})),R&&R.updateJob&&R.updateJob.errors.length>0&&(n=(0,a.jsx)(h.k,{errors:R.updateJob.errors})),i&&!i.isUserApprovedAndVerified&&(n=(0,a.jsx)(S.s,{alertStyle:"warning",type:"assertive",children:(0,a.jsx)(o.A,{id:"job_publish_account_verification_needed",defaultMessage:"In order to publish jobs you need to verify your account first."})}));let{job:G}=J.jobById;if(!i||!G.canEdit)return(0,a.jsx)(f.P,{children:(0,a.jsx)(u.O,{})});let U=R?.updateJob?.errors;return(0,a.jsxs)(y.g,{children:[(0,a.jsx)(N.K,{size:"large"}),(0,a.jsx)(F.k,{children:(0,a.jsx)(c.M,{maxHeight:L.logo.singlePageMaxHeight})}),(0,a.jsx)(N.K,{size:"large"}),n&&(0,a.jsxs)(a.Fragment,{children:[n,(0,a.jsx)(N.K,{size:"medium"})]}),(0,a.jsx)(b.W,{jobType:G.type,workflowState:G.workflowState,fieldErrorList:U,entity:(0,p.yB)(P,G),onCancel:()=>{d().back()},onSubmit:i=>{q({variables:{id:e,data:(0,E.q)((0,p.ii)(P,i))},refetchQueries:[{query:(0,m.Y)(),variables:{id:e}}]})}}),(0,a.jsx)(N.K,{size:"large"}),(0,a.jsx)(A.H,{}),(0,a.jsx)(N.K,{size:"medium"})]})};(0,n(90362).f)({gssp:async e=>({props:{id:Number(e.query.id)}})});var I=!0;let C=({user:e,id:i})=>(0,a.jsx)(T,{user:e,id:i})},19667:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createJobAlert"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobAlertInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createJobAlert"},arguments:[{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alert"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:136}};i.loc.source={body:"mutation createJobAlert($data: JobAlertInput!) {\n  createJobAlert(data: $data) {\n    errors\n    alert {\n      id\n      name\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
177!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.createJobAlert=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"createJobAlert")},21963:(e,i,n)=>{"use strict";n.d(i,{AI:()=>c,Br:()=>r,IT:()=>m,LI:()=>o,Wx:()=>t,ii:()=>s,lv:()=>v,yB:()=>l});var a=n(16636);let t=e=>({...e,fields:Object.keys(e.fields).filter(i=>e.fields[i])}),l=(e,i)=>{let n={};return e.forEach(e=>{n={...n,...r(e,i)}}),n},r=(e,i)=>{let n=Object.keys(e.fields),t={};for(let l of n){if("object"==typeof e.fields[l]){t={...t,[l]:d(l,e,i)};continue}let n=e.fields[l];if(i[n]&&i[n].tid){t={...t,[l]:(0,a.DD)(i[n])};continue}if(i[n]&&i[n].length>0&&i[n][0].tid){t={...t,[l]:(0,a.BC)(i[n])};continue}i[n]&&"Image"===i[n].__typename&&(t=i[n].url?{...t,[l]:i[n].url}:{...t,[l]:null}),t={...t,[l]:i[n]}}return t},d=(e,i,n)=>{let a=i.fields[e],t={};return a&&Object.keys(a.fields).forEach(l=>{if("object"==typeof a.fields[e])t={...t,[l]:d(l,i,n)};else{let e=a.fields[l];t={...t,[l]:n?.[a.name]?.[e]}}}),t},s=(e,i,n=!1)=>{let a={};return e.forEach(e=>{a={...a,...o(e,i,n)}}),a},o=(e,i,n=!1)=>{let a=Object.keys(e.fields),t={};for(let l of a){let a=e.fields[l];if(a){if(i[l]&&i[l].tid&&!i[l].level){t={...t,[a]:n?{tid:i[l].tid,label:i[l].name}:i[l].tid};continue}if(i[l]&&i[l].length>0&&i[l][0]?.tid&&!i[l][0]?.level){t={...t,[a]:i[l].map(e=>n?{tid:e.tid,label:e.label}:e.tid)};continue}if(i[l]&&i[l].length>0&&i[l][0]?.term&&i[l][0]?.level>=0&&i[l][0]?.term?.tid===0){t={...t,[a]:i[l].map(e=>({level:e.level,label:e.term.label}))};continue}if(i[l]&&i[l].length>0&&i[l][0]?.term&&i[l][0]?.level>=0){t={...t,[a]:i[l].map(({term:e,__typename:i,label:n,...a})=>({tid:e.tid,...a}
177))};continue}if(e.fields[l]&&"object"==typeof e.fields[l]){let n=e.fields[l];if(!i?.[l]||0===Object.keys(i?.[l]).length){t={...t,[n.name]:void 0};continue}t={...t,[n.name]:u(l,e,i)};continue}t={...t,[a]:i[l]}}}return t},u=(e,i,n)=>{let a=i.fields[e],t={};return a&&Object.keys(a.fields).forEach(l=>{"object"==typeof a.fields[e]?t={...t,[a.fields[l]]:u(l,i,n)}:n?.[e]&&(t={...t,[a.fields[l]]:n[e][l]})}),t},c=(e,i)=>i.privateFields?.[e],m=(e,i)=>{if(!i?.includes)return!1;let n=0,a=Object.keys(e.fields);for(let e of a)i.includes(e)&&n++;return n===a.length},v=e=>Object.values(e).sort((i,n)=>{let a=i?.order??Object.keys(e).indexOf(i.key),t=n?.order??Object.keys(e).indexOf(n.key);return a<t?-1:+(a>t)}).reduce(function(e,i){return e[i.key]=i,e},{})},24878:(e,i,n)=>{"use strict";n.d(i,{A:()=>r});var a=n(37876),t=n(60390),l=n.n(t);let r=({children:e})=>(0,a.jsx)("div",{className:l().hidePrintResume,children:e})},26483:(e,i,n)=>{"use strict";n.d(i,{Q4:()=>a}),n(2876),n(92535),n(53988),n(62656),n(97878);let a=(e,i,n=" | ")=>e.filter(e=>e.name===i).map(e=>e.values.map(e=>e.label)).join(n)},26951:(e,i,n)=>{"use strict";n.r(i),n.d(i,{TextLongWidget:()=>p,default:()=>p});var a=n(37876),t=n(14232),l=n(66386),r=n(8733),d=n(34952),s=n(76421),o=n(57738),u=n(45062),c=n(21179),m=n(3098),v=n(44319),f=n(81068),g=n(35898),k=n(35856);function p({entityField:e,fieldRules:i={},...n}){let h,{setValue:b,getValues:_,control:j}=(0,l.xW)(),x=_(),{hidden:S,required:y}=(0,k.bA)(e.id,x,i),N=(h=e.settings.filter(e=>"form_settings"===e.key)).length>0&&h[0].value.rows?h[0].value.rows:10,F=(0,g.P)(e),E=0===F;return((0,t.useEffect)(()=>{S&&x[e.id]&&b(e.id,null)},[S,x,e]),S)?null:(0,a.jsx)("div",{id:e.id,children:(0,a.jsx)(l.xI,{name:e.id,control:j,render:({field:i,fieldState:{error:l}})=>{let g=F-(0,t.useDeferredValue)(i.value?.length??0);return g<0&&(g=0),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.e,{children:[(0,a.jsx)(u.l,{required:e.required||y,htmlFor:i.name,children:e.label}),(0,a.jsx)(d.P,{...i,...n,id:i.name,placeholder:(0,f.G)(e),rows:N,onChange:(e,n)=>{b(i.name,n.getData(),{shouldValidate:!0})},content:i.value,maxLength:(0,f.P)("max_length",e)}),(0,a.jsxs)(m.q,{gap:10,justifyContent:"space-between",className:"vcl-full-width",children:[e.description&&(0,a.jsx)(c.R,{content:e.description}),e.allowedFormatsMaxTextLength?.length>0&&!E&&(0,a.jsx)(v.E,{marginTop:4,fontSize:2,...0===g&&{color:"danger"},children:(0,a.jsx)(r.A,{id:"number_of_characters_remaining",defaultMessage:"{remainingCharacters} characters remaining",values:{remainingCharacters:g}})})]})]}),!!l&&(0,a.jsx)(s.W,{message:l.message})]})}})})}},28579:(e,i,n)=>{"use strict";n.d(i,{J:()=>m,l:()=>f});var a=n(37876),t=n(57738),l=n(45062),r=n(21179),d=n(15039),s=n.n(d),o=n(14232),u=n(80228),c=n.n(u);let m=(e,i="    ")=>`${i.repeat(e.depth??0)} ${e.name}`,v=()=>(0,a.jsx)("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#979797",strokeWidth:"1.1px",children:(0,a.jsx)("path",{d:"M1,6 L10,15 L19,6"})}),f=(0,o.forwardRef)(({id:e,items:i=[],label:n,description:d,error:o=!1,required:u=!1,onChange:f,onBlur:g,selectedValue:k,emptyValue:p,name:h},b)=>{let _,j=(_=i.filter(e=>e.code===k)).length>0?_[0].code:"";return(0,a.jsxs)(t.e,{children:[n&&(0,a.jsx)(l.l,{error:o,required:u,htmlFor:e,children:n}),(0,a.jsxs)("div",{className:s()(c().relative,"jobiqo-select__wrapper"),children:[(0,a.jsxs)("select",{className:c().select,id:e,name:h,required:u,style:{borderColor:o?"var(--color-danger)":"var(--select-border-color)"},onChange:e=>{f&&f(i.filter(i=>i.code===e.target.value)[0])},onBlur:g,value:j||"",ref:b,children:[p?(0,a.jsx)("option",{value:"",disabled:u,children:p}):null,i.map(e=>(0,a.jsx)("option",{value:e.code,children:m(e,"-")},e.code))]}),(0,a.jsx)(v,{})]}),d&&(0,a.jsx)(r.R,{children:d})]})})},29913:e=>{e.exports={item:"item_item__34fcQ"}},30017:e=>{e.exports={contentFade:"container_contentFade__I0JvT",contentFadeOverlay:"container_
177contentFadeOverlay__41vPI"}},32024:(e,i,n)=>{"use strict";n.d(i,{Z:()=>p});var a=n(37876),t=n(14232),l=n(28579),r=n(57738),d=n(45062),s=n(21179),o=n(12140),u=n(69425),c=n(30775),m=n(83687),v=n(39653),f=n.n(v),g=n(57370);let k={width:"100%"},p=(0,t.forwardRef)(({id:e,name:i,error:n=!1,placeholder:v="Search something here...",values:p,items:h=[],label:b,description:_,required:j=!1,showSuggestionsOnClick:x=!0,onChange:S,onInputChange:y,onBlur:N,selectedMark:F="Selected",hasFreeItems:E=!1,freeItemsAddButtonText:A="Add new term"},w)=>{let[D,O]=(0,t.useState)(""),[T,I]=(0,t.useState)([]),[C,P]=(0,t.useState)(!1),L=(0,g.d)(D,200),z=t.useCallback(e=>{S&&p.length&&!D.length&&8===e.keyCode&&S(p.slice(0,p.length-1),T)},[S,p,D.length,T]),B=t.useCallback(e=>{if(p.includes(e)){let i=p.filter(i=>i!==e);S&&S(i,T)}else{let i=T.filter(i=>i!==e);I(i),S&&S(p,i)}},[p,T,S]),M=e=>{O(e.target.value),y&&y(e.target.value),E&&(h.map(e=>e.name).includes(e.target.value)?P(!1):P(!0))},J=t.useCallback(()=>{let e=[...T,D];I(e),P(!1),O(""),S&&S(p,e)},[T,D,S,p]),V=t.useMemo(()=>e=>{let i=h.find(i=>i.code===e);return i?i.name:e},[h]),q=t.useMemo(()=>L.length?(0,c.Ht)(h.map(e=>e.name),L,{threshold:c.Ht.rankings.CONTAINS}):h.map(e=>e.name),[L,h]),R=t.useMemo(()=>h.filter(e=>q.includes(e.name)),[h,q]),$=t.useMemo(()=>{var e,i;return e=R,i=p,e.filter(e=>-1===i.indexOf(e.code)).reduce((e,i,n)=>(e[i.code]=n,e),{})},[R,p]);return(0,a.jsxs)(r.e,{children:[b&&(0,a.jsx)(d.l,{error:n,required:j,htmlFor:e,children:b}),(0,a.jsx)(u.Ay,{inputValue:D,onChange:e=>{S&&e&&(t.startTransition(()=>{S([...p,e.code],T)}),O(""))},selectedItem:E&&T.length>0?[...p,...T]:p,itemToString:e=>e?e.code:"",labelId:e,children:({getInputProps:r,getItemProps:d,getRootProps:s,getLabelProps:u,openMenu:c,highlightedIndex:g,isOpen:h,selectedItem:_})=>(0,a.jsxs)("div",{style:k,children:[(0,a.jsxs)("div",{className:f().inputWrapper,style:{borderColor:n?"var(--color-danger)":"var(--select-border-color)"},onClick:()=>{x&&c()},children:[_?.map(e=>(0,a.jsxs)("span",{className:f().spanElement,onClick:()=>{B(e)},children:[V(e),"\xa0",(0,a.jsx)(o.A,{title:"Close"})]},e)),(0,a.jsx)("input",{className:f().downshiftInput,...r({placeholder:v,name:i,id:e,"aria-labelledby":e,"aria-label":b,onChange:M,onKeyDown:z,onBlur:N,ref:w})})]}),h&&(0,a.jsx)("div",{className:f().itemsWrapper,children:R.map(e=>{let i=-1!==p.indexOf(e.code),n=i?{}:d({item:e,index:$[e.code]});return(0,t.createElement)(m.q,{...n,isActive:g===$[e.code],key:e.code,children:[(0,l.J)(e),i&&(0,a.jsx)("span",{className:f().itemLabel,children:F},e.code)]})})}),E&&C&&(0,a.jsx)("button",{className:f().freeTermsButton,onClick:J,children:A})]})}),_&&(0,a.jsx)(s.R,{children:_})]})})},32422:(e,i,n)=>{"use strict";n.d(i,{Y:()=>m});var a=n(35181),t=n(9329),l=n.n(t),r=n(35581),d=n(8377),s=n(52776),o=n.n(s),u=n(64567),c=n.n(u);n(57253);let m=(e=null)=>{let i=((e=null)=>e||(0,r.Ob)())().JOBS||{},n=i.JOB_CIPHER_JOBS_ENABLED,t=i.REMOTE_JOBS_FEATURE_ACTIVE,s=i.JOB_TRACKING_PIXEL_ENABLED,u=i.JOB_PT_ATTACHMENT_ENABLED,m=i.SHOW_ORGANIZATION_PRESENTATION_ON_DETAIL_PAGE,v=i.JOB_SOLR_BACKFILL;return(0,a.J1)`
178  ${(0,d.E)(void 0)}
179  ${o()}
180  ${l()}
181  ${c()}
182  query jobById(
183    $id: Int!
184    ${v?"$backfillid: String":""}
185    $getOrgProfileDetails: Boolean = false
186  ) {
187    jobById(id: $id${v?", backfillid: $backfillid":""}) {
188      errors
189      job: content {
190        ... on Job {
191          ...JobFragment
192          organizationProfile @include(if: $getOrgProfileDetails) {
193            ...OrganizationOnJobFragment
194            ...CustomOrganizationFields
195            ${m?`
196               presentation
197               contactPersons {
198                 id
199               }
200               size {
201                 tid
202               }
203               occupation {
204                 tid
205               }
206               fieldsOfStudy {
207                 tid
208               }
209               `:""}
210          }
211          ${n?"isCipher":""}
212          ${s?"trackingPixel":""}
213          ${s?"clickApplyTrackingPixel":""}
214          ${t?`
215            remoteOptions {
216              tid
217              label
218            }
219          `:" "}
220          ${u?"attachmentUrl":""}
221          ${e?"organizationAssignment":""}
222          ...CustomFields
223        }
224      }
225    }
226  }
227`}},33110:(e,i,n)=>{"use strict";n.d(i,{Xh:()=>c,c0:()=>m,rE:()=>u,wP:()=>v});var a=n(35181),t=n(64567),l=n.n(t),r=n(56144),d=n.n(r),s=n(92172),o=n.n(s);let u=()=>(0,a.J1)`
228    ${d()}
229    ${l()}
230    query organizationProfileById($id: Int!) {
231      organizationProfileById(id: $id) {
232        errors
233        content {
234          ... on OrganizationProfile {
235            ...OrganizationFragment
236            ...CustomOrganizationFields
237          }
238        }
239      }
240    }
241  `,c=(e=!1)=>(0,a.J1)`
242    ${d()}
243    ${e?o():""}
244    ${l()}
245    query organizationProfileByPath($path: String!, $language: String) {
246      organizationProfileByPath(path: $path, language: $language) {
247        errors
248        ... on ErrorResponse {
249          code
250          reason
251          errors
252        }
253        ... on ContentResponse {
254          content {
255            ... on OrganizationProfile {
256              ...OrganizationFragment
257              ...CustomOrganizationFields
258              ${e?"...OrganizationMinisiteFragment":""}
259            }
260          }
261        }
262      }
263      route(path: $path) {
264        ... on ErrorResponse {
265          code
266        }
267        ... on RedirectResponse {
268          code
269          target
270        }
271      }
272    }
273  `,m=()=>(0,a.J1)`
274    ${l()}
275    query organizationProfileByUserId($id: Int!) {
276      organizationProfileByUserId(id: $id) {
277        errors
278        content {
279          ... on OrganizationProfile {
280            frontends
281            workflowState {
282              value
283            }
284            ...CustomOrganizationFields
285          }
286        }
287      }
288    }
289  `,v=()=>(0,a.J1)`
290    query getAgencyOrganizations($id: Int!) {
291      getAgencyOrganizations(id: $id) {
292        ... on Organization {
293          name
294          id
295        }
296      }
297    }
298  `},34952:(e,i,n)=>{"use strict";n.d(i,{A:()=>v,P:()=>m});var a=n(37876),t=n(14232),l=n(10582),r=n(35581),d=n(47562),s=n(78805),o=n(91098);n(85202);var u=n(66742),c=n.n(u);let m=t.forwardRef(({id:e,content:i="",placeholder:u="",onChange:m,onBlur:v,onFocus:f,rows:g=3,maxLength:k},p)=>{var h;let b=(0,t.useContext)(d.Rs),{locale:_}=(0,t.useContext)(l.B),{USER:j}=(0,r.WV)(),[x,S]=(0,t.useState)(null),{CKEditor:y,ClassicEditor:N}=x||{},F=(0,t.useMemo)(()=>"en"===_?"en-gb":"es-419"===_?"es":_,[_]);(0,t.useEffect)(()=>{let e=!0;return Promise.all([n.e(1804).then(n.bind(n,31804)),Promise.all([n.e(8882),n.e(4799),n.e(1384),n.e(4955),n.e(3869),n.e(629),n.e(7273),n.e(8220),n.e(9549)]).then(n.bind(n,49897)),n(36388)(`./${F}.js`).catch(()=>(e&&console.error(`CKEditor does not support ${_} language config.`),null))]).then(([i,n,a])=>{e&&S({CKEditor:i.CKEditor,ClassicEditor:n.ClassicEditor,plugins:[n.Autoformat,n.BlockQuote,n.Bold,n.Essentials,n.Heading,n.Indent,n.Italic,n.Link,n.List,n.MediaEmbed,n.Paragraph,n.PasteFromOffice,n.Table,n.TableToolbar],translations:a?.default})}).catch(i=>{e&&console.error("Failed to load CKEditor.",i)}),()=>{e=!1}},[_,F]),(0,t.useEffect)(()=>{document.documentElement.style.setProperty("--ck-editor-rows",g.toString())},[g]);let E=(h=b.user,h?(0,s.vT)(h)||(0,s.Gv)(h)?j.APPLICANT.editor:(0,s.Gv)(h)?j.RECRUITER.editor:(0,s.qc)(h)?j.ADMIN.editor:null:j.ANON.editor),A=(0,t.useMemo)(()=>({...E,licenseKey:"GPL",plugins:x?.plugins||[],ui:{height:"300px",viewportOffset:{top:0}},toolbar:{items:E.toolbar},language:F,...x?.translations?{translations:x.translations}:{},placeholder:u}),[E,x,F,u]);return(0,a.jsx)("div",{className:c().editorWrapper,children:y&&N?(0,a.jsx)(y,{ref:p,editor:N,onReady:e=>{window.CKEDITOR=e},data:i,config:A,onChange:m,onBlur:v,onFocus:f},e):(0,a.jsx)(o.T,{rows:g,disabled:!0,maxLength:k},e)})}),v=m},35912:(e,i,n)=>{"use strict";n.d(i,{O:()=>O,A:()=>T});var a=n(37876),t=n(18847),l=n.n(t),r=n(14232),d=n(43062),s=n(7056),o=n(94643),u=n(8466),c=n(81249),m=n(71850),v=n.n(m),f=n(10582),g=n(8733),k=n(31167),p=n(83550),h=n(83999),b=n(96129),_=n(65656),j=n(52639),x=n(65284),S=n(7268),y=n(6005);let N=l()(()=>n.e(3430).then(n.bind(n,23430)),{loadableGenerated:{webpack:()=>[23430]},ssr:!1}),F=l()(()=>Promise.all([n.e(6958),n.e(7843),n.e(1041),n.e(2243),n.e(699),n.e(6517),n.e(4272),n.e(5293),n.e(9511),n.e(6909)]).then(n.bind(n,26909)),{loadableGenerated:{webpack:()=>[26909]},ssr:!1}),E=({collapsed:e,toggleSidenavCollapsed:i})=>{let n=(0,r.useContext)(f.B),t=null,{data:l}=(0,k.I)(v(),{variables:{menu:"side-menu-recruiter",language:n.locale}});
298return l?.recruiterSideMenu&&(t=l?.recruiterSideMenu),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.D,{children:(0,a.jsx)(b.XG,{collapsed:e,onCollapse:()=>{i()},children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(_.K,{size:"large"}),(0,a.jsxs)("nav",{"aria-labelledby":"aside-navigation",children:[(0,a.jsx)(j.A,{id:"aside-navigation",children:(0,a.jsx)(g.A,{id:"aside-navigation",defaultMessage:"Aside navigation"})}),t&&t.items.map(e=>(0,a.jsx)(p.Ay,{menuItem:e,position:"side"},e.title)),(0,a.jsx)(N,{}),(0,a.jsx)(y.Hr,{}),(0,a.jsx)(F,{hideText:e})]})]})})}),(0,a.jsx)(x.l,{children:(0,a.jsxs)(S.N,{children:[t&&t.items.map(e=>(0,a.jsx)(p.Ay,{menuItem:e,position:"bottom"},e.title)),(0,a.jsx)(N,{})]})})]})};var A=n(5994),w=n(66874);let D=l()(()=>n.e(1887).then(n.bind(n,1887)),{loadableGenerated:{webpack:()=>[1887]},ssr:!1}),O=({children:e,fullWidthContainer:i=!1,mainContentSize:n="large",fixedHeader:t=!1,hideHeader:l=!1})=>{let{toggleSidenavCollapsed:m,getSidenavCollapsed:v}=(0,r.useContext)(c.MQ),f=v();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(E,{collapsed:f,toggleSidenavCollapsed:m}),i?(0,a.jsxs)(A.k,{sideBlockCollapsed:f,children:[!l&&(0,a.jsx)(o.A,{fixed:t}),(0,a.jsxs)("main",{children:[(0,a.jsx)(D,{fullWidth:!0}),(0,a.jsx)(d.ErrorBoundary,{fallback:(0,a.jsx)(u.LayoutMainError,{}),children:e})]}),(0,a.jsx)(s.A,{})]}):(0,a.jsxs)(A.k,{sideBlockCollapsed:f,children:[!l&&(0,a.jsx)(o.A,{fixed:t}),(0,a.jsx)(_.K,{size:"large"}),(0,a.jsx)("main",{children:(0,a.jsxs)(w.A,{size:n,children:[(0,a.jsx)(_.K,{size:"large"}),(0,a.jsx)(D,{size:n}),(0,a.jsx)(_.K,{size:"large"}),(0,a.jsx)(d.ErrorBoundary,{fallback:(0,a.jsx)(u.LayoutMainError,{}),children:e})]})}),(0,a.jsx)(_.K,{marginTop:[8,12]}),(0,a.jsx)(s.A,{})]})]})},T=O},36388:(e,i,n)=>{var a={"./af.js":[12716,2716],"./af.umd.js":[94132,4132],"./ar.js":[25624,5624],"./ar.umd.js":[62992,2992],"./ast.js":[42793,2793],"./ast.umd.js":[55189,5189],"./az.js":[79072,9072],"./az.umd.js":[38456,8456],"./be.js":[61510,1510],"./be.umd.js":[82754,2754],"./bg.js":[80260,260],"./bg.umd.js":[56844,6844],"./bn.js":[59263,9263],"./bn.umd.js":[25551,5551],"./bs.js":[70064,64],"./bs.umd.js":[78408,8408],"./ca.js":[8727,8727],"./ca.umd.js":[99911,9911],"./cs.js":[22305,2305],"./cs.umd.js":[96589,6589],"./da.js":[50676,676],"./da.umd.js":[93148,3148],"./de-ch.js":[14884,4884],"./de-ch.umd.js":[72460,2460],"./de.js":[91984,1984],"./de.umd.js":[12712,2712],"./el.js":[44186,4186],"./el.umd.js":[74662,4662],"./en-au.js":[5673,5673],"./en-au.umd.js":[46101,6101],"./en-gb.js":[52466,2466],"./en-gb.umd.js":[27742,7742],"./en.js":[94840,4840],"./en.umd.js":[59440,9440],"./eo.js":[28043,8043],"./eo.umd.js":[667,667],"./es-co.js":[49188,9188],"./es-co.umd.js":[78828,8828],"./es.js":[76535,6535],"./es.umd.js":[64615,4615],"./et.js":[75826,5826],"./et.umd.js":[31774,1774],"./eu.js":[39549,1930],"./eu.umd.js":[78057,8057],"./fa.js":[22974,2974],"./fa.umd.js":[8890,8890],"./fi.js":[52614,2614],"./fi.umd.js":[92706,2706],"./fr.js":[42031,2031],"./fr.umd.js":[1663,1663],"./gl.js":[75868,5868],"./gl.umd.js":[77508,7508],"./gu.js":[44471,4471],"./gu.umd.js":[96679,6679],"./he.js":[80132,132],"./he.umd.js":[10604,604],"./hi.js":[23576,3576],"./hi.umd.js":[56080,6080],"./hr.js":[30973,973],"./hr.umd.js":[6057,6057],"./hu.js":[53140,3140],"./hu.umd.js":[77404,7404],"./hy.js":[75912,3531],"./hy.umd.js":[98816,8816],"./id.js":[32470,2470],"./id.umd.js":[13682,3682],"./it.js":[55302,5302],"./it.umd.js":[78914,8914],"./ja.js":[35626,5626],"./ja.umd.js":[58390,8390],"./jv.js":[54495,4495],"./jv.umd.js":[20975,975],"./kk.js":[96289,6289],"./kk.umd.js":[54490,2109],"./km.js":[85651,5651],"./km.umd.js":[42435,2435],"./kn.js":[37026,7026],"./kn.umd.js":[3438,3438],"./ko.js":[85325,5325],"./ko.umd.js":[21049,1049],"./ku.js":[41243,1243],"./ku.umd.js":[92587,2587],"./lt.js":[99611,9611],"./lt.umd.js":[38123,8123],"./lv.js":[87669,7669],"./lv.umd.js":[85953,5953],"./ms.js":[52447,2447],"./ms.umd.js":[97711,7711],"./nb.js":[59783,9783],"./nb.umd.js":[46647,6647],"./ne.js":[36578,6578],"./ne.umd.js":[66254,6254],"./nl.js":[27493,7493],"./nl.umd.js":[79281,9281],"./no.js":[55256,5256],"./no.umd.js":[6576,6576],"./oc.js":[11637,1637],"./oc.umd.js":[43521,3521],"./pl.js":[64343,4343],"./pl.umd.js":[40423,423],"./pt-br.js":[21990,1990],"./pt-br.umd.js":[74402,4402],"./pt.js":[73759,3759],"./pt.umd.js":[24079,4079],"./ro.js":[32588,2588],"./ro.umd.js":[21524,1524],"./ru.js":[96454,6454],"./ru.umd.js":[77666,7666],"./si.js":[17247,7247],"./si.umd.js":[71631,1631],"./sk.js":[21497,1497],"./sk.umd.js":[47621,7621],"./sl.js":[21528,1528],"./sl.umd.js":[32816,2816],"./sq.js":[37527,7527],"./sq.umd.js":[76871,6871],"./sr-latn.js":[13860,3860],"./sr-latn.umd.js":[28108,8108],"./sr.js":[34166,4166],"./sr.umd.js":[82098,2098],"./sv.js":[27602,7602],"./sv.umd.js":[92926,2926],"./th.js":[50399,399],"./th.umd.js":[90799,799],"./ti.js":[11996,1996],"./ti.umd.js":[58180,8180],"./tk.js":[80414,414],"./tk.umd.js":[85946,5946],"./tr.js":[77745,7745],"./tr.umd.js":[70141,141],"./tt.js":[41827,1827],"./tt.umd.js":[58995,8995],"./ug.js":[90211,211],"./ug.umd.js":[88787,8787],"./uk.js":[83823,3823],"./uk.umd.js":[79711,9711],"./ur.js":[4,4],"./ur.umd.js":[54348,4348],"./uz.js":[62428,2428],"./uz.umd.js":[38884,8884],"./vi.js":[63414,3414],"./vi.umd.js":[58610,8610],"./zh-cn.js":[43729,3729],"./zh-cn.umd.js":[82269,2269],"./zh.js":[24717,4717],"./zh.umd.js":[70553,553]};function t(e){if(!n.o(a,e))return Promise.resolve().then(()=>{var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i});var i=a[e],t=i[0];return n.e(i[1]).then(()=>n(t))}t.keys=()=>Object.keys(a),t.id=36388,e.exports=t},38661:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"previewLinkContent"}
298,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"previewContent"},name:{kind:"Name",value:"previewLinkContent"},arguments:[{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],directives:[]}]}}],loc:{start:0,end:89}};i.loc.source={body:"query previewLinkContent($url:String!) {\n  previewContent:previewLinkContent(url:$url)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.previewLinkContent=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"previewLinkContent")},38713:e=>{e.exports={inputIcon:"textarea_inputIcon__DX2s2",inputWrapper:"textarea_inputWrapper__NUcxM",iconStart:"textarea_iconStart__ms5Xd",iconEnd:"textarea_iconEnd__uCDcG",jclInputClear:"textarea_jclInputClear__vxe1c",input:"textarea_input__HU2QO",inputError:"textarea_inputError__gpSWx",inputIconEnd:"textarea_inputIconEnd__lPSfe",inputIconStart:"textarea_inputIconStart__5HyZa",textarea:"textarea_textarea__OXKs9"}},39653:e=>{e.exports={itemLabel:"multiple_itemLabel__KpIgS",inputWrapper:"multiple_inputWrapper__2dOVD",downshiftInput:"multiple_downshiftInput__74Vq1",spanElement:"multiple_spanElement__iSvqQ",itemsWrapper:"multiple_itemsWrapper__28aPr",freeTermsButton:"multiple_freeTermsButton__WKghh"}},41167:(e,i,n)=>{"use strict";n.d(i,{m:()=>v});var a=n(37876),t=n(17175),l=n(92347),r=n(65656),d=n(88564),s=n(97607),o=n.n(s);let u=(0,t.F)([o().box],{variants:{disabled:{true:o().boxDisabled}},defaultVariants:{disabled:!1}}),c=(0,t.F)([o().wrapButton],{variants:{disabled:{true:o().wrapButtonDisabled}}}),m=(0,t.F)([o().icon],{variants:{disabled:{true:o().iconDisabled}}});function v({onClick:e,icon:i,button:n,iconColor:t="gray2",children:s,asButton:o=!1,actionText:f,disabled:g=!1}){let k=(0,a.jsxs)(d.A,{className:u({disabled:g}),"data-testid":"box-action",children:[(0,a.jsx)("span",{className:m({disabled:g}),...t&&{style:{color:`var(--color-${t})`}},children:i}),(0,a.jsx)(r.A,{size:"small"}),s,(0,a.jsx)(r.A,{size:"medium"}),(0,a.jsx)("div",{children:!n&&f?(0,a.jsx)(l.Ay,{...e&&!g?{onClick:e}:null,buttonStyle:"primary",disabled:g,children:f}):n})]});return o?(0,a.jsx)("button",{className:c({disabled:g}),...e&&!g?{onClick:e}:null,children:k}):k}},43900:(e,i,n)=>{"use strict";n.d(i,{O:()=>u});var a=n(37876);n(14232);var t=n(90255),l=n(77742),r=n(8733),d=n(41167),s=n(32521),o=n(65656);let u=({routeRedirect:e="/",title:i,text:n})=>{let u=(0,l.A)();return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(t.A,{href:e,children:(0,a.jsxs)(d.m,{actionText:u.formatMessage({id:"access_denied_home",defaultMessage:"Back to home"}),icon:(0,a.jsx)(s.X,{title:u.formatMessage({id:"access_denied_icon",defaultMessage:"Access denied"})}),children:[(0,a.jsx)("h1",{"data-test-id":"access_denied_title",children:i||(0,a.jsx)(r.A,{id:"job_error_no_accesss_title",defaultMessage:"Access Denied"})}),(0,a.jsx)(o.K,{}),n||(0,a.jsx)(r.A,{id:"job_error_no_accesss",defaultMessage:"You don't have access to this page. Make sure that you are logged in and accessing a page\n                that you are authorized to visit."})]})})})}},44300:(e,i,n)=>{"use strict";n.d(i,{A:()=>d,i:()=>r});var a=n(37876);n(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,l=({title:e,theme:i=null,titleId:n="",...t})=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32","aria-labelledby":n,...t,children:[e?(0,a.jsx)("title",{id:n,children:e}):null,(0,a.jsx)("path",{d:"M6.261 25.953a2.751 2.751 0 0 1-1.495-.5A5.844 5.844 0 0 1 3.01 23.5 5.867 5.867 0 0 1 2.2 21a2.266 2.266 0 0 1 .978-2.218 1.929 1.929 0 0 1 1.5-.162A4.894 4.894 0 0 1 7.34 21a5.87 5.87 0 0 1 .812 2.5 2.266 2.266 0 0 1-.977 2.218 1.811 1.811 0 0 1-.914.235ZM4.1 20.545Zm-.42-.893Z",fill:"currentColor","data-color":"color-2"}),(0,a.jsx)("path",{d:"M15 30.434V18.31a3 3 0 0 0-1.5-2.6L3 9.649v7.058a3.861 3.861 0 0 1 1.093-.162 4.237 4.237 0 0 1 1.1.148A6.8 6.8 0 0 1 9.072 20a7.9 7.9 0 0 1 1.077 3.377A4.421 4.421 0 0 1 8.883 26.9Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M24.825 25.714a2.266 2.266 0 0 1-.977-2.218A5.87 5.87 0 0 1 24.66 21a4.894 4.894 0 0 1 2.67-2.376 1.929 1.929 0 0 1 1.5.162A2.266 2.266 0 0 1 29.8 21a6.331 6.331 0 0 1-2.569 4.448 2.751 2.751 0 0 1-1.5.5 1.811 1.811 0 0 1-.906-.234Zm3.08
298-5.169Zm.41-.893Z",fill:"currentColor","data-color":"color-2"}),(0,a.jsx)("path",{d:"M17 30.434V18.31a3 3 0 0 1 1.5-2.6L29 9.649v7.058a3.861 3.861 0 0 0-1.093-.162 4.237 4.237 0 0 0-1.1.148A6.8 6.8 0 0 0 22.928 20a7.9 7.9 0 0 0-1.077 3.377 4.421 4.421 0 0 0 1.266 3.523ZM21.894 4.392C21.387 6.527 19.066 8 16 8s-5.387-1.473-5.894-3.608L4 7.917l10.5 6.063a3 3 0 0 0 3 0L28 7.917Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M16 6c-2.318 0-4-1.052-4-2.5S13.682 1 16 1s4 1.052 4 2.5S18.318 6 16 6Zm2.017-2.417Z",fill:"currentColor","data-color":"color-2"})]}),r=({color:e="currentColor",title:i,fill:n,...r})=>(0,a.jsx)(l,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:n??t(e),title:i,...r}),d=r},44565:(e,i,n)=>{"use strict";n.d(i,{W:()=>eM});var a=n(37876),t=n(14232),l=n(77742),r=n(8733),d=n(93619),s=n(80243),o=n(61956),u=n(92347),c=n(59128);let m=({isSubmitting:e=!1,saveLabel:i,showButtons:n,submittingJobMutation:t,onFormCancel:l})=>n?(0,a.jsxs)(c.I,{orientation:"right",children:[l&&(0,a.jsx)(u.$n,{type:"button",buttonStyle:"secondary",raised:!1,onClick:e=>{l&&l()},children:(0,a.jsx)(r.A,{id:"cancel",defaultMessage:"Cancel"})}),(0,a.jsx)(u.$n,{disabled:e||t,buttonStyle:"primary","data-test-id":"ef-submit",type:"submit",children:i||(0,a.jsx)(r.A,{id:"save",defaultMessage:"Save"})})]}):null;var v=n(31167),f=n(51350),g=n(50797),k=n.n(g),p=n(35581),h=n(33110),b=n(47562),_=n(51611),j=n(21963),x=n(10582),S=n(62864),y=n(14834),N=n(62055),F=n(64672),E=n(65656),A=n(44319),w=n(75913),D=n(34536);let O=({field:e,values:i})=>"quick"===i.field_job_application_workflow?(0,a.jsxs)("div",{children:[(0,a.jsx)(y.default,{entityField:e}),(0,a.jsx)(E.K,{size:"medium"})]},e.id):null;var T=n(78248),I=n(77471),C=n(26951),P=n(3106),L=n(15937),z=n.n(L);let B=function({onClick:e,fieldName:i,chipName:n,...t}){return(0,a.jsx)("div",{className:z().clickableChip,onClick:()=>{e&&e(i,t.chipId,n)},children:(0,a.jsx)(P.v,{...t})})};var M=n(72247),J=n.n(M);let V=function({suggestions:e,fieldName:i,onClick:n}){let t=(0,l.A)();return(0,a.jsxs)("div",{className:J().autoSuggestions,children:[(0,a.jsx)("span",{className:J().title,children:t.formatMessage({id:"job_autosuggestions_label",defaultMessage:"Suggestions:"})}),e.map(e=>(0,a.jsx)(B,{chipId:e.tid.toString(),chipName:e.label,onClick:n,fieldName:i,children:e.label},e.tid))]})};var q=n(65050),R=n.n(q),$=n(38661),G=n.n($),U=n(58588),K=n(18847),W=n.n(K),H=n(74352),Q=n(62478),Y=n(52044),Z=n(18652);function X(e,i,n=0){let a=i+Number(n),t=i,l=new Date,r=e?.[f.FIELD_JOB_PUBLISHING_DATE]||f.DEFAULT_JOB_PUBLISHING_DATE,d=(0,Z.A)(r);if(d>l&&e?.field_job_expiration_date){let i=(0,Z.A)(e.field_job_expiration_date);if(!isNaN(i.getTime())&&!isNaN(d.getTime())){let e=(0,Y.A)(i,d);a=t=e>0?e:1}}return{maxAllowedDuration:a,defaultDuration:t}}let ee=W()(Promise.resolve().then(n.bind(n,51350)),{loadableGenerated:{webpack:()=>[51350]}}),ei=W()(Promise.resolve().then(n.bind(n,74352)),{loadableGenerated:{webpack:()=>[74352]}}),en=W()(Promise.resolve().then(n.bind(n,64672)),{loadableGenerated:{webpack:()=>[64672]}});var ea=n(3098),et=n(56897),el=n(32521),er=n(61138),ed=n(66874),es=n(66386),eo=n(44300),eu=n(21179),ec=n(12140),em=n(64828),ev=n(87809),ef=n(72323),eg=n.n(ef);let ek=function({}){let e=(0,t.useContext)(x.B),{JOBS:i}=(0,p.WV)(),{setValue:n,watch:d}=(0,es.xW)(),{currentOrganizationProfile:s}=(0,t.useContext)(b.Rs),c=(0,l.A)(),m=i.AI.JOB_DESCRIPTION.temperature,v=i.AI.JOB_DESCRIPTION.maxTokens,f=i.AI.JOB_DESCRIPTION.languages,g=d("title"),k=d("field_job_location"),h=d("field_job_skills"),_=d("field_job_employment_type"),j=d("field_job_salary_range"),S=d("field_job_salary_range_free_inpu"),y=d("field_job_application_workflow"),N=(0,o.O8)(S??{},c),F=(0,o.o6)(S?.salaryUnit??"",c),E=`${N} ${F}`.trim(),[A,w]=(0,t.useState)(null),D=(0,t.useMemo)(()=>()=>({jobTitle:g,locations:k?.join(", "),companyName:s?.name,benefits:s?.benefits?.map(e=>e?.label).join(", "),industry:s?.industry?.label,companyPresentation:s?.presentation,skills:h?.map(e=>e.label).join(", "),employmentType:_?.map(e=>e?.label).join(", "),salaryRange:j?.name,salaryRangeFreeInput:E,applicationWorkflow:y}),[g,k,s,h,_,j,E,y]),{messages:O,setMessages:T,sendMessage:I,stop:C,status:P}=(0,em.Y_)({transport:new ev.rL({api:"/api/openai-job-description",body:()=>({temperature:m,maxTokens:v,languages:f,locale:e.locale,...D()})})}),L=async e=>{e.preventDefault(),e.stopPropagation(),T([]),I({text:"Generate job description"},{body:{...D()}})};return(0,t.useEffect)(()=>{A&&A?.length>15&&n("field_job_description",A)},[A]),(0,t.useEffect)(()=>{let e=[...O].reverse().find(e=>"assistant"===e.role),i=e?.parts.filter(e=>"text"===e.type).map(e=>e.text).join("");i&&w(i)},[O]),(0,t.useEffect)(()=>{"streaming"===P||"submitted"===P?eg().start():eg().done()},[P]),(0,a.jsxs)(a.Fragment,{children:["streaming"===P?(0,a.jsxs)(u.$n,{onClick:()=>C(),bordered:!0,buttonStyle:"default",children:[(0,a.jsx)(ec.U,{}),(0,a.jsx)("span",{children:(0,a.jsx)(r.A,{id:"ai_generate_job_description_button_stop",defaultMessage:"Stop generating"})})]}):(0,a.jsxs)(u.$n,{type:"button",buttonStyle:"primary",bordered:!0,disabled:!g,onClick:L,children:[(0,a.jsx)(eo.i,{}),(0,a.jsx)("span",{children:(0,a.jsx)(r.A,{id:"ai_generate_job_description_button",defaultMessage:"Generate with AI"})})]}),(0,a.jsx)(eu.R,{children:(0,a.jsx)(r.A,{id:"ai_generate_job_description_description",defaultMessage:"To achieve the best accuracy in generating results, we encourage you to complete as many fields as possible. Nevertheless, you can generate text by simply entering the job title."})})]})};var ep=n(78805);n(25127);var eh=n(81068),eb=n(7241),e_=n(76421),ej=n(57738),ex=n(45062),eS=n(22993);function ey({entityField:e,singleItemLabel:i,hasQuestions:n=!1}
298){let r=(0,l.A)(),{control:d,setError:s,clearErrors:o,getValues:c,setValue:m}=(0,es.xW)(),{fields:v,remove:f,append:g}=(0,es.jz)({control:d,name:e.id}),{ADD_ANOTHER:k,FIELD_REQUIRED:p}=(0,Q.w)(),h=()=>{g({question:"",required:!1},{shouldFocus:!1})};return((0,t.useEffect)(()=>{n&&(0===v.length&&e.defaultKeyValues.length>0?(m(e.id,[]),g(e.defaultKeyValues.map((e,i)=>({question:e.text,required:e.required})),{shouldFocus:!1})):0===v.length&&0===e.defaultKeyValues.length&&(m(e.id,[]),h()))},[e,v,n]),(0,t.useEffect)(()=>{n||m(e.id,[])},[n]),n)?(0,a.jsxs)(ej.e,{children:[(0,a.jsx)(E.K,{}),(0,a.jsx)(ex.l,{required:e.required,children:e.label}),(0,a.jsx)(ea.q,{gap:3,children:v.map((n,t)=>{let l=`${e.id}.${t}`,m=`${l}.question`,g=`${l}.required`,k=0===t;return(0,a.jsxs)(ea.q,{flexWrap:"nowrap",children:[(0,a.jsxs)(et.Z,{children:[(0,a.jsx)(es.xI,{name:m,control:d,render:({field:n,fieldState:{error:t}})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eb.p,{...n,id:n.name,type:e.type,required:e.required,disabled:e.disabled,error:!!t,label:i,size:60,description:e.description,placeholder:(0,eh.G)(e),maxLength:(0,eh.P)("max_length",e)}),k&&e.description&&(0,a.jsx)(eu.R,{content:e.description}),t&&(0,a.jsx)(e_.W,{message:t.message})]})}),(0,a.jsx)(E.K,{}),(0,a.jsx)(es.xI,{name:g,control:d,render:({field:i,fieldState:{error:n}})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eS.S,{...i,id:i.name,checked:i.value,disabled:e.disabled,error:!!n,label:r.formatMessage({id:"job_application_quick_screening_question_required",defaultMessage:"This question is required."}),onChange:n=>{let a=n.currentTarget.checked,l=c();i.onChange(a),a&&!l[e.id]?.[t]?.question?s(m,{type:"required",message:p}):o(m)}}),k&&e.description&&(0,a.jsx)(eu.R,{content:e.description}),!!n&&(0,a.jsx)(e_.W,{message:n.message})]})}),(0,a.jsx)(E.K,{size:"medium"})]}),v.length>1&&(0,a.jsx)(et.Z,{children:(0,a.jsx)(u.$n,{raised:!1,iconed:!0,buttonStyle:"danger",type:"button",onClick:()=>f(t),children:(0,a.jsx)(ec.U,{title:"remove"})})}),(0,a.jsx)(E.K,{})]},l)})}),(0,a.jsx)(E.K,{}),(0,a.jsx)(u.$n,{buttonStyle:"primary",onClick:function(e){e.preventDefault(),h()},children:k})]}):null}var eN=n(28579),eF=n(91793),eE=n(9680),eA=n(5591),ew=n(4599),eD=n.n(ew),eO=n(56201),eT=n(17175),eI=n(52639);let eC=(0,eT.F)([eD().jobPreviewContainer,"job_preview_container"],{variants:{isMobile:{true:eD().jobPreviewContainerMobile}}}),eP=(0,eT.F)([eD().jobPreviewButton,"job_preview_button"],{variants:{isMobile:{true:eD().jobPreviewButtonMobile,false:eD().jobPreviewButtonDesktop}}});function eL({jobType:e}){let[i,n]=(0,t.useState)(!1),{getValues:l}=(0,es.xW)(),{JOBS:d}=(0,p.WV)(),s=Object.values(d.JOB_DETAIL_FIELDS),{user:o,currentOrganizationProfile:c}=(0,t.useContext)(b.Rs),m=(0,eO.a)(),{getConfigByName:v}=(0,w.UK)(),f=!!v("job_preview_enabled")?.value[0],g=(0,j.ii)(s,l(),!0);return"job_per_file"!==e&&f?(Object.keys(g).forEach(e=>{g[e]?.tid&&!Array.isArray(g[e])&&(g[e]=[g[e]])}),(0,a.jsxs)("div",{className:eD().button,children:[(0,a.jsxs)(u.Ay,{type:"button",bordered:!m,rounded:m,iconed:m,fab:m,buttonStyle:"primary",className:eP({isMobile:m}),onClick:e=>{e.stopPropagation(),e.preventDefault(),n(!0)},children:[(0,a.jsx)(eA.b,{width:24,height:24}),m?(0,a.jsx)(eI.h,{children:(0,a.jsx)(r.A,{id:"job_preview_button",defaultMessage:"Preview"})}):(0,a.jsx)("span",{children:(0,a.jsx)(r.A,{id:"job_preview_button",defaultMessage:"Preview"})})]}),(0,a.jsxs)(eF._,{maxWidth:m?"90%":"800px",full:!0,position:"right",isOpen:i,onToggle:()=>n(!i),children:[i&&(0,a.jsx)(ea.A,{justifyContent:"flex-end",children:(0,a.jsx)(u.Ay,{dense:!0,type:"button",onClick:()=>n(!1),children:(0,a.jsx)(ec.U,{height:20,width:20})})}),(0,a.jsx)("div",{className:eC({isMobile:m}),children:(0,a.jsx)(eE.default,{user:o,fullContainer:!0,overflow:!0,isPreview:!0,job:{...g,type:e,organization:c?.name||o?.organization?.name,organizationProfile:c,workflowState:{value:"published"},url:{path:"/job/preview"}}})})]})]})):null}var ez=n(12627),eB=n.n(ez);let eM=({jobType:e,onSubmit:i,onCancel:n,entity:u,showButtons:c=!0,saveLabel:g,submittingJobMutation:P=!1,workflowState:L,republishing:z,bundle:B,fieldErrorList:M,...J})=>{var q,$;let K,W,es,eo,eu,ec=(0,l.A)(),{user:em}=(0,t.useContext)(b.Rs),ev=function(e){let{JOBS:i}=(0,p.WV)();if(i.SCHEDULED_JOB_FEATURE_ACTIVE){let{data:i}=(0,v.I)(k(),{variables:{name:"node",bundle:e},fetchPolicy:"no-cache"});return{maximumJobDuration:i?.definition.fields.find(e=>e.id===f.FIELD_JOB_PUBLISHING_DATE)?.maximumJobDuration}}return null}(e),ef=function(e){let{JOBS:i}=(0,p.WV)(),n=Object.values(i.JOB_DETAIL_FIELDS).map(e=>(0,j.Wx)(e)),{user:a}=(0,t.useContext)(b.Rs),{data:l}=(0,v.I)((0,h.c0)(),{variables:{id:a?.id},skip:!a?.id});return l?.organizationProfileByUserId?.content?.workflowState.value==="published"&&(n=n.filter(e=>"company_info"!==e.key)),i.SCHEDULED_JOB_FEATURE_ACTIVE||(n=n.filter(e=>"job_schedule"!==e.key)),n.map(i=>{var n;return n=i,e===_.A.JOB_PER_FILE&&(n.fields=n.fields.filter(e=>"field_job_description"!==e.id)),n})}(e),{isEditPage:eg}=function(){let{pathname:e}=(0,t.useContext)(x.f);return{isEditPage:"/job/edit/[id]"===e}}(),eh=(0,o.Hu)(L),eb=(0,o.VS)(L),e_=(0,o.VA)(L),ej=(0,Q.w)(),{values:ex,loading:eS}=function(e=null){return{values:{},loading:!1}}(em),eF=function({isEditPage:e,isJobPublished:i,isJobPaused:n,entity:l,republishing:r,maximumJobDuration:d,extendedRuntime:s=0}){let o=(0,p.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{getConfigByName:u}=(0,w.UK)(),c=!!u("job_end_date_picker")?.value[0];if(!o)return{};let{maxAllowedDuration:m,defaultDuration:v}=X(l,d,s);return{additionalFieldList:[F.FIELD_JOB_DURATION,f.FIELD_JOB_PUBLISHING_DATE],formGroupsChildren:{job_schedule:({definition:d})=>{let o=d?.fields.find(e=>e.id===f.FIELD_JOB_PUBLISHING_DATE)?.attributes?.find(e=>"default_timezone"===e.key)?.value,u=d?.fields.find(e=>e.id===f.FIELD_JOB_PUBLISHING_DATE)?.defaultValue?new Date(1e3*Number(d.fields.find(e=>
298e.id===f.FIELD_JOB_PUBLISHING_DATE).defaultValue)).toLocaleString("en-US",{timeZone:o}):f.DEFAULT_JOB_PUBLISHING_DATE,[g,k]=(0,t.useState)(u),p=function(e,i,n,a,t){if(i&&!n&&e?.[H.FIELD_JOB_EXPIRATION_DATE]){let i=(0,Z.A)(e[H.FIELD_JOB_EXPIRATION_DATE]),n=(0,Z.A)(e?.[f.FIELD_JOB_PUBLISHING_DATE]||f.DEFAULT_JOB_PUBLISHING_DATE);if(!isNaN(i.getTime())&&!isNaN(n.getTime())){let e=(0,Y.A)(i,n);if(e>0&&e<=t)return e}}return a}(l,e,i,v,m);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ee,{isReadOnly:e&&(i||n),value:r?g:l?.[f.FIELD_JOB_PUBLISHING_DATE]}),(0,a.jsx)(E.K,{size:"medium"}),e&&i?(0,a.jsx)(ei,{value:l[H.FIELD_JOB_EXPIRATION_DATE]}):(0,a.jsx)(en,{maxValue:m,defaultValue:p,extendedRuntime:!!s,useDatePicker:c,initialPublishingDate:l?.[f.FIELD_JOB_PUBLISHING_DATE]},`${F.FIELD_JOB_DURATION}-${m}-${p}`),(0,a.jsx)(E.K,{size:"medium"})]})}}}}({isEditPage:eg,isJobPublished:eh,isJobPaused:eb,republishing:z,entity:u,maximumJobDuration:ev?.maximumJobDuration??0,extendedRuntime:B?.extendedDuration}),eE={...function(){let{user:e}=(0,t.useContext)(b.Rs),{getConfigByName:i}=(0,w.UK)(),n=!!i("quick_application_remove_cv_option")?.value[0],l=!!i("quick_application_remove_cover_letter")?.value[0],r=!!i("quick_application_remove_qualifying_questions")?.value[0];return{field_job_application_link:({field:e,values:i,setFieldValue:n})=>"external"===i.field_job_application_workflow?(0,a.jsxs)("div",{children:[(0,a.jsx)(N.default,{required:!0,entityField:e}),(0,a.jsx)(E.K,{size:"medium"})]},e.id):(n("field_job_application_link",""),null),field_job_application_email:({field:i,values:n,setFieldValue:l,formState:r,reset:d})=>{let s=n.field_job_application_workflow,o="internal"===s||"quick"===s,[u,c]=(0,t.useState)(void 0);return o?(n?.field_job_application_email?.length===0&&!r?.touchedFields?.field_job_application_email&&e?.email&&u!==e?.email&&c(e?.email),(0,a.jsxs)("div",{children:[(0,a.jsx)(N.default,{defaultValue:u,required:o,type:"email",entityField:i}),(0,a.jsx)(E.K,{size:"medium"})]})):null},field_job_application_require_cv:({field:e,values:i})=>"quick"!==i.field_job_application_workflow||n&&l&&r?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(A.E,{tag:"h4",fontSize:3,children:[(0,a.jsx)(D.A,{id:"job_posting_quick_apply_title",defaultMessage:"Which of the following Quick Apply Features would you like to enable?"}),(0,a.jsx)(E.K,{size:"medium"})]}),n?null:O({field:e,values:i})]}),field_job_app_require_cover:({field:e,values:i})=>"quick"===i.field_job_application_workflow&&l?null:O({field:e,values:i}),field_job_app_require_questions:({field:e,values:i})=>{let n=i.field_job_application_workflow;return("internal"===n||"quick"===n)&&r?null:(({field:e,values:i})=>"quick"===i.field_job_application_workflow||"internal"===i.field_job_application_workflow?(0,a.jsxs)("div",{children:[(0,a.jsx)(y.default,{entityField:e}),(0,a.jsx)(E.K,{size:"medium"})]},e.id):null)({field:e,values:i})}}}(),...function(e,i){if(e!==_.A.JOB_PER_LINK)return null;let[n,l]=(0,t.useState)(!1),[r,{data:d,error:s,loading:o}]=(0,T._)(G(),{onCompleted(){s||l(!0)}});return{field_job_link:({field:e,setFieldValue:i})=>(0,a.jsxs)("div",{children:[(0,a.jsx)(N.default,{onChange:n=>{i(e.id,n.target.value),r({variables:{url:n.target.value}})},required:!0,entityField:e}),(0,a.jsx)(E.K,{size:"medium"})]},e.id),field_job_description:({field:e,setFieldValue:t})=>(n&&(l(!1),t(e.id,d.previewContent)),(0,a.jsxs)("div",{children:[o&&(0,a.jsx)(U.G,{color:"primary",height:"100",width:"100",title:i.formatMessage({id:"loading_message",defaultMessage:"Loading"})}),(0,a.jsx)(C.default,{entityField:e}),(0,a.jsx)(E.K,{size:"medium"})]},e.id))}}(e,ec),...function(){let e=(0,p.Ob)().JOBS||{};if(!e.AUTOSUGGESTIONS_ENABLED)return null;let i=e.AUTOSUGGESTIONS_AUTOFILL_FIELDS,[n,l]=(0,t.useState)([]),[r,{}]=(0,T._)(R()),[d,s]=(0,t.useState)(!1);async function o(e){let i=e?.title,a=e?.field_job_description;if(i&&a)try{let e=await r({variables:{title:i,description:a}});n!==e?.data?.getAutoSuggestions&&s(!1),l(e?.data?.getAutoSuggestions)}catch(e){console.error("Failed to get any autosuggestions data.")}}function u(e,i,n,a,t){e[i].push({tid:n,name:a}),t(i,[...m(e[i])])}function c(e,n,a,t){if(i.includes(e)&&t&&!d){let i=a[e];
298t.forEach(e=>{i.includes(e)||i.push({tid:e.tid.toString(),name:e.label})}),n(e,[...m(a[e])]),s(!0)}}function m(e){return e.filter((e,i,n)=>i===n.findIndex(i=>i.tid===e.tid))}return{field_job_description:({field:e,values:i})=>(0,a.jsxs)("div",{children:[(0,a.jsx)(C.default,{entityField:e,onBlur:()=>o(i)}),(0,a.jsx)(E.K,{size:"medium"})]},e.id),field_job_employment_type:({field:e,values:i,setFieldValue:t})=>{let l=n?.find(e=>"employment_type"===e.name);return l?(c("field_job_employment_type",t,i,l.autofill),(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,a.jsx)(E.K,{size:"small"}),(0,a.jsx)("div",{children:(0,a.jsx)(V,{suggestions:l.terms,onClick:(e,n,a)=>u(i,e,n,a,t),fieldName:e.id})})]},e.id)):(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e}),(0,a.jsx)(E.K,{size:"small"})]},e.id)},field_job_occupational_field:({field:e,values:i,setFieldValue:t})=>{let l=n?.find(e=>"occupational_fields"===e.name);return l?(c("field_job_occupational_field",t,i,l.autofill),(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,a.jsx)(E.K,{size:"small"}),(0,a.jsx)("div",{children:(0,a.jsx)(V,{suggestions:l.terms,onClick:(e,n,a)=>u(i,e,n,a,t),fieldName:e.id})})]},e.id)):(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e}),(0,a.jsx)(E.K,{size:"small"})]},e.id)},field_job_fields_of_study:({field:e,values:i,setFieldValue:t})=>{let l=n?.find(e=>"fields_of_study"===e.name);return l?(c("field_job_fields_of_study",t,i,l.autofill),(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,a.jsx)(E.K,{size:"small"}),(0,a.jsx)("div",{children:(0,a.jsx)(V,{suggestions:l.terms,onClick:(e,n,a)=>u(i,e,n,a,t),fieldName:e.id})})]},e.id)):(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e}),(0,a.jsx)(E.K,{size:"small"})]},e.id)},field_job_skills:({field:e,values:i,setFieldValue:t})=>{let l=n?.find(e=>"skills"===e.name);return l?(c("field_job_skills",t,i,l.autofill),(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e,refresh:n}),(0,a.jsx)(E.K,{size:"small"}),(0,a.jsx)("div",{children:(0,a.jsx)(V,{suggestions:l.terms,onClick:(e,n,a)=>u(i,e,n,a,t),fieldName:e.id})})]},e.id)):(0,a.jsxs)("div",{children:[(0,a.jsx)(I.default,{required:!0,entityField:e}),(0,a.jsx)(E.K,{size:"small"})]},e.id)}}}(),...(q=eh||e_,K=(0,l.A)(),W={}
298,es=(0,p.Ob)().JOBS.JOB_EDIT_HIDDEN_FIELDS||[],eg&&q&&es.forEach(i=>{Object.assign(W,{[i]:({field:n})=>(0,a.jsxs)("div",{children:[(0,a.jsx)(er.A,{name:"node",bundle:e,fields:[Object.assign({},n,{disabled:!0})]}),(0,a.jsx)(E.K,{size:"medium"}),(0,a.jsxs)(ea.q,{alignItems:"center",children:[(0,a.jsx)(et.Z,{marginRight:5,children:(0,a.jsx)(el.X,{title:K.formatMessage({id:"job_edit_hidden_field_info_icon",defaultMessage:"Info"}),color:"warning"})}),(0,a.jsx)(et.Z,{children:(0,a.jsx)(A.E,{tag:"span",color:"gray6",fontSize:2,children:(0,a.jsx)(r.A,{id:"job_edit_hidden_field_info",defaultMessage:"The field {fieldLabel} can not be edited. To change the field you need to republish the job.",values:{fieldLabel:(0,a.jsx)("strong",{children:n.label})}})})})]}),(0,a.jsx)(E.K,{size:"medium"})]},i)})}),W),...(eo=(0,p.Ob)().JOBS.AI?.JOB_DESCRIPTION||{}).enabled&&((0,ep.Gv)(em)||eo.dangerous_enabled_anonymous)&&{field_job_description:({field:e,values:i,setFieldValue:n})=>(0,a.jsxs)("div",{children:[(0,a.jsx)(C.default,{entityField:e}),(0,a.jsx)(ek,{}),(0,a.jsx)(E.K,{size:"medium"})]},e.id)},field_job_app_questions:({field:e,values:i})=>{let n=i.field_job_application_workflow;return(0,a.jsxs)("div",{children:[(0,a.jsx)(E.K,{size:"medium"}),(0,a.jsx)(ey,{entityField:e,hasQuestions:("internal"===n||"quick"===n)&&i?.field_job_app_require_questions}),(0,a.jsx)(E.K,{size:"medium"})]},e.id)},...function(e,i){let{getConfigByName:n}=(0,w.UK)(),r=!!n("jobiqo_organization_agency")?.value[0],d=(0,l.A)(),{data:s,loading:o,error:u}=(0,v.I)((0,h.wP)(),{variables:{id:e?.organization?.id},skip:!r||!(0,ep.Gv)(e)}),[c,m]=(0,t.useState)([]),[f,g]=(0,t.useState)(null);return((0,t.useEffect)(()=>{if(s&&s.getAgencyOrganizations){let e=s.getAgencyOrganizations.map(e=>({code:e.id.toString(),name:e.name}));e.unshift({code:"none",name:d.formatMessage({id:"agency_recruiter_unassign_group",defaultMessage:"No organization assigned"})}),m(e),i&&i.field_organization_assignment&&g(i.field_organization_assignment)}},[s,i,d]),o)?(0,a.jsx)("div",{children:"Loading organizations..."}):u?(0,a.jsxs)("div",{children:["Error loading organizations: ",u.message]}):{field_organization_assignment:({field:i,values:n,setFieldValue:t})=>(0,ep.Gv)(e)&&c.length?(0,a.jsx)("div",{children:(0,a.jsx)(eN.l,{id:i.id,items:c,name:i.id,selectedValue:f??"",onChange:e=>{e?(g(e.code),t(i.id,e.code)):(g(null),t(i.id,null))},label:i.label,description:i.description})},i.id):null}}(em,u)},eA={...($=ev?.maximumJobDuration??0,eu=(0,p.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{field_job_application_link:S.string().when("field_job_application_workflow",e=>"external"===e?S.string().required(ec.formatMessage({id:"field_required",defaultMessage:"Field is required"})):S.string().nullable()),field_job_application_email:S.string().when("field_job_application_workflow",e=>"internal"===e||"quick"===e?S.string().required(ec.formatMessage({id:"field_required",defaultMessage:"Field is required"})):S.string().nullable()),...eu&&{[F.FIELD_JOB_DURATION]:S.number().max($,ec.formatMessage({id:"job_duration_max_value",defaultMessage:"The maximum number of days online is {maxValue}."},{maxValue:$}))}}),...function(e,i,n=0,a){let t=(0,p.Ob)().JOBS.SCHEDULED_JOB_FEATURE_ACTIVE,{FIELD_NUMBER:l}=(0,Q.w)(),{maxAllowedDuration:r}=X(a,i,n);return{...t&&{[F.FIELD_JOB_DURATION]:S.number().typeError(l).max(r,e.formatMessage({id:"job_duration_max_value",defaultMessage:"The maximum number of days online is {maxValue}."},{maxValue:r}))}}}(ec,ev?.maximumJobDuration??0,B?.extendedDuration??void 0,u),...function({FIELD_REQUIRED:e}){return{field_job_app_questions:S.array().of(S.object().shape({question:S.string().nullable().required(e),required:S.boolean()}))}}(ej)};return eS?(0,a.jsx)(ed.g,{children:(0,a.jsx)(s.$,{children:(0,a.jsx)(r.A,{id:"form_loading",defaultMessage:"Loading form..."})})}):(0,a.jsx)(ed.g,{children:(0,a.jsx)("div",{className:"job-form",children:(0,a.jsx)(d.A,{showLabel:!1,name:"node",bundle:e,...u?{entity:u}:null,fieldGroups:ef,...eF,overrides:eE,extraValidationSchema:eA,extraInitialValues:ex,fieldErrorList:M,onCancel:n,onSubmit:i,renderButtons:e
298=>(0,a.jsx)(m,{...e,showButtons:c,submittingJobMutation:P,saveLabel:g}),...J,children:(0,a.jsx)("div",{className:eB().previewContainer,children:(0,a.jsx)(eL,{jobType:e,isEdit:eg})})})})})}},48796:(e,i,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/job/edit/[id]",function(){return n(16480)}])},50797:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"maximumJobDuration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"name"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bundle"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"field_types"}},type:{kind:"NamedType",name:{kind:"Name",value:"FieldTypes"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"definition"},name:{kind:"Name",value:"entityDefinition"},arguments:[{kind:"Argument",name:{kind:"Name",value:"entity_type"},value:{kind:"Variable",name:{kind:"Name",value:"name"}}},{kind:"Argument",name:{kind:"Name",value:"bundle"},value:{kind:"Variable",name:{kind:"Name",value:"bundle"}}},{kind:"Argument",name:{kind:"Name",value:"field_types"},value:{kind:"Variable",name:{kind:"Name",value:"field_types"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maximumJobDuration"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:306}};i.loc.source={body:"query maximumJobDuration(\n  $name: String!\n  $bundle: String\n  $field_types: FieldTypes\n  $language: String\n) {\n  definition: entityDefinition(\n    entity_type: $name\n    bundle: $bundle\n    field_types: $field_types\n    language: $language\n  ) {\n    fields {\n      id\n      maximumJobDuration\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.maximumJobDuration=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"maximumJobDuration")},51350:(e,i,n)=>{"use strict";n.r(i),n.d(i,{DEFAULT_JOB_PUBLISHING_DATE:()=>k,FIELD_JOB_PUBLISHING_DATE:()=>g,JobFormPublishingDateInput:()=>p,default:()=>h});var a=n(37876),t=n(14232),l=n(77742),r=n(10582),d=n(37944),s=n(2766),o=n(66386),u=n(46680),c=n(7241),m=n(211
29879),v=n(46383),f=n(76421);let g="field_job_publishing_date",k=new Date;function p({isReadOnly:e,value:i}){let n=(0,l.A)(),{locale:h}=(0,t.useContext)(r.B),{control:b,formState:{errors:_},setValue:j}=(0,o.xW)(),x=(0,s.ty)(n),S=n.formatMessage({id:"job_publishing_date_label",defaultMessage:"Publishing date"});return(0,t.useEffect)(()=>{i&&!e&&j(g,(0,d.A)(new Date(i),"yyyy-MM-dd"))},[i]),e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.xI,{name:g,control:b,render:({field:e,fieldState:{error:t}})=>(0,a.jsx)(c.p,{...e,error:!!t,id:g,label:S,type:"text",disabled:!0,value:(0,u.TT)(i,n)})}),(0,a.jsx)(m.R,{children:n.formatMessage({id:"job_publishing_date_description_read_only",defaultMessage:"You cannot change the publishing date for an already published job."})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.xI,{name:g,control:b,render:({fieldState:{error:t}})=>(0,a.jsx)(v.B,{id:g,minDate:new Date,label:S,description:n.formatMessage({id:"job_publishing_date_description",defaultMessage:"Please set the date when the job should be published (note: if the review needs some time the job will be published as soon as possible)"}),placeholder:n.formatMessage({id:"job_publishing_date_placeholder",defaultMessage:"Date"}),error:!!t,initialDate:i?new Date(i):k,locale:h,readOnly:e,displayFormat:x,onDateChange:e=>{e&&j(g,(0,d.A)(e,"yyyy-MM-dd"))}})}),_[g]&&!e&&(0,a.jsx)(f.W,{message:_[g]?.message})]})}let h=p},52776:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OrganizationOnJobFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrganizationProfile"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urlNoPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"job_squared_logo_medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_cover",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"wide",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_1"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_1",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_2"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_2",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_3"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_3",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"videos"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"source"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"coverTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"workflowState"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hiddenFields"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canEdit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"urlAlias"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"organization"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"isPremium"},arguments:[],directives:[]}]}}],loc:{start:0,end:916}};i.loc.source={body:'fragment OrganizationOnJobFragment on OrganizationProfile {\n  id\n  name\n  url {\n    path\n  }\n  urlNoPrefix\n  logo(style: "job_squared_logo_medium") {\n    url\n    alt\n    title\n  }\n  cover(style: "organization_cover") {\n    url\n    alt\n    title\n    width\n    height\n  }
298\n  gallery(style: "wide") {\n    url\n    alt\n    title\n    width\n    height\n  }\n  gallery_thumb_1: gallery(style: "organization_gallery_thumb_1") {\n    url\n    alt\n    title\n  }\n  gallery_thumb_2: gallery(style: "organization_gallery_thumb_2") {\n    url\n    alt\n    title\n  }\n  gallery_thumb_3: gallery(style: "organization_gallery_thumb_3") {\n    url\n    alt\n    title\n  }\n  videos {\n    id\n    type\n    source\n    coverTitle\n    cover(style: "medium") {\n      url\n      width\n      height\n    }\n  }\n  workflowState {\n    value\n  }\n  hiddenFields\n  canEdit\n  industry {\n    tid\n    label\n    urlAlias\n  }\n  organization {\n    id\n  }\n  isPremium\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.OrganizationOnJobFragment=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"OrganizationOnJobFragment")},53965:e=>{e.exports={drawerOverlay:"drawer_drawerOverlay__XFuSO",sideNavBlock:"drawer_sideNavBlock__G9AZ_",sideNavBlockPositionRight:"drawer_sideNavBlockPositionRight__nOkGN",sideNavBlockPositionLeft:"drawer_sideNavBlockPositionLeft__LRe4G",sideNavBlockPositionTop:"drawer_sideNavBlockPositionTop__pelL9",sideNavBlockPositionBottom:"drawer_sideNavBlockPositionBottom__LFjHG",sideNavBlockFull:"drawer_sideNavBlockFull__UH4tH",focusArea:"drawer_focusArea__sHOXM"}},56144:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OrganizationFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrganizationProfile"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canEdit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"urlNoPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alternativeName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"organizationLocation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"administrativeArea"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locality"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"job_squared_logo_medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_cover",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"teaserCover"},name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_teaser_cover",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"presentation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contactPersons"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"academicPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"academicPostfix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contactInfo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"linkedinProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"photo"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"wide",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_1"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_1",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_2"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_2",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"gallery_thumb_3"},name:{kind:"Name",value:"gallery"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"organization_gallery_thumb_3",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"videos"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"source"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"coverTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cover"},arguments:[{kind:"Argument",name:{kind:"Name",value:"style"},value:{kind:"StringValue",value:"medium",block:!1}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"furtherLocations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locality"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"size"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"occupation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"benefits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"fieldsOfStudy"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"linkedinProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"twitterProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"facebookProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"youtubeProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"xingProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"instagramProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tiktokProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"blueSkyProfile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"workflowState"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hiddenFields"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"organization"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerId"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"faq"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"answer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"question"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"isPremium"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMinisiteEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"organizationJobsCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attachments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"frontends"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metatags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:2128}};i.loc.source={body:'fragment OrganizationFragment on OrganizationProfile {\n  id\n  name\n  ownerId\n  canEdit\n  url {\n    path\n  }\n  urlNoPrefix\n  alternativeName\n  organizationLocation {\n    address\n    countryCode\n    addressLine1\n    addressLine2\n    administrativeArea\n    locality\n    zip\n    lat\n    lon\n    city\n    countryName\n  }\n  logo(style: "job_squared_logo_medium") {\n    url\n    alt\n    title\n  }\n  cover(style: "organization_cover") {\n    url\n    alt\n    title\n    width\n    height\n  }\n  teaserCover: cover(style: "organization_teaser_cover") {\n    url\n    alt\n    title\n    width\n    height\n  }\n  presentation\n  contactPersons {\n    id\n    salutation\n    academicPrefix\n    firstName\n    lastName\n    academicPostfix\n    email\n    phone\n    position\n    contactInfo\n    linkedinProfile\n    photo(style: "
298medium") {\n      url\n    }\n  }\n  gallery(style: "wide") {\n    url\n    alt\n    title\n    width\n    height\n  }\n  gallery_thumb_1: gallery(style: "organization_gallery_thumb_1") {\n    url\n    alt\n    title\n  }\n  gallery_thumb_2: gallery(style: "organization_gallery_thumb_2") {\n    url\n    alt\n    title\n  }\n  gallery_thumb_3: gallery(style: "organization_gallery_thumb_3") {\n    url\n    alt\n    title\n  }\n  videos {\n    id\n    type\n    source\n    coverTitle\n    cover(style: "medium") {\n      url\n      width\n      height\n    }\n  }\n  furtherLocations {\n    id\n    address {\n      addressLine1\n      countryCode\n      zip\n      locality\n      lat\n      lon\n    }\n    name\n  }\n  size {\n    tid\n    label\n  }\n  occupation {\n    tid\n    label\n  }\n  industry {\n    tid\n    label\n  }\n  benefits {\n    tid\n    label\n  }\n  fieldsOfStudy {\n    tid\n    label\n  }\n  linkedinProfile\n  twitterProfile\n  facebookProfile\n  youtubeProfile\n  xingProfile\n  instagramProfile\n  tiktokProfile\n  blueSkyProfile\n  website\n  workflowState {\n    value\n    label\n  }\n  hiddenFields\n  organization {\n    id\n    name\n    ownerId\n  }\n  faq {\n    id\n    answer\n    question {\n      label\n      tid\n    }\n  }\n  isPremium\n  isMinisiteEnabled\n  organizationJobsCount\n  attachments {\n    id\n    url\n    fileName\n  }\n  frontends\n  metatags {\n    meta\n    value\n  }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.OrganizationFragment=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"OrganizationFragment")},57370:(e,i,n)=>{"use strict";n.d(i,{d:()=>t});var a=n(14232);let t=(e,i)=>{let[n,t]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let n=setTimeout(()=>{t(e)},i);return()=>{clearTimeout(n)}},[e,i]),n}},58588:(e,i,n)=>{"use strict";n.d(i,{G:()=>r});var a=n(37876);n(14232);let t=e=>"currentColor"===e?"":`var(--color-${e})`,l=({title:e,theme:i=null,titleId:n="",...t})=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",xmlSpace:"preserve",width:"1em",height:"1em","aria-labelledby":n,...t,children:[e?(0,a.jsx)("title",{id:n,children:e}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M73 50c0-12.7-10.3-23-23-23S27 37.3 27 50m3.9 0c0-10.5 8.5-19.1 19.1-19.1S69.1 39.5 69.1 50",children:(0,a.jsx)("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"})})]}),r=({color:e="currentColor",title:i,fill:n,...r})=>(0,a.jsx)(l,{color:t(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:t(e),fill:t(e)}}:null,fill:n??t(e),title:i,...r})},58824:(e,i,n)=>{"use strict";n.d(i,{G:()=>function e(i,n){let a=n.find(e=>e?.code===i),t=[];if(a?.code){t=[a.code];let i=n.filter(e=>e.parent?.tid.toString()===a.code);i.length>0&&i.forEach(i=>{t=[...t,...e(i.code,n)]})}return t},I:()=>a});let a=e=>{let i=e.settings.filter(e=>"handler_settings"===e.key);return i.length>0?Object.keys(i[0].value.target_bundles):[]}},60010:(e,i,n)=>{"use strict";n.d(i,{v:()=>t});var a=n(14232);let t=({content:e,id:i,identifier:n})=>{let t=/<script\b[^>]*>([\s\S]*?)<\/script>
298/gi,l=e&&[...e?.matchAll(t)],r=e?.replace(t,"");return(0,a.useEffect)(()=>{let e=document.getElementsByTagName("head")[0];return l&&l.forEach((a,t)=>{let l=`${n}-script-${i}-${t}`,r=a[0],d=/<script\b[^>]*\ssrc\s*=\s*["'][^"']*["'][^>]*>/.test(r),s=document.createElement("script");s.id=l;let o=document.createElement("div");o.innerHTML=r;let u=o.firstChild?.attributes;if(u)for(let e=0;e<u.length;e++){let i=u[e];s.setAttribute(i.name,i.value)}if(d){let e=r.match(/<script\b[^>]*\ssrc\s*=\s*(['"])(.*?)\1[^>]*>/i);e&&(s.src=e[2])}else{var c=document.createTextNode(a[1]);s.appendChild(c)}let m=document.getElementById(i);m&&e.removeChild(m),e.appendChild(s)}),()=>{document.querySelectorAll(`script[id^=${n}-script-${i}]`).forEach(e=>e.remove())}},[e,i]),{strippedJsString:r}}},60390:e=>{e.exports={printResume:"print_printResume__4A3sW",hidePrintResume:"print_hidePrintResume__4vN14"}},62055:(e,i,n)=>{"use strict";n.r(i),n.d(i,{StringWidget:()=>_,default:()=>_});var a=n(37876),t=n(14232),l=n(66386),r=n(81068),d=n(7241),s=n(76421),o=n(35856),u=n(92347),c=n(12140),m=n(65656),v=n(3098),f=n(49125),g=n(21179),k=n(8733),p=n(62864),h=n(62478);function b(e,i){return"email"!==i.type||p.string().email().isValidSync(e)}function _({entityField:e,fieldRules:i={},required:n=!1,defaultValue:p,...j}){let{setValue:x,getValues:S,control:y,setError:N}=(0,l.xW)(),F=S(),{hidden:E,disabled:A,required:w}=(0,o.bA)(e.id,F,i),{EMAIL_VALIDATION:D}=(0,h.w)();if((0,t.useEffect)(()=>{E&&F[e.id]&&x(e.id,null)},[E,F,e]),E)return null;if(!e.multiple)return(0,a.jsx)(l.xI,{name:e.id,control:y,render:({field:i,fieldState:{error:n}})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.p,{...i,id:i.name,type:e.type,required:e.required||w,disabled:e.disabled||A,error:!!n,label:e.label,size:40,description:e.description,placeholder:(0,r.G)(e),maxLength:(0,r.P)("max_length",e),min:(0,r.P)("min",e),max:(0,r.P)("max",e),...j,onChange:n=>{"integer"===e.type?x(i.name,Number.parseInt(n.currentTarget.value),{shouldValidate:!0}):x(i.name,n.currentTarget.value,{shouldValidate:!0})}}),!!n&&(0,a.jsx)(s.W,{message:n.message})]})});{let{fields:i,remove:o,append:h}=(0,l.jz)({control:y,name:e.id});return(0,t.useEffect)(()=>{p&&x(e.id,[p])},[p]),(0,a.jsx)("div",{children:(0,a.jsxs)(a.Fragment,{children:[i.map((i,t)=>{let f=`${e.id}.${t}`;return(0,a.jsxs)(v.A,{flexWrap:"nowrap",alignItems:"center",children:[(0,a.jsx)(l.xI,{name:f,control:y,render:({field:i,fieldState:{error:l}})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.p,{...i,name:f,id:f,type:e.type,required:e.required||n||w,disabled:e.disabled||A,error:!!l,...0===t&&{label:e.label},size:40,placeholder:(0,r.G)(e),maxLength:(0,r.P)("max_length",e),onBlur:i=>{"integer"===e.type?x(f,Number.parseInt(i.currentTarget.value)):x(f,i.currentTarget.value)}}),l&&(0,a.jsx)(s.W,{message:l.message})]})}),(0,a.jsxs)(u.$n,{raised:!1,iconed:!0,buttonStyle:"danger",type:"button",style:{marginTop:"1rem"},onClick:()=>{o(t)},children:[(0,a.jsx)(c.U,{title:"remove"}),(0,a.jsx)("span",{children:(0,a.jsx)(k.A,{id:"remove_email",defaultMessage:"Remove email"})})]}),(0,a.jsx)(m.K,{})]},i.id)}),(0,a.jsx)(m.K,{}),(0,a.jsx)(l.xI,{name:`${e.id}_add`,control:y,render:({field:t,fieldState:{error:l}})=>(0,a.jsxs)("div",{children:[(0,a.jsxs)(v.A,{gap:3,alignItems:"center",children:[(0,a.jsx)(d.p,{...t,name:`${e.id}_add`,id:`${e.id}_add`,"data-test-id":"add-email-input",type:e.type,required:F[e.id]?.length===0&&(e.required||n||w),...0===i.length&&{label:e.label},disabled:e.disabled||A,error:!!l,size:40,placeholder:(0,r.G)(e),maxLength:(0,r.P)("max_length",e),onBlur:i=>{t.value&&b(t.value,e)&&(h(t.value),t.onChange(""),i.relatedTarget?.type==="submit"&&i.relatedTarget.click())}}),(0,a.jsxs)(u.$n,{raised:!1,iconed:!0,buttonStyle:"primary",type:"button",style:{marginTop:"1rem"},"data-test-id":"button-add-email",onClick:()=>{let i=b(t.value,e);i||N(`${e.id}_add`,{message:D}),t.value&&i&&(h(t.value),t.onChange(""))},children:[(0,a.jsx)(f.R,{title:"add"}),(0,a.jsx)("span",{children:(0,a.jsx)(k.A,{id:"add_email",defaultMessage:"Add email"})})]})]}),l&&(0,a.jsx)(m.K,{children:(0,a.jsx)(s.W,{message:l.message})})]})}),(0,a.jsx)(g.R,{children:e.description})]})})}}},63200:(e,i,n)=>{"use strict";n.d(i,{o:()=>t});var a=n(58318);let t=()=>{let{state:e,dispatch:i}=(0,a.Pj)();return{addMessage:e=>{i({type:"addMessage",message:e})},removeMessage:e=>{i({type:"addMessage",message:e})},messages:e&&e.messages?e.messages:[]}}},64567:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CustomOrganizationFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrganizationProfile"}}
298,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:101}};i.loc.source={body:"fragment CustomOrganizationFields on OrganizationProfile {\n  id\n  industry {\n    tid\n    label\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.CustomOrganizationFields=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"CustomOrganizationFields")},64672:(e,i,n)=>{"use strict";n.r(i),n.d(i,{FIELD_JOB_DURATION:()=>x,JobFormDurationInput:()=>S,default:()=>y});var a=n(37876),t=n(14232),l=n(77742),r=n(52512),d=n(52044),s=n(10582),o=n(51350),u=n(66386),c=n(46680),m=n(7241),v=n(21179),f=n(76421),g=n(3098),k=n(56897),p=n(65656),h=n(18370);function b({maxValue:e,publishingDate:i}){let n=(0,l.A)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(g.q,{alignItems:"baseline",gap:3,children:[(0,a.jsx)(k.Z,{children:(0,a.jsx)(h.C,{color:"primary"})}),(0,a.jsx)(k.Z,{children:(0,a.jsx)(v.R,{children:n.formatMessage({id:"job_duration_runtime_expiration_days_online",defaultMessage:"This job will be online for {daysOnline} days"},{daysOnline:(0,a.jsx)("strong",{children:e})})})})]}),(0,a.jsx)(p.K,{}),(0,a.jsx)(v.R,{children:n.formatMessage({id:"job_duration_runtime_expiration_datetime",defaultMessage:"Based on the start date and runtime, the job will go offline on {date} at {time}."},{date:(0,a.jsx)("b",{children:(0,c.TT)((0,r.A)(new Date(i),Number(e)),n)}),time:(0,a.jsx)("b",{children:n.formatTime(new Date)})})})]})}var _=n(46383),j=n(2766);let x="field_job_duration";function S({maxValue:e,defaultValue:i,extendedRuntime:n=!1,useDatePicker:g=!1,initialPublishingDate:k}){let p=(0,l.A)(),{locale:h}=(0,t.useContext)(s.B),y=(0,j.ty)(p),{setValue:N,control:F,formState:{errors:E},watch:A}=(0,u.xW)(),w=A(o.FIELD_JOB_PUBLISHING_DATE),D=A(x)??i,O=w||k,T=D&&O?(0,r.A)((0,j.l4)(O),Number(D)):null;if((0,t.useEffect)(()=>{N(x,i)},[e,i]),n)return(0,a.jsx)(b,{maxValue:e,publishingDate:w});let I=e=>{if(e&&O){let i=(0,d.A)(e,(0,j.l4)(O));N(x,i>0?i:1)}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.xI,{name:x,control:F,render:({field:t,fieldState:{error:l}})=>g?(0,a.jsx)(_.B,{id:x,label:p.formatMessage({id:"job_end_date_label",defaultMessage:"End date"}),description:p.formatMessage({id:"job_end_date_description",defaultMessage:"Select the date when the job should go offline"}),placeholder:p.formatMessage({id:"job_end_date_placeholder",defaultMessage:"End date"}),error:!!l,initialDate:T||(0,r.A)(O?(0,j.l4)(O):new Date,i||30),locale:h,readOnly:n,displayFormat:y,minDate:O?(0,r.A)((0,j.l4)(O),1):new Date,maxDate:O?(0,r.A)((0,j.l4)(O),e||30):void 0,onDateChange:I}):(0,a.jsx)(m.p,{...t,value:t.value??i,id:x,type:"number",readOnly:n,error:!!l,label:p.formatMessage({id:"job_duration_label",defaultMessage:"Days online"}),size:40,description:p.formatMessage({id:"job_duration_description",defaultMessage:"The days online are set to the default {defaultValue} days.{br}If you need to take the job posting offline earlier, please adapt the day."},{defaultValue:i,br:(0,a.jsx)("br",{})}),placeholder:p.formatMessage({id:"job_duration_placeholder",defaultMessage:"Duration"}),min:1,max:e,onChange:e=>N(x,Number.parseInt(e.currentTarget.value))})}),T&&!g&&(0,a.jsx)(v.R,{children:p.formatMessage({id:"job_duration_expiration_datetime",defaultMessage:"Based on the start date and runtime, the job will go offline on {date} at {time}."},{date:(0,a.jsx)("b",{children:(0,c.TT)(T,p)}),time:(0,a.jsx)("b",{children:p.formatTime(new Date)})})}),E[x]&&(0,a.jsx)(f.W,{message:E[x]?.message})]})}let y=S}
298,65050:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getAutoSuggestions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"title"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"description"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"getAutoSuggestions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"title"},value:{kind:"Variable",name:{kind:"Name",value:"title"}}},{kind:"Argument",name:{kind:"Name",value:"description"},value:{kind:"Variable",name:{kind:"Name",value:"description"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"terms"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"autofill"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:230}};i.loc.source={body:"query getAutoSuggestions($title: String!, $description: String!) {\n  getAutoSuggestions(title: $title, description: $description) {\n    name\n    terms {\n      tid\n      label\n    }\n    autofill {\n      tid\n      label\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.getAutoSuggestions=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"getAutoSuggestions")},66742:e=>{e.exports={editorWrapper:"wysiwyg_editorWrapper__meioL"}},70185:e=>{e.exports={chip:"chip_chip__kRRSJ",chipDefault:"chip_chipDefault__vRv9Y",chipPrimary:"chip_chipPrimary__SzqtU",chipSecondary:"chip_chipSecondary__IQs21",icon:"chip_icon__FVIT0",iconDefault:"chip_iconDefault__4VbRO",iconPrimary:"chip_iconPrimary__5efZS",iconSecondary:"chip_iconSecondary__luiFc"}},71850:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"recruiterSideMenu"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"menu"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"recruiterSideMenu"},name:{kind:"Name",value:"menu"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"menu"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"children"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:390}};i.loc.source={body:"query recruiterSideMenu($menu: String!, $language: String) {\n  recruiterSideMenu: menu(name: $menu, language: $language) {\n    name\n    items {\n      title\n      url {\n        path\n      }\n      class\n      target\n      icon {\n        url\n      }\n      children {\n        title\n        class\n        url {\n          path\n        }\n        icon {\n          url\n        }\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
298!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.recruiterSideMenu=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"recruiterSideMenu")},72247:e=>{e.exports={title:"autosuggestions_title__OpYNY",autoSuggestions:"autosuggestions_autoSuggestions__s_xlG"}},74352:(e,i,n)=>{"use strict";n.r(i),n.d(i,{FIELD_JOB_EXPIRATION_DATE:()=>s,JobFormExpirationDate:()=>o,default:()=>u});var a=n(37876),t=n(77742),l=n(46680),r=n(7241),d=n(21179);let s="field_job_expiration_date";function o({value:e}){let i=(0,t.A)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.p,{id:s,label:i.formatMessage({id:"job_expiration_date_label",defaultMessage:"Expiration date"}),type:"text",disabled:!0,value:(0,l.TT)(e,i)}),(0,a.jsx)(d.R,{children:i.formatMessage({id:"job_expiration_date_description",defaultMessage:"You cannot change the expiration date for an already published job."})})]})}let u=o},74386:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteAlert"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"token"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteJobAlert"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"token"},value:{kind:"Variable",name:{kind:"Name",value:"token"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alert"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:137}};i.loc.source={body:"mutation deleteAlert($id: Int!, $token: String) {\n  deleteJobAlert(id: $id, token: $token) {\n    errors\n    alert {\n      id\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.deleteAlert=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"deleteAlert")},77471:(e,i,n)=>{"use strict";n.r(i),n.d(i,{TaxonomyReferenceMultiple:()=>h,default:()=>b});var a=n(37876),t=n(14232),l=n(31167),r=n(77742),d=n(66386),s=n(10582),o=n(84811),u=n.n(o),c=n(58824),m=n(81068),v=n(80841),f=n(32024),g=n(76421),k=n(35856),p=n(75913);let h=({entityField:e,fieldRules:i={},refresh:n})=>{let o=(0,t.useContext)(s.B),{control:h,getValues:b,setValue:_}=(0,d.xW)(),j=b(),{hidden:x,required:S,hideSubTreeElements:y}=(0,k.bA)(e.id,j,i),{getConfigByName:N}=(0,p.UK)(),F=!!N("jobiqo_job_salary_range_free_input")?.value[0],[E,A]=(0,t.useState)(""),w=(0,r.A)(),D=j?.[e.id]?.map(e=>Number(e.tid))||[],{loading:O,error:T,data:I,previousData:C,refetch:P}=(0,l.I)(u(),{variables:{vocabularies:(0,c.I)(e),freeTids:D,language:o?.locale}}),L=I??C;(0,t.useEffect)(()=>{P()},[n,P]),(0,t.useEffect)(()=>{x&&j[e.id]&&(0,t.startTransition)(()=>{_(e.id,[])})},[x,j,e,_]),(0,t.useEffect)(()=>{y&&(y.includes(j[e.id])||y?.some(i=>j?.[e.id]?.map(e=>e.tid)?.includes(i)))&&(0,t.startTransition)(()=>{_(e.id,[])})},[y,j,e,_]);let z=(0,t.useMemo)(()=>
298{if(!L)return[];let e=L.vocabulariesTerms.map(e=>{let i=e?.parent;return{...e,name:i&&E?`${e.name} (${i?.name})`:e.name,code:e.code.toString(),parent:i}});return y&&y.forEach(i=>{let n=(0,c.G)(i.toString(),e);e=e.filter(e=>!n.includes(e.code))}),Array.from(new Map(e.map(e=>[e.code,e])).values())},[L,E,y]),B=(0,t.useCallback)(e=>{A(e)},[]),M=(0,t.useCallback)((i,n)=>{(0,t.startTransition)(()=>{let a=[...z,...i.filter(e=>!z.some(i=>i.code===e?.tid?.toString())).map(e=>({name:e.label,code:e?.tid?.toString(),parent:e?.parent?.tid}))],t=i.map(e=>a.find(i=>i.code===e)).filter(e=>!!e).map(e=>({tid:Number(e.code),label:e.name,parent:a.find(i=>i.code===e.code)?.parent}));_(e.id,t,{shouldValidate:!0,shouldDirty:!0}),n&&n?.length>0&&_(`${e.id}_free`,n.filter(e=>!!e),{shouldValidate:!0,shouldDirty:!0})})},[z,_,e.id]);return x||O&&!L||"field_job_salary_range"==e.id&&F?null:T?(0,a.jsx)(v.s,{alertStyle:"danger",type:"assertive",children:"Error loading terms for field."}):(0,a.jsx)(d.xI,{name:e.id,control:h,render:({field:i,fieldState:{error:n}})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f.Z,{...i,id:i.name,selectedMark:w.formatMessage({id:"multiple_autocomplete_selected_mark",defaultMessage:"Selected"}),label:e.label,description:e.description,placeholder:(0,m.G)(e),required:e.required||S,values:i.value.map(e=>e.tid.toString()),items:z,hasFreeItems:Object.keys(e?.settings?.filter(e=>"handler_settings"===e.key)?.[0]?.value?.target_bundles).some(e=>e.includes("free_tagging")),freeItemsAddButtonText:w.formatMessage({id:"multiple_autocomplete_add_button_text",defaultMessage:"Add free term"}),onChange:M,error:!!n,onInputChange:B}),!!n&&(0,a.jsx)(g.W,{message:n.message})]})})},b=h},80228:e=>{e.exports={inputIcon:"select_inputIcon__VbZqJ",inputWrapper:"select_inputWrapper__ql2en",iconStart:"select_iconStart__I22_S",iconEnd:"select_iconEnd__o26AP",jclInputClear:"select_jclInputClear__PTtX8",input:"select_input__2Szai",inputError:"select_inputError__U75yy",inputIconEnd:"select_inputIconEnd__9hzKk",inputIconStart:"select_inputIconStart__QlMhl",select:"select_select__Lq7YX",relative:"select_relative__K9qB2"}},81528:e=>{e.exports={hr:"Hr_hr__N6zbU"}},83687:(e,i,n)=>{"use strict";n.d(i,{A:()=>r,q:()=>r});var a=n(37876);n(14232);var t=n(29913),l=n.n(t);function r({children:e,isActive:i,isOpen:n,...t}){return(0,a.jsx)("div",{className:l().item,style:{...i?{background:"var(--select-item-background-hover)"}:null,...n?{fontWeight:700}:null},...t,children:e})}},84811:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"taxonomyValues"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"vocabularies"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"freeTids"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"vocabulariesTerms"},name:{kind:"Name",value:"termTree"},arguments:[{kind:"Argument",name:{kind:"Name",value:"vids"},value:{kind:"Variable",name:{kind:"Name",value:"vocabularies"}}},{kind:"Argument",name:{kind:"Name",value:"freeTids"},value:{kind:"Variable",name:{kind:"Name",value:"freeTids"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"code"},name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"name"},name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"depth"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:274}};i.loc.source={body:"query taxonomyValues($vocabularies: [String]!, $freeTids: [Int], $language: String) {\n  vocabulariesTerms: termTree(vids: $vocabularies, freeTids: $freeTids, language: $language) {\n    name: label\n    code: tid\n    parent {\n      tid\n      name: label\n    }\n    depth\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;
298!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.taxonomyValues=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"taxonomyValues")},85234:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createSimilarJobAlert"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"JobAlertInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"createJobAlert"},name:{kind:"Name",value:"createSimilarJobAlert"},arguments:[{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alert"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:166}};i.loc.source={body:"mutation createSimilarJobAlert($data: JobAlertInput!) {\n  createJobAlert: createSimilarJobAlert(data: $data) {\n    errors\n    alert {\n      id\n      name\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.createSimilarJobAlert=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"createSimilarJobAlert")},87829:(e,i,n)=>{"use strict";n.d(i,{P:()=>b,A:()=>_});var a=n(37876),t=n(14232),l=n(47562),r=n(78805),d=n(94643),s=n(18847),o=n.n(s),u=n(43062),c=n(66874),m=n(65656),v=n(7056);let f=o()(()=>Promise.resolve().then(n.bind(n,8466)),{loadableGenerated:{webpack:()=>[8466]},ssr:!1}),g=o()(()=>n.e(1887).then(n.bind(n,1887)),{loadableGenerated:{webpack:()=>[1887]},ssr:!1}),k=({children:e,fullWidthContainer:i=!1,mainContentSize:n="large",fixedHeader:t=!1,hideHeader:l=!1})=>(0,a.jsxs)(a.Fragment,{children:[!l&&(0,a.jsx)(d.A,{fixed:t}),i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("main",{children:[(0,a.jsx)(g,{fullWidth:!0}),(0,a.jsx)(u.ErrorBoundary,{fallback:(0,a.jsx)(f,{}),children:e})]}),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(v.w,{})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("main",{children:(0,a.jsxs)(c.g,{size:n,children:[(0,a.jsx)(m.K,{size:"large"}),(0,a.jsx)(g,{size:n}),(0,a.jsx)(m.K,{size:"large"}),(0,a.jsx)(u.ErrorBoundary,{fallback:(0,a.jsx)(f,{}),children:e})]})}),(0,a.jsx)(m.K,{marginTop:[8,12]}),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(v.w,{})})]})]});var p=n(35912),h=n(12958);let b=e=>{let i=(0,t.useContext)(l.Rs);return i.user&&((0,r.Gv)(i.user)||(0,r.vT)(i.user))?i.user&&(0,r.Gv)(i.user)?(0,a.jsx)(p.A,{...e}):(0,a.jsx)(h.A,{...e}):(0,a.jsx)(k,{...e})},_=b},88729:e=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"applicantSideMenu"}
298,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"menu"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"applicantSideMenu"},name:{kind:"Name",value:"menu"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"Variable",name:{kind:"Name",value:"menu"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"children"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"class"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:390}};i.loc.source={body:"query applicantSideMenu($menu: String!, $language: String) {\n  applicantSideMenu: menu(name: $menu, language: $language) {\n    name\n    items {\n      title\n      url {\n        path\n      }\n      class\n      target\n      icon {\n        url\n      }\n      children {\n        title\n        class\n        url {\n          path\n        }\n        icon {\n          url\n        }\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.applicantSideMenu=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"applicantSideMenu")},90362:(e,i,n)=>{"use strict";n.d(i,{f:()=>l});var a=n(78805),t=n(69139);let l=({gssp:e,redirectTo:i="/403",addDestinationParameterFromUrl:n=!0})=>async l=>{let r=await (0,a.wz)(l),d=await (0,a.wR)(l),s=await (0,a.Gv)(r),o=await (0,a.qc)(r);if(!d){let e="/user/login";return n&&(e+="?destination="+encodeURIComponent(l.resolvedUrl)),{redirect:{destination:(0,t.OM)(l,e),permanent:!1},props:{}}}return s||o?e?await e(l):{props:{}}:{redirect:{destination:(0,t.OM)(l,i),permanent:!1},props:{}}}},91098:(e,i,n)=>{"use strict";n.d(i,{T:()=>o});var a=n(37876),t=n(57738),l=n(45062),r=n(21179);n(14232);var d=n(38713),s=n.n(d);let o=({label:e,id:i,description:n,rows:d=10,columns:o,disabled:u=!1,required:c=!1,error:m=!1,...v})=>e?(0,a.jsxs)(t.e,{children:[(0,a.jsx)(l.l,{htmlFor:i,error:m,required:c,children:e}),(0,a.jsx)("textarea",{className:s().textarea,id:i,rows:d,style:{borderColor:m?"var(--color-danger)":"var(--input-border-color)",opacity:u?.5:1},required:c,disabled:u,...v}),n&&(0,a.jsx)(r.R,{children:n})]}):(0,a.jsx)("textarea",{className:s().textarea,id:i,rows:d,style:{borderColor:m?"var(--color-danger)":"var(--input-border-color)",opacity:u?.5:1},required:c,disabled:u,...v})},91793:(e,i,n)=>{"use strict";n.d(i,{_:()=>k});var a=n(37876),t=n(17175),l=n(66894),r=n.n(l),d=n(71411),s=n(14232),o=n(52639),u=n(53965),c=n.n(u);let m=(0,d.P)("div"),v={left:{open:{x:"0%",opacity:1,transition:{ease:"easeIn",duration:.3,staggerChildren:.3}},closed:{x:"-150%",opacity:0,transition:{ease:"easeOut",duration:.3,staggerChildren:.3}}},right:{open:{x:"0%",opacity:1,transition:{ease:"easeIn",duration:.3,staggerChildren:.3}},closed:{x:"200%",opacity:0,transition:{ease:"easeOut",duration:.3,staggerChildren:.3}}},bottom:{open:{y:"0%",opacity:1,transition:{ease:"easeIn",duration:.2,staggerChildren:.2}},closed:{y:"100%",opacity:0,transition:{ease:"easeOut",duration:.2,staggerChildren:.2}}},top:{open:{y:"0%",opacity:1,transition:{ease:"easeIn",duration:.3,staggerChildren:.3}},closed:{y:"-100%",opacity:0,transition:{ease:"easeOut",duration:.3,staggerChildren:.3}}}},f=(0,t.F)([c().sideNavBlock],{variants:{position:{left:c().sideNavBlockPositionLeft,right:c().sideNavBlockPositionRight,bottom:c().sideNavBlockPositionBottom,top:c().sideNavBlockPositionTop},full:{true:c().sideNavBlockFull}},defaultVariants:{position:"left",full:!1}}),g=e=>{e(!1)};function k({children:e,height:i,maxWidth:n,full:t=!1,isOpen:l=!1,position:d="left",allowDrag:u=!0,onToggle:p}
298){let[h,b]=(0,s.useState)(!1);(0,s.useEffect)(()=>{l?b(!0):b(!1)},[l]);let _=(0,a.jsx)(m,{className:f({position:d,full:t}),dragDirectionLock:!0,...u?{drag:"left"===d||"right"===d?"x":"y"}:null,dragElastic:0,"data-testid":"sidenav",onDragEnd:(e,i)=>{"left"===d&&i.point.x<0&&g(p),"right"===d&&i.point.x>0&&g(p),"top"===d&&i.point.y<0&&g(p),"bottom"===d&&i.point.y>0&&g(p)},onKeyDown:e=>{27===e.keyCode&&g(p)},initial:"closed",animate:l?"open":"closed",...d&&{variants:v[d],dragConstraints:"left"===d?{right:0}:"right"===d?{left:0}:"top"===d?{bottom:0}:"bottom"===d?{top:0}:{right:0}},style:{height:i,maxWidth:n},children:l&&(0,a.jsxs)(r(),{active:h,className:"focus-area",focusTrapOptions:{clickOutsideDeactivates:!0,escapeDeactivates:!1,onDeactivate:()=>b(!1)},children:[e,(0,a.jsx)("a",{href:"#",children:(0,a.jsx)(o.h,{children:"First targetable element"})})]})});return(0,a.jsxs)("div",{role:"navigation",children:[_,l&&(0,a.jsx)("button",{className:c().drawerOverlay,"data-testid":"sidenav-overlay",onClick:e=>g(p)})]})}},92172:e=>{var i={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OrganizationMinisiteFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OrganizationProfile"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"minisiteMenu"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"landingPage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fixedHeader"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"backgroundColor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxContainerSize"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"landingPageRows"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bundle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uuid"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"metatags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:316}};i.loc.source={body:"fragment OrganizationMinisiteFragment on OrganizationProfile {\n  minisiteMenu {\n    path\n    landingPage {\n      id\n      title\n      fixedHeader\n      backgroundColor\n      maxContainerSize\n      landingPageRows {\n        bundle\n        uuid\n      }\n      metatags {\n        meta\n        value\n      }\n    }\n  }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n<e.definitions.length;n++){var a=e.definitions[n];if(a.name&&a.name.value==i)return a}}i.definitions.forEach(function(e){if(e.name){var i=new Set;!function e(i,n){if("FragmentSpread"===i.kind)n.add(i.name.value);else if("VariableDefinition"===i.kind){var a=i.type;"NamedType"===a.kind&&n.add(a.name.value)}i.selectionSet&&i.selectionSet.selections.forEach(function(i){e(i,n)}),i.variableDefinitions&&i.variableDefinitions.forEach(function(i){e(i,n)}),i.definitions&&i.definitions.forEach(function(i){e(i,n)})}(e,i),n[e.name.value]=i}}),e.exports=i,e.exports.OrganizationMinisiteFragment=function(e,i){var t={kind:e.kind,definitions:[a(e,i)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=n[i]||new Set,r=new Set,d=new Set;for(l.forEach(function(e){d.add(e)});d.size>0;){var s=d;d=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(n[e]||new Set).forEach(function(e){d.add(e)}))})}return r.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"OrganizationMinisiteFragment")},97607:e=>{e.exports={box:"boxAction_box__hwfsd",boxDisabled:"boxAction_boxDisabled__fyz6W",wrapButton:"boxAction_wrapButton__4qIEh",wrapButtonDisabled:"boxAction_wrapButtonDisabled__c0bLA",icon:"boxAction_icon__tWDJE",iconDisabled:"boxAction_iconDisabled__AmCj0"}}},e=>{e.O(0,[1121,6701,9963,8230,4587,9307,319,4272,5406,8724,9511,3012,6032,4133,7302,7579,8564,8618,2557,2243,4170,512,1935,6989,7843,5411,3057,261,909,9099,8826,636,6593,8792],()=>e(e.s=48796)),_N_E=e.O()}]);
299//# sourceMappingURL=[id]-3d8dfb05e0ca2d46.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.