1import{c as h,f,j as e}from"./app-B4T_NdLo.js";import{h as d}from"./moment-B-YVwB4U.js";import{s as m}from"./index-BsxvijQw.js";import{S as j}from"./site-D_iwqIO4.js";/* empty css */import"./static-CD-6upxE.js";import"./sheet-B0e-5lyC.js";import"./index-Do44JZfF.js";import"./createLucideIcon-CaHMbPuB.js";function O(s){const t=h.c(11),{restaurantOpportunities:i,supportCenterOpportunities:n}=s,{asset_url:p}=f().props,x=`${p}/careers.png`;let l;t[0]!==x?(l=e.jsx("div",{className:"w-full h-64 md:h-96 bg-gray-200 overflow-hidden",children:e.jsx("img",{src:x,alt:"Careers",className:"w-full h-full object-cover"})}),t[0]=x,t[1]=l):l=t[1];let c;t[2]===Symbol.for("react.memo_cache_sentinel")?(c=e.jsx("h2",{className:"text-3xl md:text-4xl font-bold mt-8 mb-12 text-center",children:"Careers Opportunities"}),t[2]=c):c=t[2];let r;t[3]!==i?(r=i.length>0?e.jsxs(e.Fragment,{children:[e.jsx("h4",{className:"text-2xl md:text-3xl font-bold mb-6",children:"Restaurant Opportunities"}),e.jsx("div",{className:"container mx-auto mb-12",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{className:"bg-red-500 text-white",children:e.jsxs("tr",{className:"border-b",children:[e.jsx("th",{className:"text-left py-3 px-4 font-semibold",children:"Title"}),e.jsx("th",{className:"text-left py-3 px-4 font-semibold",children:"Location"}),e.jsx("th",{className:"text-left py-3 px-4 font-semibold",children:"Posting Date"}),e.jsx("th",{children:"Â "})]})}),e.jsx("tbody",{children:i.map(N)})]})})})]}):e.jsx("p",{className:"text-center text-gray-600 mb-12",children:"There are currently no restaurant opportunities available. Please check back later."}),t[3]=i,t[4]=r):r=t[4];let a;t[5]!==n?(a=n.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("h4",{className:"text-2xl md:text-3xl font-bold mb-6",children:"Restaurant Support Centre Opportunities"}),e.jsx("div",{className:"container mx-auto mb-12",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{className:"bg-red-500 text-white",children:e.jsxs("tr",{className:"border-b",children:[e.jsx("th",{className:"text-left py-3 px-4 font-semibold",children:"Title"}),e.jsx("th",{className:"text-left py-3 px-4 font-semibold",children:"Location"}),e.jsx("th",{className:"text-left py-3 px-4 font-semibold",children:"Posting Date"}),e.jsx("th",{children:"Â "})]})}),e.jsx("tbody",{children:n.map(b)})]})})})]}),t[5]=n,t[6]=a):a=t[6];let o;return t[7]!==l||t[8]!==r||t[9]!==a?(o=e.jsx(j,{children:e.jsx("main",{children:e.jsx("section",{className:"py-12 md:py-16",children:e.jsxs("div",{className:"container mx-auto px-4",children:[l,c,r,a]})})})}),t[7]=l,t[8]=r,t[9]=a,t[10]=o):o=t[10],o}function b(s,t){return e.jsxs("tr",{className:"border-b hover:bg-gray-50",children:[e.jsx("td",{className:"py-3 px-4",children:s.title}),e.jsx("td",{className:"py-3 px-4",children:s.location}),e.jsx("td",{className:"py-3 px-4",children:d(s.application_posting_date).format("MMMM D, YYYY")}),e.jsx("td",{className:"py-3 px-4 text-right",children:e.jsx("a",{href:m("view-job-posting",s.id),className:"text-white bg-red-600 py-2 px-4 hover:font-semibold hover:bg-red-700",children:"Apply"})})]},t)}function N(s,t){return e.jsxs("tr",{className:"border-b hover:bg-gray-50",children:[e.jsx("td",{className:"py-3 px-4",children:s.title}),e.jsx("td",{className:"py-3 px-4",children:s.location}),e.jsx("td",{className:"py-3 px-4",children:d(s.application_posting_date).format("MMMM D, YYYY")}),e.jsx("td",{className:"py-3 px-4 text-right",children:e.jsx("a",{href:m("view-job-posting",s.id),className:"text-white bg-red-600 py-2 px-4 hover:font-semibold hover:bg-red-700",children:"Apply"})})]},t)}export{O as default};
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.