export type Lang = "th" | "en" | "my";
export type Local = Record<Lang, string>;
export const L = (th:string,en:string,my:string):Local => ({th,en,my});

export const hotels = [
  {slug:"chillax-resort",name:"Chillax Resort Khaosan",site:"https://www.chillaxresort.com/",address:"272–274 Samsen Road, Samsen Soi 2, Phra Nakhon, Bangkok 10200",email:"hr@kpl.co.th",phone:"+66 2 629 4400",description:L("รีสอร์ตบูทีคย่านสามเสน ใกล้ถนนข้าวสาร ทุกห้องมีอ่างน้ำวนส่วนตัว พร้อมสระว่ายน้ำบนดาดฟ้า","A boutique resort on Samsen Road near Khaosan, with a private whirlpool bath in every room and a rooftop pool.","ခေါင်ဆန်လမ်းအနီး ဆမ်ဆင်လမ်းပေါ်ရှိ ဘူတစ်ရီဆော့ဖြစ်ပြီး အခန်းတိုင်းတွင် သီးသန့်ရေပူကန်နှင့် ခေါင်မိုးပေါ် ရေကူးကန်ရှိသည်။"),logo:"/assets/logos/chillax-resort.webp",images:["/assets/hotels/resort-building.webp","/assets/hotels/resort-room.webp","/assets/hotels/resort-pool.webp","/assets/hotels/resort-restaurant.webp","/assets/hotels/resort-lobby.webp"]},
  {slug:"chillax-heritage",name:"Chillax Heritage Hotel",site:"https://chillaxheritage.com/",address:"10 Phra Athit Road, Phra Nakhon, Bangkok 10200",email:"hr@kpl.co.th",phone:"+66 2 281 8899",description:L("โรงแรมบูทีคบนถนนพระอาทิตย์ ออกแบบด้วยแรงบันดาลใจจากรามเกียรติ์ มีห้องพัก สระบนดาดฟ้า และห้องอาหารศรีดา","A Phra Athit Road boutique hotel inspired by the Ramayana, with elegant rooms, a rooftop pool and Srida Cuisine.","ဖရာအာသစ်လမ်းရှိ ရာမယဏဇာတ်ကွက်မှ စိတ်ကူးရယူထားသော ဘူတစ်ဟိုတယ်ဖြစ်ပြီး အခန်းများ၊ ခေါင်မိုးပေါ်ရေကူးကန်နှင့် စားသောက်ဆိုင်ရှိသည်။"),logo:"/assets/logos/chillax-heritage.webp",images:["https://chillaxheritage.com/images/hotel-exterior.webp","https://chillaxheritage.com/images/deluxe-city-view-01.webp","https://chillaxheritage.com/images/pool-33.webp","https://chillaxheritage.com/images/restaurant-01.webp","https://chillaxheritage.com/images/lobby-hero.webp"]},
  {slug:"khaosan-palace",name:"Khaosan Palace Hotel",site:"https://www.khaosanpalace.com/",address:"139 Khaosan Road, Talad Yod, Phra Nakhon, Bangkok 10230",email:"hr@kpl.co.th",phone:"+66 2 282 0578",description:L("โรงแรมใจกลางถนนข้าวสาร มีห้องพักหลายสไตล์ สระบนดาดฟ้า คาเฟ่ และบาร์ริมสระ","A hotel right on Khaosan Road with varied rooms, a rooftop pool, café and sky pool bar.","ခေါင်ဆန်လမ်းမပေါ်ရှိ ဟိုတယ်ဖြစ်ပြီး အခန်းအမျိုးအစားများ၊ ခေါင်မိုးပေါ်ရေကူးကန်၊ ကဖေးနှင့် ဘားရှိသည်။"),logo:"/assets/logos/khaosan-palace.webp",images:[null,"/assets/hotels/palace-room.webp","https://www.khaosanpalace.com/pool-960.webp","https://www.khaosanpalace.com/facilities/cafe-04-480.webp","https://www.khaosanpalace.com/facilities/lobby-1-960.webp"]},
  {slug:"villa-de-khaosan",name:"Villa De Khaosan Hotel",site:"https://www.villadekhaosan.com/",address:"20 Chakrabongse Road, Phra Nakhon, Bangkok 10200",email:"hr@kpl.co.th",phone:"+66 2 281 4455",description:L("โรงแรมบูทีคใกล้ข้าวสารที่มีห้องพักคลาสสิก สระบนดาดฟ้า ห้องอาหาร และบาร์","A boutique Old Town hotel near Khaosan with classic rooms, a rooftop pool, restaurant and bar.","ခေါင်ဆန်အနီး ဘူတစ်ဟိုတယ်ဖြစ်ပြီး ရိုးရာဒီဇိုင်းအခန်းများ၊ ခေါင်မိုးပေါ်ရေကူးကန်၊ စားသောက်ဆိုင်နှင့် ဘားရှိသည်။"),logo:"/assets/logos/villa-de-khaosan.webp",images:["/assets/hotels/villa-building.webp","/assets/hotels/villa-room.webp","/assets/hotels/villa-pool.webp","https://www.villadekhaosan.com/images/restaurant.webp",null]},
  {slug:"sleep-withinn",name:"Sleep Withinn Khaosan",site:"https://www.sleepwithinn.com/",address:"76 Rambuttri Road, Phra Nakhon, Bangkok 10200",email:"hr@kpl.co.th",phone:"+66 2 280 3070",description:L("โรงแรมบนถนนรามบุตรี มีห้องพักคุ้มค่า สระว่ายน้ำบนดาดฟ้า และแผนกต้อนรับตลอด 24 ชั่วโมง","A value-focused Rambuttri Road hotel with four room types, a rooftop pool and a 24-hour front desk.","ရမ်ဘုတ်ထရီလမ်းပေါ်ရှိ တန်ဖိုးသင့်ဟိုတယ်ဖြစ်ပြီး အခန်းအမျိုးအစား လေးမျိုး၊ ခေါင်မိုးပေါ်ရေကူးကန်နှင့် ၂၄ နာရီ ဧည့်ကြိုဌာနရှိသည်။"),logo:"/assets/logos/sleep-withinn.webp",images:["https://www.sleepwithinn.com/images/facility-exterior-wide.webp","https://www.sleepwithinn.com/images/deluxe-02.webp","/assets/hotels/sleep-pool.webp",null,"/assets/hotels/sleep-lobby.webp"]},
  {slug:"rambuttri-village",name:"Rambuttri Village Hotel and Plaza",site:"https://www.rambuttrivillage.com/",address:"95 Soi Ram Buttri, Chakkra Phong Road, Phra Nakhon, Bangkok 10200",email:"info@khaosan-hotels.com",phone:"+66 2 282 9162",description:L("ที่พักสไตล์รีสอร์ตในย่านรามบุตรี มีพื้นที่ร้านค้า สวน ห้องอาหาร และสระว่ายน้ำบนดาดฟ้า","A resort-style Rambuttri stay with a plaza, garden, restaurant and rooftop pools.","ရမ်ဘုတ်ထရီဒေသရှိ ရီဆော့စတိုင် တည်းခိုရာဖြစ်ပြီး စျေးဆိုင်များ၊ ဥယျာဉ်၊ စားသောက်ဆိုင်နှင့် ခေါင်မိုးပေါ်ရေကူးကန်များရှိသည်။"),logo:"/assets/logos/rambuttri-village.webp",images:["/assets/hotels/rambuttri-building.webp","/assets/hotels/rambuttri-room.webp",null,null,"/assets/hotels/rambuttri-lobby.webp"]},
  {slug:"casa-vimaya",name:"Casa Vimaya Riverside",site:"https://casavimaya.com/",address:"229 Phra Sumen Road, Talad Yod, Phra Nakhon, Bangkok 10200",email:"info@casavimaya.com",phone:"+66 2 059 0595",description:L("โรงแรมบูทีคริมคลองบางลำพู มีห้องพักร่วมสมัย ห้องอาหารริมคลอง และสระบนดาดฟ้า","A canal-side boutique hotel with contemporary rooms, riverside dining and a rooftop pool.","ဘန်းလမ်ဖူးတူးမြောင်းဘေးရှိ ဘူတစ်ဟိုတယ်ဖြစ်ပြီး ခေတ်မီအခန်းများ၊ ရေပြင်ဘေးစားသောက်ဆိုင်နှင့် ခေါင်မိုးပေါ်ရေကူးကန်ရှိသည်။"),logo:"/assets/logos/casa-vimaya.webp",images:["/assets/hotels/vimaya-building.webp",null,null,null,null]},
  {slug:"casa-nithra",name:"Casa Nithra Hotel",site:"https://www.casanithra.com/main/",address:"176 Samsen Road, Baan Panthom, Phra Nakhon, Bangkok 10200",email:"info@casanithra.com",phone:"+66 2 628 6228",description:L("โรงแรมบูทีคบนถนนสามเสน ผสมศิลปะไทยกับความสะดวกสบายร่วมสมัย มีห้องอาหารและสระบนดาดฟ้า","A Samsen Road boutique hotel blending Thai art with contemporary comfort, a restaurant and rooftop pool.","ဆမ်ဆင်လမ်းရှိ ထိုင်းအနုပညာနှင့် ခေတ်မီသက်တောင့်သက်သာကို ပေါင်းစပ်ထားသော ဘူတစ်ဟိုတယ်ဖြစ်ပြီး စားသောက်ဆိုင်နှင့် ခေါင်မိုးပေါ်ရေကူးကန်ရှိသည်။"),logo:"/assets/logos/casa-nithra.webp",images:["/assets/hotels/nithra-building.webp",null,null,null,null]},
  {slug:"mulberry-khaosan",name:"The Mulberry Bangkok Khaosan",site:"https://www.themulberrybangkok.com/",address:"259 Khaosan Road, Talad Yod, Phra Nakhon, Bangkok 10200",email:"info@themulberrybangkok.com",phone:"+66 2 012 9080",description:L("โรงแรมบูทีคบนถนนข้าวสาร พร้อมห้องพักหลายประเภทและสิ่งอำนวยความสะดวกสำหรับนักเดินทาง","A Khaosan Road boutique hotel with several room styles and practical guest facilities.","ခေါင်ဆန်လမ်းပေါ်ရှိ ဘူတစ်ဟိုတယ်ဖြစ်ပြီး အခန်းအမျိုးအစားများနှင့် ခရီးသွားများအတွက် ဝန်ဆောင်မှုများရှိသည်။"),logo:"/assets/logos/mulberry-khaosan.webp",images:["/assets/hotels/mulberry-building.webp",null,null,null,null]}
] as const;

export const departments = [
 {slug:"management",name:L("ฝ่ายผู้บริหาร","Management","စီမံခန့်ခွဲမှု"),image:"team",icon:"◈"},
 {slug:"front-office",name:L("ฝ่ายต้อนรับส่วนหน้า","Front Office","ဧည့်ကြိုဌာန"),image:"front-office",icon:"▣"},
 {slug:"housekeeping",name:L("ฝ่ายแม่บ้าน","Housekeeping","အခန်းသန့်ရှင်းရေး"),image:"housekeeping",icon:"✦"},
 {slug:"food-beverage",name:L("ฝ่ายอาหารและเครื่องดื่ม","Food & Beverage","အစားအသောက်နှင့် အဖျော်ယမကာ"),image:"restaurant",icon:"◉"},
 {slug:"kitchen",name:L("ฝ่ายครัว","Kitchen","မီးဖိုချောင်"),image:"kitchen",icon:"◆"},
 {slug:"sales-marketing",name:L("ฝ่ายขายและการตลาด","Sales & Marketing","အရောင်းနှင့် စျေးကွက်ရှာဖွေရေး"),image:"sales",icon:"↗"},
 {slug:"accounting-finance",name:L("ฝ่ายบัญชีและการเงิน","Accounting & Finance","စာရင်းကိုင်နှင့် ဘဏ္ဍာရေး"),image:"finance",icon:"▤"},
 {slug:"engineering",name:L("ฝ่ายวิศวกรรมและซ่อมบำรุง","Engineering & Maintenance","အင်ဂျင်နီယာနှင့် ပြုပြင်ထိန်းသိမ်းရေး"),image:"engineering",icon:"⌘"},
 {slug:"human-resources",name:L("ฝ่ายทรัพยากรบุคคล","Human Resources","လူ့စွမ်းအားအရင်းအမြစ်"),image:"human-resources",icon:"◇"},
 {slug:"security",name:L("ฝ่ายรักษาความปลอดภัย","Security","လုံခြုံရေးဌာန"),image:"security",icon:"◈"},
 {slug:"purchasing",name:L("ฝ่ายจัดซื้อ","Purchasing","ဝယ်ယူရေး"),image:"purchasing",icon:"▦"},
 {slug:"it",name:L("ฝ่าย IT","IT","သတင်းအချက်အလက်နည်းပညာ"),image:"it",icon:"⌁"}
] as const;

type Role = {slug:string; dept:string; name:Local; detail:Local; available:boolean};
const role=(slug:string,dept:string,en:string,th:string,my:string,detail:Local,available=true):Role=>({slug,dept,name:L(th,en,my),detail,available});
export const roles:Role[]=[
 role("hotel-manager","management","Hotel Manager","ผู้จัดการทั่วไป","ဟိုတယ် မန်နေဂျာ",L("ดูแลภาพรวมทั้งโรงแรม กำหนดนโยบาย งบประมาณ รับผิดชอบกำไรขาดทุน","Oversee the entire hotel, set policies and budgets, and take responsibility for profit and loss.","ဟိုတယ်တစ်ခုလုံးကို စီမံ၊ မူဝါဒနှင့် ဘတ်ဂျက် သတ်မှတ်ပြီး အမြတ်အရှုံးကို တာဝန်ယူသည်။"),false),
 role("front-office-manager","front-office","Front Office Manager","ผู้จัดการแผนกต้อนรับ","ဧည့်ကြိုဌာန မန်နေဂျာ",L("บริหารทีมต้อนรับ ควบคุมมาตรฐานบริการและการขายห้อง","Lead the front office team, service standards and room sales.","ဧည့်ကြိုအဖွဲ့၊ ဝန်ဆောင်မှုစံနှုန်းနှင့် အခန်းရောင်းချမှုကို ဦးဆောင်သည်။"),false),
 role("front-desk-supervisor","front-office","Front Desk Supervisor","หัวหน้าพนักงานต้อนรับ","ဧည့်ကြို ကြီးကြပ်ရေးမှူး",L("ดูแลพนักงานแต่ละกะ แก้ปัญหาหน้างาน","Supervise shifts and resolve guest service issues.","အလှည့်ကျအလုပ်ကို ကြီးကြပ်ပြီး ဧည့်သည်ပြဿနာများကို ဖြေရှင်းသည်။")),
 role("receptionist","front-office","Receptionist / Front Desk Agent","พนักงานต้อนรับ","ဧည့်ကြိုဝန်ထမ်း",L("เช็คอิน-เช็คเอาท์ รับจองห้อง รับชำระเงิน ให้ข้อมูลแขก","Handle check-in, check-out, reservations, payments and guest information.","ဧည့်သည်ဝင်ထွက်၊ ကြိုတင်မှာယူမှု၊ ငွေပေးချေမှုနှင့် အချက်အလက်ပေးမှုကို ဆောင်ရွက်သည်။")),
 role("reservation-agent","front-office","Reservation Agent","พนักงานสำรองห้องพัก","အခန်းကြိုတင်မှာယူမှုဝန်ထမ်း",L("รับและจัดการการจองห้องพักจากทุกช่องทาง (โทรศัพท์ อีเมล OTA)","Receive and manage room reservations from phone, email and OTA channels.","ဖုန်း၊ အီးမေးလ်နှင့် OTA ချန်နယ်များမှ အခန်းကြိုတင်မှာယူမှုများကို လက်ခံစီမံသည်။")),
 role("front-cashier","front-office","Cashier","แคชเชียร์","ငွေကိုင်",L("เก็บเงิน ปิดบัญชีแขก ทำรายงานรายได้ประจำวัน","Collect payments, settle guest accounts and prepare daily revenue reports.","ငွေပေးချေမှုလက်ခံ၊ ဧည့်သည်စာရင်းပိတ်ပြီး နေ့စဉ်ဝင်ငွေအစီရင်ခံစာပြုစုသည်။")),
 role("bellboy","front-office","Bell Captain / Bellboy","พนักงานยกกระเป๋า","အထုပ်သယ်ဝန်ထမ်း",L("ยกสัมภาระ พาแขกไปห้อง ให้ข้อมูลทั่วไป","Assist with luggage, escort guests and answer basic questions.","အထုပ်များ ကူညီသယ်ဆောင်ပြီး ဧည့်သည်များကို အခန်းသို့ ပို့ဆောင်သည်။")),
 role("night-auditor","front-office","GSA / Night Auditor","พนักงานต้อนรับกะดึก / ตรวจสอบรายได้","ညဧည့်ကြို / စာရင်းစစ်",L("ตรวจสอบและปิดบัญชีรายได้ประจำวันช่วงกลางคืน","Check and close the day's revenue accounts during the night shift.","ညအလှည့်တွင် နေ့စဉ်ဝင်ငွေစာရင်းကို စစ်ဆေးပိတ်သိမ်းသည်။")),
 role("floor-supervisor","housekeeping","Floor Supervisor","หัวหน้าแม่บ้านประจำชั้น","အထပ်သန့်ရှင်းရေး ကြီးကြပ်ရေးမှူး",L("ตรวจความเรียบร้อยของห้องก่อนปล่อยขาย","Inspect rooms and confirm they are ready before release for sale.","အခန်းများ ရောင်းချရန်မဖွင့်မီ သန့်ရှင်းမှုနှင့် အဆင်သင့်ဖြစ်မှုကို စစ်ဆေးသည်။")),
 role("room-attendant","housekeeping","Room Attendant","แม่บ้านทำห้อง","အခန်းသန့်ရှင်းရေးဝန်ထမ်း",L("ทำความสะอาดห้องพัก เปลี่ยนผ้าปู เติมของใช้","Clean guest rooms, change linen and replenish amenities.","ဧည့်ခန်းများ သန့်ရှင်းရေးလုပ်၊ အိပ်ရာခင်းလဲပြီး ပစ္စည်းများ ဖြည့်သည်။")),
 role("public-area-attendant","housekeeping","Public Area Attendant","พนักงานทำความสะอาดพื้นที่ส่วนกลาง","အများသုံးဧရိယာ သန့်ရှင်းရေးဝန်ထမ်း",L("ทำความสะอาดพื้นที่ส่วนกลาง ล็อบบี้ ทางเดิน ห้องน้ำสาธารณะ","Keep the lobby, corridors and public restrooms clean.","ဧည့်ခန်းမ၊ လမ်းကြောင်းများနှင့် အများသုံးအိမ်သာများကို သန့်ရှင်းစေသည်။")),
 role("laundry-attendant","housekeeping","Laundry Attendant","พนักงานซักรีด","အဝတ်လျှော်ဝန်ထမ်း",L("ซักรีดผ้าโรงแรมและเสื้อผ้าแขก (ถ้ามีซักเอง)","Process hotel linen and guest laundry where offered.","ဟိုတယ်အဝတ်အထည်နှင့် ဧည့်သည်အဝတ်လျှော်မှုကို ဆောင်ရွက်သည်။")),
 role("restaurant-supervisor","food-beverage","Restaurant Supervisor / Captain","หัวหน้าพนักงานห้องอาหาร","စားသောက်ဆိုင် ကြီးကြပ်ရေးမှူး",L("ควบคุมหน้างานห้องอาหาร","Supervise daily service and support the guest-facing team.","နေ့စဉ်စားသောက်ဝန်ဆောင်မှုနှင့် အဖွဲ့ကို ကြီးကြပ်သည်။")),
 role("waiter","food-beverage","Waiter / Waitress","พนักงานเสิร์ฟ","စားပွဲထိုး",L("รับออเดอร์ เสิร์ฟอาหารและเครื่องดื่ม","Take orders and serve food and drinks.","အမှာစာယူ၍ အစားအသောက်နှင့် အဖျော်ယမကာများ တည်ခင်းသည်။")),
 role("bartender","food-beverage","Bartender","บาร์เทนเดอร์","ဘားဝန်ထမ်း",L("ชงเครื่องดื่ม ดูแลบาร์","Prepare drinks and maintain the bar.","အဖျော်ယမကာပြင်ဆင်ပြီး ဘားကို ထိန်းသိမ်းသည်။")),
 role("barista","food-beverage","Barista","บาริสต้า","ကော်ဖီဖျော်ဝန်ထမ်း",L("ชงกาแฟ (ถ้ามีคาเฟ่)","Prepare coffee, care for equipment and serve guests.","ကော်ဖီဖျော်ပြီး စက်ကိရိယာနှင့် ဧည့်သည်ဝန်ဆောင်မှုကို တာဝန်ယူသည်။")),
 role("executive-chef","kitchen","Executive Chef / Head Chef","หัวหน้าเชฟ","အမှုဆောင်စားဖိုမှူး",L("ออกแบบเมนู ควบคุมคุณภาพและต้นทุนวัตถุดิบ","Plan menus and lead food quality and kitchen cost control.","မီနူးစီမံ၍ အစားအစာအရည်အသွေးနှင့် ကုန်ကျစရိတ်ကို ထိန်းသည်။"),false),
 role("sous-chef","kitchen","Sous Chef","รองหัวหน้าเชฟ","လက်ထောက်စားဖိုမှူး",L("ผู้ช่วยหัวหน้าเชฟ คุมครัวประจำวัน","Support the head chef and run daily kitchen operations.","စားဖိုမှူးချုပ်ကို ကူညီ၍ နေ့စဉ်မီးဖိုချောင်လုပ်ငန်းကို စီမံသည်။")),
 role("cook-commis","kitchen","Cook / Commis","พ่อครัว / คอมมี","ချက်ပြုတ်သူ / Commis",L("ประกอบอาหารตามสถานี (ผัด ย่าง เย็น เบเกอรี่)","Prepare dishes at assigned stations, including hot, grill, cold and bakery sections.","သတ်မှတ်ထားသော ချက်ပြုတ်ရာဌာနတွင် ဟင်းလျာများ ပြင်ဆင်သည်။")),
 role("steward","kitchen","Kitchen Helper / Steward","ผู้ช่วยครัว / สจ๊วต","မီးဖိုချောင်အကူ / Steward",L("เตรียมวัตถุดิบ ล้างจาน ทำความสะอาดครัว","Prepare ingredients, wash dishes and keep the kitchen clean.","ကုန်ကြမ်းပြင်ဆင်၊ ပန်းကန်ဆေးပြီး မီးဖိုချောင်ကို သန့်ရှင်းစေသည်။")),
 role("marketing-executive","sales-marketing","Marketing / Online Marketing Executive","เจ้าหน้าที่การตลาดออนไลน์","အွန်လိုင်းစျေးကွက်ရှာဖွေရေးအရာရှိ",L("ทำการตลาดออนไลน์ โซเชียลมีเดีย โปรโมชั่น","Run digital marketing, social media and promotions.","အွန်လိုင်းစျေးကွက်၊ လူမှုမီဒီယာနှင့် ပရိုမိုးရှင်းများကို ဆောင်ရွက်သည်။")),
 role("revenue-executive","sales-marketing","Revenue / Reservation Executive","เจ้าหน้าที่รายได้และสำรองห้องพัก","ဝင်ငွေနှင့် ကြိုတင်မှာယူမှုအရာရှိ",L("กำหนดราคาห้อง บริหารช่องทางขาย (OTA, Channel Manager) เพื่อเพิ่มรายได้","Manage room rates, OTA channels and reservations.","အခန်းစျေးနှုန်း၊ OTA ချန်နယ်နှင့် ကြိုတင်မှာယူမှုကို စီမံသည်။")),
 role("chief-accountant","accounting-finance","Financial Controller / Accounting Manager","ผู้ควบคุมการเงิน / ผู้จัดการบัญชี","ဘဏ္ဍာရေးထိန်းချုပ်သူ / စာရင်းကိုင်မန်နေဂျာ",L("ควบคุมบัญชี งบการเงิน ภาษี งบประมาณ","Oversee accounts, financial statements, tax and budgets.","စာရင်း၊ ဘဏ္ဍာရေးရှင်းတမ်း၊ အခွန်နှင့် ဘတ်ဂျက်ကို ကြီးကြပ်သည်။")),
 role("account-receivable","accounting-finance","Account Receivable (AR)","เจ้าหน้าที่บัญชีลูกหนี้","ရရန်ရှိစာရင်း အရာရှိ",L("ติดตามลูกหนี้ วางบิล เก็บเงินจากบริษัทและตัวแทน","Issue invoices, follow up receivables and record collections.","ငွေတောင်းခံလွှာ ထုတ်ပြီး ရရန်ရှိငွေများကို လိုက်လံကောက်ခံသည်။")),
 role("account-payable","accounting-finance","Account Payable (AP)","เจ้าหน้าที่บัญชีเจ้าหนี้","ပေးရန်ရှိစာရင်း အရာရှိ",L("ตรวจใบแจ้งหนี้ จ่ายเงินซัพพลายเออร์","Check invoices and arrange supplier payments.","ငွေတောင်းခံလွှာများ စစ်ပြီး ပေးသွင်းသူငွေပေးချေမှုကို စီစဉ်သည်။")),
 role("general-cashier","accounting-finance","General Cashier / Accounting Clerk","แคชเชียร์กลาง / ธุรการบัญชี","ငွေကိုင် / စာရင်းကိုင်စာရေး",L("จัดการเงินสด นำฝากธนาคาร บันทึกบัญชีทั่วไป","Handle cash, bank deposits and routine accounting entries.","ငွေသား၊ ဘဏ်သွင်းငွေနှင့် နေ့စဉ်စာရင်းသွင်းမှုကို ဆောင်ရွက်သည်။")),
 role("chief-engineer","engineering","Chief Engineer","หัวหน้าช่าง","အင်ဂျင်နီယာချုပ်",L("บริหารงานซ่อมบำรุง ระบบไฟ น้ำ แอร์ ความปลอดภัยอาคาร","Lead maintenance of electrical, water, air-conditioning and building systems.","လျှပ်စစ်၊ ရေ၊ လေအေးပေးစနစ်နှင့် အဆောက်အအုံ ပြုပြင်ထိန်းသိမ်းမှုကို ဦးဆောင်သည်။")),
 role("technician","engineering","Technician","ช่างเทคนิค","နည်းပညာပြုပြင်ရေးဝန်ထမ်း",L("ซ่อมและบำรุงรักษาอุปกรณ์ในห้องพักและส่วนกลาง","Repair and maintain room and public-area equipment.","အခန်းနှင့် အများသုံးဧရိယာပစ္စည်းများကို ပြုပြင်ထိန်းသိမ်းသည်။")),
 role("hr-manager","human-resources","HR Supervisor","หัวหน้าฝ่ายบุคคล","HR ကြီးကြပ်ရေးမှူး",L("วางนโยบายบุคคล สรรหา ฝึกอบรม แก้ปัญหาแรงงาน","Set people policies, recruit and train staff, and address employee relations.","ဝန်ထမ်းမူဝါဒချမှတ်၊ ခန့်အပ်၊ သင်တန်းပေးပြီး လုပ်သားရေးရာပြဿနာများကို ဖြေရှင်းသည်။")),
 role("hr-officer","human-resources","HR Officer / Recruiter","เจ้าหน้าที่บุคคล / สรรหา","HR အရာရှိ / ခန့်အပ်ရေး",L("ประกาศรับสมัคร สัมภาษณ์ ดูแลสวัสดิการและเอกสารพนักงาน","Post roles, coordinate interviews and maintain HR records.","အလုပ်ကြော်ငြာ၊ အင်တာဗျူးနှင့် HR စာရွက်စာတမ်းများကို ဆောင်ရွက်သည်။")),
 role("security-guard","security","Security Supervisor / Security Guard","หัวหน้า / พนักงานรักษาความปลอดภัย","လုံခြုံရေးကြီးကြပ်ရေးမှူး / ဝန်ထမ်း",L("ตรวจตรา ควบคุมทางเข้าออก ดูกล้องวงจรปิด ระงับเหตุเบื้องต้น","Patrol the property, manage access, monitor CCTV and respond to incidents.","ဟိုတယ်ကို လှည့်လည်စစ်ဆေး၊ ဝင်ထွက်မှုထိန်းချုပ်၊ CCTV ကြည့်ရှုပြီး အရေးပေါ်ဖြစ်စဉ်များကို ကနဦးတုံ့ပြန်သည်။")),
 role("purchasing-officer","purchasing","Purchasing Manager / Officer","ผู้จัดการ / เจ้าหน้าที่จัดซื้อ","ဝယ်ယူရေး မန်နေဂျာ / အရာရှိ",L("จัดซื้อวัตถุดิบ อุปกรณ์ ของใช้ เปรียบเทียบราคา","Source supplies and ingredients and compare supplier prices.","ပစ္စည်းနှင့် ကုန်ကြမ်းဝယ်ယူပြီး စျေးနှုန်းများ နှိုင်းယှဉ်သည်။")),
 role("store-keeper","purchasing","Store Keeper","พนักงานคลังสินค้า","သိုလှောင်ရုံဝန်ထမ်း",L("รับสินค้า เก็บรักษา เบิก-จ่ายพัสดุ","Receive, store and issue stock.","ကုန်ပစ္စည်း လက်ခံ၊ သိမ်းဆည်းပြီး ထုတ်ပေးမှုကို ထိန်းသည်။")),
 role("it-officer","it","IT Officer","เจ้าหน้าที่ IT","IT အရာရှိ",L("ดูแลระบบ PMS, Wi-Fi, POS, คอมพิวเตอร์ และระบบจองออนไลน์","Support PMS, Wi-Fi, POS, computers and online booking systems.","PMS၊ Wi-Fi၊ POS၊ ကွန်ပျူတာနှင့် အွန်လိုင်းဘွတ်ကင်စနစ်များကို ထိန်းသိမ်းသည်။"))
];

// Each listed position is shown at every hotel. Availability controls which
// positions are counted as openings or accept applications.
export const jobs=roles.flatMap((r,roleIndex)=>hotels.map((hotel,hotelIndex)=>({
 ...r,hotel,slug:`${hotel.slug}-${r.slug}`,roleSlug:r.slug,
 sortKey:(roleIndex*37+hotelIndex*13+roleIndex*hotelIndex*7)%997
}))).sort((a,b)=>a.sortKey-b.sortKey||a.slug.localeCompare(b.slug));
export const openJobs=jobs.filter(j=>j.available);
