PageSourceSearch

https://www.amaalah.com/_next/static/chunks/b856e78d5eab63d7.js

js amaalah.com collected 2026-09-30 20:25:16 UTC 70,193 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33912,e=>{"use strict";var t=e.i(21382);let a=(...e)=>e.filter((e,t,a)=>!!e&&a.indexOf(e)===t).join(" ");var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.forwardRef)(({color:e="currentColor",size:l=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:n="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...s,width:l,height:l,stroke:e,strokeWidth:i?24*Number(r)/Number(l):r,className:a("lucide",n),...d},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(o)?o:[o]])),r=(e,s)=>{let r=(0,t.forwardRef)(({className:r,...i},n)=>(0,t.createElement)(l,{ref:n,iconNode:s,className:a(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...i}));return r.displayName=`${e}`,r};e.s(["default",()=>r],33912)},52896,e=>{"use strict";var t=e.i(21382);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let s=!1,l=e.map(e=>{let l=a(e,t);return s||"function"!=typeof l||(s=!0),l});if(s)return()=>{for(let t=0;t<l.length;t++){let s=l[t];"function"==typeof s?s():a(e[t],null)}}}}function l(...e){return t.useCallback(s(...e),e)}e.s(["composeRefs",()=>s,"useComposedRefs",()=>l])},94237,e=>{"use strict";var t=e.i(7284);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=t.clsx;e.s(["cva",0,(e,t)=>l=>{var r;if((null==t?void 0:t.variants)==null)return s(e,null==l?void 0:l.class,null==l?void 0:l.className);let{variants:i,defaultVariants:n}=t,o=Object.keys(i).map(e=>{let t=null==l?void 0:l[e],s=null==n?void 0:n[e];if(null===t)return null;let r=a(t)||a(s);return i[e][r]}),c=l&&Object.entries(l).reduce((e,t)=>{let[a,s]=t;return void 0===s||(e[a]=s),e},{});return s(e,o,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:a,className:s,...l}=t;return Object.entries(l).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...n,...c}[t]):({...n,...c})[t]===a})?[...e,a,s]:e},[]),null==l?void 0:l.class,null==l?void 0:l.className)}])},82,e=>{"use strict";var t=e.i(21382),a=e.i(52896),s=e.i(45687),l=Symbol.for("react.lazy"),r=t[" use ".trim().toString()];function i(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function n(e){var l;let n,o=(l=e,(n=t.forwardRef((e,s)=>{let{children:l,...n}=e;if(i(l)&&"function"==typeof r&&(l=r(l._payload)),t.isValidElement(l)){var o;let e,r,i=(o=l,(r=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(r=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),c=function(e,t){let a={...t};for(let s in t){let l=e[s],r=t[s];/^on[A-Z]/.test(s)?l&&r?a[s]=(...e)=>{let t=r(...e);return l(...e),t}:l&&(a[s]=l):"style"===s?a[s]={...l,...r}:"className"===s&&(a[s]=[l,r].filter(Boolean).join(" "))}return{...e,...a}}(n,l.props);return l.type!==t.Fragment&&(c.ref=s?(0,a.composeRefs)(s,i):i),t.cloneElement(l,c)}return t.Children.count(l)>1?t.Children.only(null):null})).displayName=`${l}.SlotClone`,n),c=t.forwardRef((e,a)=>{let{children:l,...n}=e;i(l)&&"function"==typeof r&&(l=r(l._payload));let c=t.Children.toArray(l),u=c.find(d);if(u){let e=u.props.children,l=c.map(a=>a!==u?a:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,s.jsx)(o,{...n,ref:a,children:t.isValidElement(e)?t.cloneElement(e,void 0,l):null})}return(0,s.jsx)(o,{...n,ref:a,children:l})});return c.displayName=`${e}.Slot`,c}var o=n("Slot"),c=Symbol("radix.slottable");function d(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}e.s(["Slot",()=>o,"createSlot",()=>n])},67881,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(82),l=e.i(94237),r=e.i(73273);let i=(0,l.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),n=a.forwardRef(({className:e,variant:a,size:l,asChild:n=!1,...o},c)=>{let d=n?s.Slot:"button";return(0,t.jsx)(d,{className:(0,r.cn)(i({variant:a,size:l,className:e})),ref:c,...o})});n.displayName="Button",e.s(["Button",()=>n,"buttonVariants",()=>i])},45777,e=>{"use strict";let t=(0,e.i(33912).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],45777)},73033,52937,e=>{"use strict";var t=e.i(33912);let a=(0,t.default)("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);e.s(["Facebook",()=>a],73033);let s=(0,t.default)("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);e.s(["Linkedin",()=>s],52937)},38036,e=>{"use strict";let t=(0,e.i(33912).default)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);e.s(["UserPlus",()=>t],38036)},28326,e=>{"use strict";let t=(0,e.i(33912).default)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);e.s(["Building2",()=>t],28326)},34785,e=>{"use strict";var t=e.i(45687),a=e.i(67881),s=e.i(51453),l=e.i(28326),r=e.i(38036),i=e.i(85235),n=e.i(94848),o=e.i(8992),c=e.i(21382);let d=(0,c.memo)(function(){let e=(0,o.usePathname)(),d=(0,c.useMemo)(()=>e.split("/")[1],[e]),u=(0,i.useAppDispatch)(),{user:m}=(0,i.useAppSelector)(e=>e.user),{t:h}=(0,n.UseTranslation)(d,"homepage"),f=(0,o.useRouter)(),p=(0,c.useCallback)(()=>{u((0,s.openDialog)("signup"))},[u]),x=(0,c.useCallback)(()=>{f.push(`/${d}/jobseekers`)},[f,d]);return m?null:(0,t.jsx)("section",{className:"py-16",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 text-center",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-amaalahGray-dark mb-6",children:h("ready_to_get_started")}),(0,t.jsx)("p",{className:"text-lg text-amaalahGray-dark mb-8 max-w-2xl mx-auto",children:h("subtitle_ready_to_get_started")}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,t.jsxs)(a.Button,{size:"lg",onClick:p,className:"bg-amaalahBlue-light hover:bg-amaalahBlue-dark text-white transition-colors duration-200","aria-label":h("create_job_seeker_profile"),children:[(0,t.jsx)(r.UserPlus,{className:"mr-2 h-5 w-5","aria-hidden":"true"}),h("create_job_seeker_profile")]}),(0,t.jsxs)(a.Button,{size:"lg",variant:"outline",onClick:x,className:"border-amaalahBlue-light text-amaalahBlue-dark hover:bg-amaalahBlue-light hover:text-white transition-colors duration-200","aria-label":h("post_a_job"),children:[(0,t.jsx)(l.Building2,{className:"mr-2 h-5 w-5","aria-hidden":"true"}),h("post_a_job")]})]})]})})});var u=e.i(88850);function m({lang:e}){let{t:a}=(0,n.UseTranslation)(e,"intro"),s="ar"===e||"ur"===e;return(0,t.jsx)("section",{dir:s?"rtl":"ltr",className:"bg-white py-12 rounded-lg shadow-sm w-full",children:(0,t.jsxs)("div",{className:"container mx-auto text-center",children:[(0,t.jsxs)("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6 leading-tight",children:[a("heading.before")," ",(0,t.jsx)("span",{className:"text-[#3473B9]",children:a("heading.highlight")})]}),(0,t.jsx)("p",{className:"text-lg md:text-xl mb-8 max-w-3xl mx-auto leading-relaxed",children:a("description")}),(0,t.jsx)("ul",{className:"list-none p-0 text-lg text-gray-700 max-w-2xl mx-auto grid grid-cols-1 gap-4 text-left",children:["point1","point2","point3"].map(e=>(0,t.jsxs)("li",{className:"flex items-start",children:[(0,t.jsx)(u.Circle,{className:"text-[#3473B9] w-4 h-4 text-xl mx-2 mt-1"}),(0,t.jsx)("span",{children:a(`${e}`)})]},e))})]})})}var h=e.i(37908);function f({lang:e}){let{t:a}=(0,n.UseTranslation)(e,"newsletter"),[s,l]=(0,c.useState)(""),[r,i]=(0,c.useState)("idle"),o=async()=>{if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s))return void i("error");try{await h.default.post("/subscribe",{email:s}),i("success"),l("")}catch(e){i("error")}};return(0,t.jsx)("section",{className:"bg-[#3473B9] text-white  py-12  shadow-sm mx-auto w-full",children:(0,t.jsxs)("div",{className:"container mx-auto text-center",children:[(0,t.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:a("title")}),(0,t.jsx)("p",{className:"text-lg md:text-xl mb-8 max-w-2xl mx-auto",children:a("description")}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row justify-center items-center gap-4",children:[(0,t.jsx)("input",{type:"email",value:s,onChange:e=>l(e.target.value),placeholder:a("placeholder")??"",className:"w-full sm:w-80 p-3 rounded-md border-2 border-white focus:outline-none focus:ring-2 focus:ring-blue-300 text-gray-900 placeholder-gray-500"}),(0,t.jsx)("button",{onClick:o,className:"bg-white text-[#3473B9] font-semibold py-3 px-6 rounded-md hover:bg-gray-100 transition-colors duration-300 w-full sm:w-auto",children:a("button")})]}),"success"===r&&(0,t.jsx)("p",{className:"mt-4 text-green-200 font-medium",children:a("success")}),"error"===r&&(0,t.jsx)("p",{className:"mt-4 text-red-200 font-medium",children:a("error")})]})})}var p=e.i(22934),x=e.i(73033);let v=(0,e.i(33912).default)("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);var b=e.i(52937),g=e.i(45777),j=e.i(71231);let y=(0,c.memo)(function(){let e=(0,o.usePathname)(),a=(0,c.useMemo)(()=>e.split("/")[1],[e]),{t:s}=(0,n.UseTranslation)(a,"navigation"),l=(0,c.useMemo)(()=>new Date().getFullYear(),[]);return(0,t.jsx)("footer",{className:"bg-white p-8 md:p-12 lg:p-16 rounded-lg shadow-sm",children:(0,t.jsx)("div",{className:"container mx-auto px-4 md:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsxs)("div",{className:"mb-8 max-w-2xl mx-auto flex flex-col items-center",children:[(0,t.jsx)(j.Logo,{}),(0,t.jsx)("p",{className:"text-gray-600 text-base leading-relaxed",children:s("description_footer")})]}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-center gap-x-6 gap-y-2 text-gray-700 text-lg font-medium mb-8",children:[(0,t.jsx)(p.default,{href:`/${a}/about`,className:"hover:text-blue-600 transition-colors duration-300",children:s("about_us")}
1),(0,t.jsx)(p.default,{href:`/${a}/contact`,className:"hover:text-blue-600 transition-colors duration-300",children:s("contact")}),(0,t.jsx)(p.default,{href:`/${a}/jobs`,className:"hover:text-blue-600 transition-colors duration-300",children:s("find_job")}),(0,t.jsx)(p.default,{href:`/${a}/jobseekers`,className:"hover:text-blue-600 transition-colors duration-300",children:s("find_workers")}),(0,t.jsx)(p.default,{href:`/${a}/hiring-guide`,className:"hover:text-blue-600 transition-colors duration-300",children:s("hiring_guide")})]}),(0,t.jsxs)("div",{className:"flex justify-center gap-4 text-[#3473B9] mb-4",children:[(0,t.jsx)(p.default,{href:"https://linkedin.com/company/amaalah",target:"_blank","aria-label":"LinkedIn",children:(0,t.jsx)(b.Linkedin,{className:"w-5 h-5"})}),(0,t.jsx)(p.default,{href:"https://x.com/Amaalah_AR",target:"_blank","aria-label":"Twitter",children:(0,t.jsx)(g.X,{className:"w-5 h-5"})}),(0,t.jsx)(p.default,{href:"https://www.facebook.com/Amaalah.AR",target:"_blank","aria-label":"Facebook",children:(0,t.jsx)(x.Facebook,{className:"w-5 h-5"})}),(0,t.jsx)(p.default,{href:"https://www.tiktok.com/@amaalah.com",target:"_blank","aria-label":"TikTok",children:(0,t.jsx)("svg",{className:"mr-2  h-4 w-4",fill:"currentColor",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z"})})}),(0,t.jsx)(p.default,{href:"https://www.instagram.com/amaalah_ar",target:"_blank","aria-label":"Instagram",children:(0,t.jsx)(v,{className:"w-5 h-5"})}),(0,t.jsx)(p.default,{href:"https://wa.me/ais/1396587808292161?s=5",target:"_blank","aria-label":"WhatsApp",children:(0,t.jsx)("svg",{className:"mr-2  h-4 w-4",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})})})]}),(0,t.jsx)("hr",{className:"w-full border-gray-200 mb-6"}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between text-sm text-gray-500 w-full gap-2",children:[(0,t.jsxs)("p",{children:["© ",l," Amaalah. ",s("all_right_reserved")]}),(0,t.jsxs)("div",{className:"flex gap-2 mt-4 md:mt-0",children:[(0,t.jsx)(p.default,{href:`/${a}/terms-of-service`,className:"hover:text-blue-600",children:s("terms")}),(0,t.jsx)(p.default,{href:`/${a}/privacy-policy`,className:"hover:text-blue-600",children:s("privacy")})]})]})]})})})});function k({lang:e}){let a=(0,i.useAppSelector)(e=>e.user.user);return(0,t.jsxs)("div",{className:"mt-2 flex flex-col",children:[!a&&(0,t.jsx)(d,{}),(0,t.jsx)(m,{lang:e}),(0,t.jsx)(f,{lang:e}),(0,t.jsx)(y,{})]})}e.s(["default",()=>
1k],34785)},69502,e=>{"use strict";let t=(0,e.i(33912).default)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);e.s(["Search",()=>t],69502)},55337,e=>{"use strict";let t=(0,e.i(33912).default)("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);e.s(["UserCheck",()=>t],55337)},26748,e=>{"use strict";let t=(0,e.i(33912).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>t],26748)},57850,e=>{"use strict";let t=(0,e.i(33912).default)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["ChevronUp",()=>t],57850)},5498,e=>{"use strict";let t=(0,e.i(33912).default)("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);e.s(["MessageCircle",()=>t],5498)},97036,e=>{"use strict";var t=e.i(21382),a=e.i(91967),s=e.i(52896),l=e.i(75985),r=e.i(42454),i=e.i(69875),n=e.i(88127),o=e.i(53874),c=e.i(96366),d=e.i(28820),u=e.i(82394),m=e.i(26100),h=e.i(64799),f=e.i(73772),p=e.i(53525),x=e.i(45687),v="Dialog",[b,g]=(0,l.createContextScope)(v),[j,y]=b(v),k=e=>{let{__scopeDialog:a,children:s,open:l,defaultOpen:n,onOpenChange:o,modal:c=!0}=e,d=t.useRef(null),u=t.useRef(null),[m,h]=(0,i.useControllableState)({prop:l,defaultProp:n??!1,onChange:o,caller:v});return(0,x.jsx)(j,{scope:a,triggerRef:d,contentRef:u,contentId:(0,r.useId)(),titleId:(0,r.useId)(),descriptionId:(0,r.useId)(),open:m,onOpenChange:h,onOpenToggle:t.useCallback(()=>h(e=>!e),[h]),modal:c,children:s})};k.displayName=v;var N="DialogTrigger",w=t.forwardRef((e,t)=>{let{__scopeDialog:l,...r}=e,i=y(N,l),n=(0,s.useComposedRefs)(t,i.triggerRef);return(0,x.jsx)(u.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":V(i.open),...r,ref:n,onClick:(0,a.composeEventHandlers)(e.onClick,i.onOpenToggle)})});w.displayName=N;var P="DialogPortal",[C,_]=b(P,{forceMount:void 0}),R=e=>{let{__scopeDialog:a,forceMount:s,children:l,container:r}=e,i=y(P,a);return(0,x.jsx)(C,{scope:a,forceMount:s,children:t.Children.map(l,e=>(0,x.jsx)(d.Presence,{present:s||i.open,children:(0,x.jsx)(c.Portal,{asChild:!0,container:r,children:e})}))})};R.displayName=P;var D="DialogOverlay",S=t.forwardRef((e,t)=>{let a=_(D,e.__scopeDialog),{forceMount:s=a.forceMount,...l}=e,r=y(D,e.__scopeDialog);return r.modal?(0,x.jsx)(d.Presence,{present:s||r.open,children:(0,x.jsx)(F,{...l,ref:t})}):null});S.displayName=D;var E=(0,p.createSlot)("DialogOverlay.RemoveScroll"),F=t.forwardRef((e,t)=>{let{__scopeDialog:a,...s}=e,l=y(D,a);return(0,x.jsx)(h.RemoveScroll,{as:E,allowPinchZoom:!0,shards:[l.contentRef],children:(0,x.jsx)(u.Primitive.div,{"data-state":V(l.open),...s,ref:t,style:{pointerEvents:"auto",...s.style}})})}),M="DialogContent",O=t.forwardRef((e,t)=>{let a=_(M,e.__scopeDialog),{forceMount:s=a.forceMount,...l}=e,r=y(M,e.__scopeDialog);return(0,x.jsx)(d.Presence,{present:s||r.open,children:r.modal?(0,x.jsx)(I,{...l,ref:t}):(0,x.jsx)(A,{...l,ref:t})})});O.displayName=M;var I=t.forwardRef((e,l)=>{let r=y(M,e.__scopeDialog),i=t.useRef(null),n=(0,s.useComposedRefs)(l,r.contentRef,i);return t.useEffect(()=>{let e=i.current;if(e)return(0,f.hideOthers)(e)},[]),(0,x.jsx)(T,{...e,ref:n,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,a.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,a=0===t.button&&!0===t.ctrlKey;(2===t.button||a)&&e.preventDefault()}),onFocusOutside:(0,a.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),A=t.forwardRef((e,a)=>{let s=y(M,e.__scopeDialog),l=t.useRef(!1),r=t.useRef(!1);return(0,x.jsx)(T,{...e,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(l.current||s.triggerRef.current?.focus(),t.preventDefault()),l.current=!1,r.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(r.current=!0));let a=t.target;s.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&r.current&&t.preventDefault()}})}),T=t.forwardRef((e,a)=>{let{__scopeDialog:l,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:c,...d}=e,u=y(M,l),h=t.useRef(null),f=(0,s.useComposedRefs)(a,h);return(0,m.useFocusGuards)(),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(o.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:c,children:(0,x.jsx)(n.DismissableLayer,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":V(u.open),...d,ref:f,onDismiss:()=>u.onOpenChange(!1)})}),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(X,{titleId:u.titleId}),(0,x.jsx)(K,{contentRef:h,descriptionId:u.descriptionId})]})]})}),$="DialogTitle",L=t.forwardRef((e,t)=>
1{let{__scopeDialog:a,...s}=e,l=y($,a);return(0,x.jsx)(u.Primitive.h2,{id:l.titleId,...s,ref:t})});L.displayName=$;var B="DialogDescription",q=t.forwardRef((e,t)=>{let{__scopeDialog:a,...s}=e,l=y(B,a);return(0,x.jsx)(u.Primitive.p,{id:l.descriptionId,...s,ref:t})});q.displayName=B;var z="DialogClose",U=t.forwardRef((e,t)=>{let{__scopeDialog:s,...l}=e,r=y(z,s);return(0,x.jsx)(u.Primitive.button,{type:"button",...l,ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,()=>r.onOpenChange(!1))})});function V(e){return e?"open":"closed"}U.displayName=z;var G="DialogTitleWarning",[H,W]=(0,l.createContext)(G,{contentName:M,titleName:$,docsSlug:"dialog"}),X=({titleId:e})=>{let a=W(G),s=`\`${a.contentName}\` requires a \`${a.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${a.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${a.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(s))},[s,e]),null},K=({contentRef:e,descriptionId:a})=>{let s=W("DialogDescriptionWarning"),l=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${s.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");a&&t&&(document.getElementById(a)||console.warn(l))},[l,e,a]),null};e.s(["Close",()=>U,"Content",()=>O,"Description",()=>q,"Overlay",()=>S,"Portal",()=>R,"Root",()=>k,"Title",()=>L,"Trigger",()=>w,"WarningProvider",()=>H,"createDialogScope",()=>g])},30374,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(97036),l=e.i(45777),r=e.i(73273);let i=s.Root;s.Trigger;let n=s.Portal;s.Close;let o=a.forwardRef(({className:e,...a},l)=>(0,t.jsx)(s.Overlay,{ref:l,className:(0,r.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a}));o.displayName=s.Overlay.displayName;let c=a.forwardRef(({className:e,children:a,...i},c)=>(0,t.jsxs)(n,{children:[(0,t.jsx)(o,{}),(0,t.jsx)(s.Title,{}),(0,t.jsxs)(s.Content,{ref:c,className:(0,r.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...i,children:[(0,t.jsxs)(s.Close,{className:"absolute right-4 mb-2 mt-2 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(l.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),(0,t.jsx)("div",{className:"mt-10",children:a})]})]}));c.displayName=s.Content.displayName;let d=({className:e,...a})=>(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...a});d.displayName="DialogHeader";let u=({className:e,...a})=>(0,t.jsx)("div",{className:(0,r.cn)("flex flex-col-reverse sm:flex-row sm:justify-end gap-2 rtl:flex-row-reverse",e),...a});u.displayName="DialogFooter";let m=a.forwardRef(({className:e,...a},l)=>(0,t.jsx)(s.Title,{ref:l,className:(0,r.cn)("text-lg font-semibold leading-none tracking-tight text-center",e),...a}));m.displayName=s.Title.displayName;let h=a.forwardRef(({className:e,...a},l)=>(0,t.jsx)(s.Description,{ref:l,className:(0,r.cn)("text-sm text-muted-foreground",e),...a}));h.displayName=s.Description.displayName,e.s(["Dialog",()=>i,"DialogContent",()=>c,"DialogDescription",()=>h,"DialogFooter",()=>u,"DialogHeader",()=>d,"DialogTitle",()=>m])},97457,e=>{"use strict";let t=(0,e.i(33912).default)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);e.s(["MessageSquare",()=>
5t],97457)},10708,22115,e=>{"use strict";var t=e.i(45687),a=e.i(21382);e.i(98655);var s=e.i(82),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,l)=>{let r=(0,s.createSlot)(`Primitive.${l}`),i=a.forwardRef((e,a)=>{let{asChild:s,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(s?r:l,{...i,ref:a})});return i.displayName=`Primitive.${l}`,{...e,[l]:i}},{}),r=a.forwardRef((e,a)=>(0,t.jsx)(l.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));r.displayName="Label";var i=e.i(94237),n=e.i(73273);let o=(0,i.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-left rtl:text-right"),c=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(r,{ref:s,className:(0,n.cn)(o(),e),...a}));c.displayName=r.displayName,e.s(["Label",()=>c],10708);let d=(0,i.cva)("text-sm text-gray-500 mt-1 text-left rtl:text-right"),u=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(r,{ref:s,className:(0,n.cn)(d(),e),...a}));u.displayName=r.displayName,e.s(["FootNote",()=>u],22115)},23750,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(73273),l=e.i(10708),r=e.i(22115);let i=a.forwardRef(({className:e,type:a,error:i,suffix:n,label:o,footNote:c,...d},u)=>(0,t.jsxs)("div",{className:"w-full items-center",children:[(0,t.jsxs)("div",{className:"relative",children:[o&&(0,t.jsx)(l.Label,{className:"mb-2",children:o}),(0,t.jsx)("input",{type:a,className:(0,s.cn)("flex text-left rtl:text-right h-10 w-full rounded-md border bg-background px-3 py-2 text-sm","ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 border-input text-base",i?"border-red-500":"",n?"pr-10":"",e),ref:u,...d}),n&&(0,t.jsx)("div",{className:"absolute top-1/2 right-2 -translate-y-1/2 flex items-center text-muted-foreground",children:n})]}),c&&(0,t.jsx)(r.FootNote,{children:c}),i&&(0,t.jsx)("p",{className:"mt-1 text-sm text-red-500",children:i})]}));i.displayName="Input",e.s(["Input",()=>i])},25036,(e,t,a)=>{t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},26807,(e,t,a)=>{t.exports=e.g&&e.g.Object===Object&&e.g},28253,(e,t,a)=>{var s=e.r(26807),l="object"==typeof self&&self&&self.Object===Object&&self;t.exports=s||l||Function("return this")()},54057,(e,t,a)=>{t.exports=e.r(28253).Symbol},47466,(e,t,a)=>{var s=e.r(54057),l=Object.prototype,r=l.hasOwnProperty,i=l.toString,n=s?s.toStringTag:void 0;t.exports=function(e){var t=r.call(e,n),a=e[n];try{e[n]=void 0;var s=!0}catch(e){}var l=i.call(e);return s&&(t?e[n]=a:delete e[n]),l}},3830,(e,t,a)=>{var s=Object.prototype.toString;t.exports=function(e){return s.call(e)}},19490,(e,t,a)=>{var s=e.r(54057),l=e.r(47466),r=e.r(3830),i=s?s.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?l(e):r(e)}},23327,(e,t,a)=>{t.exports=function(e){return null!=e&&"object"==typeof e}},18359,(e,t,a)=>{var s=e.r(28253);t.exports=function(){return s.Date.now()}},19424,(e,t,a)=>{var s=/\s/;t.exports=function(e){for(var t=e.length;t--&&s.test(e.charAt(t)););return t}},25390,(e,t,a)=>{var s=e.r(19424),l=/^\s+/;t.exports=function(e){return e?e.slice(0,s(e)+1).replace(l,""):e}},61322,(e,t,a)=>{var s=e.r(19490),l=e.r(23327);t.exports=function(e){return"symbol"==typeof e||l(e)&&"[object Symbol]"==s(e)}},14715,(e,t,a)=>{var s=e.r(25390),l=e.r(25036),r=e.r(61322),i=0/0,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(r(e))return i;if(l(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=l(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=s(e);var a=o.test(e);return a||c.test(e)?d(e.slice(2),a?2:8):n.test(e)?i:+e}},76293,(e,t,a)=>{var s=e.r(25036),l=e.r(18359),r=e.r(14715),i=Math.max,n=Math.min;t.exports=function(e,t,a){var o,c,d,u,m,h,f=0,p=!1,x=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var a=o,s=c;return o=c=void 0,f=t,u=e.apply(s,a)}function g(e){var a=e-h,s=e-f;return void 0===h||a>=t||a<0||x&&s>=d}function j(){var e,a,s,r=l();if(g(r))return y(r);m=setTimeout(j,(e=r-h,a=r-f,s=t-e,x?n(s,d-a):s))}function y(e){return(m=void 0,v&&o)?b(e):(o=c=void 0,u)}function k(){var e,a=l(),s=g(a);if(o=arguments,c=this,h=a,s){if(void 0===m)return f=e=h,m=setTimeout(j,t),p?b(e):u;if(x)return clearTimeout(m),m=setTimeout(j,t),b(h)}return void 0===m&&(m=setTimeout(j,t)),u}return t=r(t)||0,s(a)&&(p=!!a.leading,d=(x="maxWait"in a)?i(r(a.maxWait)||0,t):d,v="trailing"in a?!!a.trailing:v),k.cancel=function(){void 0!==m&&clearTimeout(m),f=0,o=h=c=m=void 0},k.flush=function(){return void 0===m?u:y(l())},k}},8761,e=>{"use strict";var t=e.i(21382);function a(e){let a=t.useRef({value:e,previous:e});return t.useMemo(()=>(a.current.value!==e&&(a.current.previous=a.current.value,a.current.value=e),a.current.previous),[e])}e.s(["usePrevious",()=>a])},16540,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(91967),l=e.i(52896),r=e.i(75985),i=e.i(82394),n=e.i(58014),o=e.i(69875),c=e.i(21193),d=e.i(30909),u=e.i(8761),m=e.i(28820),h="Radio",[f,p]=(0,r.createContextScope)(h),[x,v]=f(h),b=a.forwardRef((e,r)=>{let{__scopeRadio:n,name:o,checked:c=!1,required:d,disabled:u,value:m="on",onCheck:h,form:f,...p}=e,[v,b]=a.useState(null),g=(0,l.useComposedRefs)(r,e=>b(e)),j=a.useRef(!1),N=!v||f||!!v.closest("form");return(0,t.jsxs)(x,{scope:n,checked:c,disabled:u,children:[(0,t.jsx)(i.Primitive.button,{type:"button",role:"radio","aria-checked":c,"data-state":k(c),"data-disabled":u?"":void 0,disabled:u,value:m,...p,ref:g,onClick:(0,s.composeEventHandlers)(e.onClick,e=>{c||h?.(),N&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})}),N&&(0,t.jsx)(y,{control:v,bubbles:!j.current,name:o,value:m,checked:c,required:d,disabled:u,form:f,style:{transform:"translateX(-100%)"}})]})});b.displayName=h;var g="RadioIndicator",j=a.forwardRef((e,a)=>{let{__scopeRadio:s,forceMount:l,...r}=e,n=v(g,s);return(0,t.jsx)(m.Presence,{present:l||n.checked,children:(0,t.jsx)(i.Primitive.span,{"data-state":k(n.checked),"data-disabled":n.disabled?"":void 0,...r,ref:a})})});j.displayName=g;var y=a.forwardRef(({__scopeRadio:e,control:s,checked:r,bubbles:n=!0,...o},c)=>{let m=a.useRef(null),h=(0,l.useComposedRefs)(m,c),f=(0,u.usePrevious)(r),p=(0,d.useSize)(s);return a.useEffect(()=>{let e=m.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==r&&t){let a=new Event("click",{bubbles:n});t.call(e,r),e.dispatchEvent(a)}},[f,r,n]),(0,t.jsx)(i.Primitive.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:h,style:{...o.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function k(e){return e?"checked":"unchecked"}y.displayName="RadioBubbleInput";var N=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],w="RadioGroup",[P,C]=(0,r.createContextScope)(w,[n.createRovingFocusGroupScope,p]),_=(0,n.createRovingFocusGroupScope)(),R=p(),[D,S]=P(w),E=a.forwardRef((e,a)=>{let{__scopeRadioGroup:s,name:l,defaultValue:r,value:d,required:u=!1,disabled:m=!1,orientation:h,dir:f,loop:p=!0,onValueChange:x,...v}=e,b=_(s),g=(0,c.useDirection)(f),[j,y]=(0,o.useControllableState)({prop:d,defaultProp:r??null,onChange:x,caller:w});return(0,t.jsx)(D,{scope:s,name:l,required:u,disabled:m,value:j,onValueChange:y,children:(0,t.jsx)(n.Root,{asChild:!0,...b,orientation:h,dir:g,loop:p,children:(0,t.jsx)(i.Primitive.div,{role:"radiogroup","aria-required":u,"aria-orientation":h,"data-disabled":m?"":void 0,dir:g,...v,ref:a})})})});E.displayName=w;var F="RadioGroupItem",M=a.forwardRef((e,r)=>{let{__scopeRadioGroup:i,disabled:o,...c}=e,d=S(F,i),u=d.disabled||o,m=_(i),h=R(i),f=a.useRef(null),p=(0,l.useComposedRefs)(r,f),x=d.value===c.value,v=a.useRef(!1);return a.useEffect(()=>{let e=e=>
5{N.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,t.jsx)(n.Item,{asChild:!0,...m,focusable:!u,active:x,children:(0,t.jsx)(b,{disabled:u,required:d.required,checked:x,...h,...c,name:d.name,ref:p,onCheck:()=>d.onValueChange(c.value),onKeyDown:(0,s.composeEventHandlers)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,s.composeEventHandlers)(c.onFocus,()=>{v.current&&f.current?.click()})})})});M.displayName=F;var O=a.forwardRef((e,a)=>{let{__scopeRadioGroup:s,...l}=e,r=R(s);return(0,t.jsx)(j,{...r,...l,ref:a})});O.displayName="RadioGroupIndicator";var I=e.i(88850),A=e.i(73273);let T=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(E,{className:(0,A.cn)("grid gap-2",e),...a,ref:s}));T.displayName=E.displayName;let $=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(M,{ref:s,className:(0,A.cn)("aspect-square h-4 w-4 rounded-full border border-amaalahBlue-dark text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...a,children:(0,t.jsx)(O,{className:"flex items-center justify-center",children:(0,t.jsx)(I.Circle,{className:"h-2.5 w-2.5 fill-current text-current"})})}));$.displayName=M.displayName,e.s(["RadioGroup",()=>T,"RadioGroupItem",()=>$],16540)},25959,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(52896),l=e.i(75985),r=e.i(91967),i=e.i(69875),n=e.i(8761),o=e.i(30909),c=e.i(28820),d=e.i(82394),u="Checkbox",[m,h]=(0,l.createContextScope)(u),[f,p]=m(u);function x(e){let{__scopeCheckbox:s,checked:l,children:r,defaultChecked:n,disabled:o,form:c,name:d,onCheckedChange:m,required:h,value:p="on",internal_do_not_use_render:x}=e,[v,b]=(0,i.useControllableState)({prop:l,defaultProp:n??!1,onChange:m,caller:u}),[g,j]=a.useState(null),[y,k]=a.useState(null),N=a.useRef(!1),P=!g||!!c||!!g.closest("form"),C={checked:v,disabled:o,setChecked:b,control:g,setControl:j,name:d,form:c,value:p,hasConsumerStoppedPropagationRef:N,required:h,defaultChecked:!w(n)&&n,isFormControl:P,bubbleInput:y,setBubbleInput:k};return(0,t.jsx)(f,{scope:s,...C,children:"function"==typeof x?x(C):r})}var v="CheckboxTrigger",b=a.forwardRef(({__scopeCheckbox:e,onKeyDown:l,onClick:i,...n},o)=>{let{control:c,value:u,disabled:m,checked:h,required:f,setControl:x,setChecked:b,hasConsumerStoppedPropagationRef:g,isFormControl:j,bubbleInput:y}=p(v,e),k=(0,s.useComposedRefs)(o,x),N=a.useRef(h);return a.useEffect(()=>{let e=c?.form;if(e){let t=()=>b(N.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[c,b]),(0,t.jsx)(d.Primitive.button,{type:"button",role:"checkbox","aria-checked":w(h)?"mixed":h,"aria-required":f,"data-state":P(h),"data-disabled":m?"":void 0,disabled:m,value:u,...n,ref:k,onKeyDown:(0,r.composeEventHandlers)(l,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,r.composeEventHandlers)(i,e=>{b(e=>!!w(e)||!e),y&&j&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});b.displayName=v;var g=a.forwardRef((e,a)=>{let{__scopeCheckbox:s,name:l,checked:r,defaultChecked:i,required:n,disabled:o,value:c,onCheckedChange:d,form:u,...m}=e;return(0,t.jsx)(x,{__scopeCheckbox:s,checked:r,defaultChecked:i,disabled:o,required:n,onCheckedChange:d,name:l,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{...m,ref:a,__scopeCheckbox:s}),e&&(0,t.jsx)(N,{__scopeCheckbox:s})]})})});g.displayName=u;var j="CheckboxIndicator",y=a.forwardRef((e,a)=>{let{__scopeCheckbox:s,forceMount:l,...r}=e,i=p(j,s);return(0,t.jsx)(c.Presence,{present:l||w(i.checked)||!0===i.checked,children:(0,t.jsx)(d.Primitive.span,{"data-state":P(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:a,style:{pointerEvents:"none",...e.style}})})});y.displayName=j;var k="CheckboxBubbleInput",N=a.forwardRef(({__scopeCheckbox:e,...l},r)=>{let{control:i,hasConsumerStoppedPropagationRef:c,checked:u,defaultChecked:m,required:h,disabled:f,name:x,value:v,form:b,bubbleInput:g,setBubbleInput:j}=p(k,e),y=(0,s.useComposedRefs)(r,j),N=(0,n.usePrevious)(u),P=(0,o.useSize)(i);a.useEffect(()=>{if(!g)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!c.current;if(N!==u&&e){let a=new Event("click",{bubbles:t});
5g.indeterminate=w(u),e.call(g,!w(u)&&u),g.dispatchEvent(a)}},[g,N,u,c]);let C=a.useRef(!w(u)&&u);return(0,t.jsx)(d.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:m??C.current,required:h,disabled:f,name:x,value:v,form:b,...l,tabIndex:-1,ref:y,style:{...l.style,...P,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function w(e){return"indeterminate"===e}function P(e){return w(e)?"indeterminate":e?"checked":"unchecked"}N.displayName=k;var C=e.i(36833),_=e.i(73273);let R=a.forwardRef(({className:e,...a},s)=>(0,t.jsx)(g,{ref:s,className:(0,_.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-amaalahBlue-light ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground text-left rtl:text-right",e),...a,children:(0,t.jsx)(y,{className:(0,_.cn)("flex items-center justify-center text-current"),children:(0,t.jsx)(C.Check,{className:"h-4 w-4"})})}));R.displayName=g.displayName,e.s(["Checkbox",()=>R],25959)},48873,e=>{"use strict";e.s(["GENDER_OPTIONS",0,[{label:{ar:"الكل",ur:"سب",en:"All"},value:0},{label:{ar:"ذكر",ur:"مرد",en:"Male"},value:1},{label:{ar:"أنثى",ur:"عورت",en:"Female"},value:2}]])},12834,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(26748),l=e.i(78018);function r({title:e="FAQs",faqs:r,lang:i}){let[n,o]=(0,a.useState)(null);return(0,t.jsx)("section",{className:"bg-white p-4 rounded-lg shadow-sm mb-8 mx-auto w-full mt-2",children:(0,t.jsxs)("div",{className:"container mx-auto",children:[(0,t.jsx)("h2",{className:"text-xl font-bold text-gray-900 text-center mb-5",children:e}),(0,t.jsx)("div",{id:"faq-accordion",className:"space-y-4",children:r.map((e,a)=>(0,t.jsxs)("div",{className:"border border-gray-200 rounded-lg overflow-hidden shadow-md",children:[(0,t.jsxs)("button",{onClick:()=>{o(n===a?null:a)},className:"accordion-header flex justify-between items-center w-full p-5 text-lg font-semibold text-left text-gray-800 bg-gray-50 hover:bg-blue-50 focus:outline-none","aria-expanded":n===a,"aria-controls":`faq-content-${e.id}`,children:[(0,l.translation)(e.question,i),(0,t.jsx)(s.ChevronDown,{className:`accordion-icon transition-transform duration-300 ${n===a?"rotate-180":""}`})]}),(0,t.jsx)("div",{id:`faq-content-${e.id}`,className:`accordion-content px-5 pt-0 pb-5 text-gray-700 ${n===a?"block":"hidden"}`,"aria-hidden":n!==a,children:(0,t.jsx)("p",{className:"pt-4",children:(0,l.translation)(e.answer,i)})})]},e.id))})]})})}e.s(["default",()=>r])},14956,e=>{"use strict";let t=(0,e.i(33912).default)("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);e.s(["Filter",()=>t],14956)},52917,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(97036),l=e.i(94237),r=e.i(45777),i=e.i(73273);let n=s.Root,o=s.Trigger;s.Close;let c=s.Portal,d=a.forwardRef(({className:e,...a},l)=>(0,t.jsx)(s.Overlay,{className:(0,i.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a,ref:l}));d.displayName=s.Overlay.displayName;let u=(0,l.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),m=a.forwardRef(({side:e="right",className:a,children:l,...n},o)=>(0,t.jsxs)(c,{children:[(0,t.jsx)(d,{}),(0,t.jsxs)(s.Content,{ref:o,className:(0,i.cn)(u({side:e}),a),...n,children:[l,(0,t.jsxs)(s.Close,{className:"absolute right-4 top-4 roun
5ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,t.jsx)(r.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));m.displayName=s.Content.displayName;let h=({className:e,...a})=>(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",e),...a});h.displayName="SheetHeader";let f=a.forwardRef(({className:e,...a},l)=>(0,t.jsx)(s.Title,{ref:l,className:(0,i.cn)("text-lg font-semibold text-foreground",e),...a}));f.displayName=s.Title.displayName,a.forwardRef(({className:e,...a},l)=>(0,t.jsx)(s.Description,{ref:l,className:(0,i.cn)("text-sm text-muted-foreground",e),...a})).displayName=s.Description.displayName,e.s(["Sheet",()=>n,"SheetContent",()=>m,"SheetHeader",()=>h,"SheetTitle",()=>f,"SheetTrigger",()=>o])},72640,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(44425),l=e.i(8992),r=e.i(25352),i=e.i(76293),n=e.i(44428),o=e.i(67881),c=e.i(10708),d=e.i(23750),u=e.i(25959),m=e.i(16540),h=e.i(73273),f=e.i(78018),p=e.i(85235),x=e.i(94848),v=e.i(1347),b=e.i(79856),g=e.i(48873);let j=(0,n.default)(()=>e.A(19890),{loadableGenerated:{modules:[66307]},loading:()=>(0,t.jsx)("div",{className:"animate-pulse bg-gray-200 h-10 rounded"}),ssr:!1}),y=(0,n.default)(()=>
5e.A(32054),{loadableGenerated:{modules:[89538]},loading:()=>(0,t.jsx)("div",{className:"animate-pulse bg-gray-200 h-10 rounded"}),ssr:!1}),k={filter_search_query:"",page:1,filter_profession:null,filter_location:null,filter_nationality:null,available_only:!1,iqama_transfer:!1,has_cv:!1,has_whatsapp:!1,filter_age_range:["",""],languages:[],gender:0};function N({onFilterChange:e,className:n,setDefaultActiveSaveFilter:N}){let w=(0,s.useForm)({defaultValues:k,mode:"onChange"}),{professions:P,isLoading:C}=(0,p.useAppSelector)(e=>e.profession,(e,t)=>e.isLoading===t.isLoading&&e.professions.length===t.professions.length),{countries:_,isLoading:R}=(0,p.useAppSelector)(e=>e.country,(e,t)=>e.isLoading===t.isLoading&&e.countries.length===t.countries.length),D=(0,p.useAppDispatch)(),S=(0,l.usePathname)(),E=(0,a.useMemo)(()=>S.split("/")[1],[S]),{t:F}=(0,x.UseTranslation)(E,"jobseekers"),M=(0,a.useMemo)(()=>"rtl"===(0,r.dir)(E),[E]),O=(0,a.useMemo)(()=>_.map(e=>({value:e.id,label:(0,f.translation)(e.name,E)})),[_,E]),I=(0,a.useMemo)(()=>P.map(e=>({value:e.id,label:(0,f.translation)(e.name,E)})),[P,E]),A=(0,a.useMemo)(()=>g.GENDER_OPTIONS.map(e=>({...e,label:e.label[E]})),[E]),T=(0,a.useRef)(null),$=(0,a.useRef)(null);(0,a.useEffect)(()=>()=>{T.current&&T.current.cancel(),$.current&&$.current.abort()},[]);let L=(0,a.useCallback)(async e=>{$.current&&$.current.abort(),$.current=new AbortController;try{return(await D((0,v.fetchProfessions)({search:e,page:1,perPage:10,visible:1})).unwrap()).data.map(e=>({label:e.name[E]||e.name.en,value:e.id}))}catch(e){if("AbortError"===e.name)return[];throw e}},[D,E]),B=(0,a.useCallback)((e,t)=>{T.current&&T.current.cancel(),T.current=(0,i.default)(async e=>{try{let a=await L(e);t(a)}catch(e){t([])}},300),T.current(e)},[L]),q=(0,a.useCallback)(()=>{w.reset(k)},[w]),z=(0,a.useCallback)(()=>{let t=w.getValues(),a=(0,b.saveFilter)("filter",t);e(t),N(a.id),window.dispatchEvent(new CustomEvent("jobSeekerFiltersUpdated",{detail:t}))},[w,e,N]),U=(0,a.useCallback)(e=>{let t=parseInt(e.target.value,10)||"",a=w.getValues("filter_age_range")||["",""];w.setValue("filter_age_range",[t,a[1]],{shouldDirty:!0})},[w]),V=(0,a.useCallback)(e=>{let t=parseInt(e.target.value,10)||"",a=w.getValues("filter_age_range")||["",""];w.setValue("filter_age_range",[a[0],t],{shouldDirty:!0})},[w]),G=(0,a.useCallback)(e=>t=>{w.setValue(e,t,{shouldDirty:!0})},[w]),H=(0,a.useMemo)(()=>G("available_only"),[G]),W=(0,a.useMemo)(()=>G("iqama_transfer"),[G]),X=(0,a.useMemo)(()=>G("has_cv"),[G]),K=(0,a.useMemo)(()=>G("has_whatsapp"),[G]),Z=w.watch(["available_only","iqama_transfer","has_cv","has_whatsapp","gender","filter_age_range"]);return(0,t.jsxs)("form",{className:(0,h.cn)("space-y-4",n),role:"form","aria-label":F("filter"),children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(c.Label,{htmlFor:"filter-profession",children:F("filter_profession")}),(0,t.jsx)(s.Controller,{name:"filter_profession",control:w.control,render:({field:e})=>(0,t.jsx)(j,{...e,inputId:"filter-profession",isClearable:!0,isMulti:!0,cacheOptions:!0,defaultOptions:I,loadOptions:B,isLoading:C,isRtl:M,placeholder:F("placeholder_filter_profession"),noOptionsMessage:()=>F("placeholder_filter_profession"),"aria-label":F("filter_profession"),classNamePrefix:"react-select"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(c.Label,{htmlFor:"filter-location",children:F("filter_location")}),(0,t.jsx)(s.Controller,{name:"filter_location",control:w.control,render:({field:e})=>(0,t.jsx)(y,{...e,inputId:"filter-location",isClearable:!0,isMulti:!0,isRtl:M,options:O,placeholder:F("placeholder_filter_location"),"aria-label":F("filter_location"),classNamePrefix:"react-select"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(c.Label,{htmlFor:"filter-nationality",children:F("filter_nationality")}),(0,t.jsx)(s.Controller,{name:"filter_nationality",control:w.control,render:({field:e})=>(0,t.jsx)(y,{...e,inputId:"filter-nationality",isClearable:!0,isMulti:!0,isRtl:M,options:O,placeholder:F("placeholder_filter_nationality"),"aria-label":F("filter_nationality"),classNamePrefix:"react-select"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(c.Label,{children:F("gender")}),(0,t.jsx)(s.Controller,{name:"gender",control:w.control,render:({field:e})=>(0,t.jsx)(m.RadioGroup,{value:Z[4]?.toString()||"0",onValueChange:e=>w.setValue("gender",Number(e),{shouldDirty:!0}),className:"flex gap-4",children:A.map(e=>(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(m.RadioGroupItem,{value:e.value.toString(),id:`gender-${e.value}`}),(0,t.jsx)(c.Label,{htmlFor:`gender-${e.value}`,className:"cursor-pointer",children:e.label})]},e.value))})})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(u.Checkbox,{id:"availability",checked:Z[0],onCheckedChange:H}),(0,t.jsx)(c.Label,{htmlFor:"availability",className:"cursor-pointer",children:F("available_only")})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(u.Checkbox,{id:"iqamaTransfer",checked:Z[1],onCheckedChange:W}),(0,t.jsx)(c.Label,{htmlFor:"iqamaTransfer",className:"cursor-pointer",children:F("iqama_transfer")})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(u.Checkbox,{id:"hasCV",checked:Z[2],onCheckedChange:X}),(0,t.jsx)(c.Label,{htmlFor:"hasCV",className:"cursor-pointer",children:F("has_cv")})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(u.Checkbox,{id:"hasWhatsapp",checked:Z[3],onCheckedChange:K}),(0,t.jsx)(c.Label,{htmlFor:"hasWhatsapp",className:"cursor-pointer",children:F("has_whatsapp")})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(c.Label,{children:F("filter_age_range")}),(0,t.jsxs)("div",{className:"flex flex-row justify-between items-center gap-2",children:[(0,t.jsx)(d.Input,{type:"number",min:20,max:60,placeholder:F("min"),className:"w-full",value:Z[5]?.[0]??"",onChange:U,"aria-label":`${F("filter_age_range")} ${F("min")}`}),(0,t.jsx)("span",{className:"text-sm text-gray-500",children:F("to")}),(0,t.jsx)(d.Input,{type:"number",min:20,max:60,placeholder:F("max"),className:"w-full",value:Z[5]?.[1]??"",onChange:V,"aria-label":`${F("filter_age_range")} ${F("max")}`})]})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between gap-2 pt-4",children:[(0,t.jsx)(o.Button,{type:"button",variant:"outline",onClick:q,className:"w-full","aria-label":F("reset_filters"),children:F("reset_filters")}),(0,t.jsx)(o.Button,{type:"button",className:"bg-amaalahBlue-light hover:bg-amaalahBlue-dark text-white w-full transition-colors",onClick:z,"aria-label":F("apply_filter"),children:F("apply_filter")})]})]})}e.s(["FilterForm",()=>N])},15736,e=>{"use strict";var t=e.i(45687),a=e.i(21382),s=e.i(44428),l=e.i(69502),r=e.i(23750),i=e.i(52917),n=e.i(67881),o=e.i(14956),c=e.i(72640
5),d=e.i(8992),u=e.i(94848),m=e.i(85235),h=e.i(25770);function f({onFilterChange:e,setDefaultActiveSaveFilter:s}){let l=(0,d.usePathname)().split("/")[1],{t:r}=(0,u.UseTranslation)(l,"jobseekers"),f=(0,m.useAppDispatch)(),[p,x]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{p?f((0,h.hiddenNavigation)()):f((0,h.showNavigation)())},[p]),(0,t.jsxs)(i.Sheet,{open:p,onOpenChange:x,children:[(0,t.jsx)(i.SheetTrigger,{asChild:!0,children:(0,t.jsxs)(n.Button,{variant:"outline",className:"lg:hidden",children:[(0,t.jsx)(o.Filter,{className:"mr-2 h-4 w-4"}),r("filter")]})}),(0,t.jsxs)(i.SheetContent,{side:"left",className:"w-full sm:max-w-lg",children:[(0,t.jsx)(i.SheetHeader,{children:(0,t.jsx)(i.SheetTitle,{children:r("filter_result")})}),(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(c.FilterForm,{setDefaultActiveSaveFilter:s,onFilterChange:t=>{e(t),x(!1)},className:"space-y-4"})})]})]})}var p=e.i(76293),x=e.i(59615),v=e.i(24996);function b({lang:e}){let{t:s}=(0,u.UseTranslation)(e,"jobseekers"),[i,n]=(0,a.useState)(""),o=(0,m.useAppDispatch)(),[c,d]=(0,a.useState)(null),h=(0,a.useCallback)(e=>{o((0,v.setFilterJobseekers)(e))},[o]),b=(0,a.useCallback)((0,p.default)(e=>{d(e)},500),[]);return(0,a.useEffect)(()=>{null!==c&&o((0,v.setFilterJobseekers)({...x.initialFilterJobSeeker,filter_search_query:c}))},[o,c]),(0,t.jsx)("div",{className:"sticky top-[65px] z-10 bg-amaalahGray-lightest lg:min-w-[750px] lg:max-w-[750px]",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"relative flex-1 min-w-0",children:[(0,t.jsx)(l.Search,{className:"absolute left-3 top-1/2 h-4 w-4 z-40 -translate-y-1/2 text-amaalahGray-medium"}),(0,t.jsx)(r.Input,{placeholder:s("search"),value:i,onChange:e=>{let t=e.target.value;n(t),b(t)},className:"pl-10 border-amaalahGray-light text-amaalahGray-dark placeholder:text-amaalahGray-medium"})]}),(0,t.jsx)(f,{setDefaultActiveSaveFilter:e=>o((0,v.setDefaultActiveSaveFilter)(e)),onFilterChange:h})]})})}var g=e.i(50377);let j=(0,s.default)(()=>e.A(9310),{loadableGenerated:{modules:[86828]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"hidden lg:block w-80 shrink-0",children:(0,t.jsxs)("div",{className:"sticky top-[50px] bg-gray-100 p-6 rounded-lg border h-96",children:[(0,t.jsx)("div",{className:"animate-pulse bg-gray-200 h-6 rounded mb-4"}),(0,t.jsx)("div",{className:"space-y-3",children:Array.from({length:6},(e,a)=>(0,t.jsx)("div",{className:"animate-pulse bg-gray-200 h-4 rounded",style:{animationDelay:`${100*a}ms`}},a))})]})})}),y=(0,s.default)(()=>e.A(82042),{loadableGenerated:{modules:[68129]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"mb-4 p-3 bg-white rounded-lg border",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:Array.from({length:4},(e,a)=>(0,t.jsx)("div",{className:"animate-pulse bg-gray-200 h-8 w-20 rounded-full",style:{animationDelay:`${50*a}ms`}},a))})})}),k=(0,a.memo)(function({lang:e,initialUser:s,initialMeta:l,autoLoad:r=!1}){let i=(0,a.useMemo)(()=>({initialUser:s,initialMeta:l,lang:e}),[s,l,e]),n=(0,a.useMemo)(()=>s&&s.length>0,[s]),o=(0,a.useMemo)(()=>(0,t.jsx)("div",{className:"space-y-4",role:"status","aria-label":"Loading job seekers",children:Array.from({length:n?Math.min(5,s.length):5},(e,a)=>(0,t.jsx)("div",{className:"bg-white p-4 rounded-lg border animate-pulse",children:(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-gray-200 rounded-full"}),(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)("div",{className:"h-5 bg-gray-200 rounded w-3/4"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 rounded w-1/2"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 rounded w-2/3"})]})]})},a))}),[n,s.length]);return(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row lg:gap-8",children:[(0,t.jsx)("aside",{className:"hidden lg:block w-80 shrink-0",role:"complementary",children:(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)("div",{className:"animate-pulse bg-gray-200 h-96 rounded-lg"}),children:(0,t.jsx)(j,{lang:e})})}),(0,t.jsxs)("main",{className:"lg:min-w-[750px] lg:max-w-[750px] flex-1",role:"main",children:[(0,t.jsx)(b,{lang:i.lang}),(0,t.jsx)(y,{}),(0,t.jsx)("section",{"aria-label":"Job seekers list",style:{contentVisibility:"auto",containIntrinsicSize:"100% 800px"},children:(0,t.jsx)("div",{children:(0,t.jsx)(a.Suspense,{fallback:o,children:(0,t.jsx)(g.default,{initialUser:i.initialUser,initialMeta:i.initialMeta,lang:i.lang,autoLoad:r})})})})]})]})},(e,t)=>{if(e.lang!==t.lang)return!1;let a=e.initialUser?.length||0,s=t.initialUser?.length||0;return a===s&&(e.initialMeta?.total||0)===(t.initialMeta?.total||0)&&(!(a>0)||!(s>0)||e.initialUser?.[0]?.id===t.initialUser?.[0]?.id)});e.s(["default",0,k],15736)},35393,e=>{e.v(t=>Promise.all(["static/chunks/1ac88ae7a568b082.js"].map(t=>e.l(t))).then(()=>t(36939)))},87284,e=>{e.v(t=>Promise.all(["static/chunks/8417caf744fd793a.js"].map(t=>e.l(t))).then(()=>t(62385)))},55487,e=>{e.v(t=>Promise.all(["static/chunks/1c1b05342ae220ea.js"].map(t=>e.l(t))).then(()=>t(2923)))},77169,e=>{e.v(t=>Promise.all(["static/chunks/76a1627dfdb73c45.js"].map(t=>e.l(t))).then(()=>t(32271)))},90534,e=>{e.v(t=>Promise.all(["static/chunks/2137f08c846fb164.js"].map(t=>e.l(t))).then(()=>t(38822)))},51378,e=>{e.v(t=>Promise.all(["static/chunks/f5b011c68fdfea56.js"].map(t=>e.l(t))).then(()=>t(76918)))},43978,e=>{e.v(t=>Promise.all(["static/chunks/6d006c284e2032dc.js"].map(t=>e.l(t))).then(()=>t(75734)))},92212,e=>{e.v(t=>Promise.all(["static/chunks/085d07b7463266a5.js"].map(t=>e.l(t))).then(()=>t(10208)))},87285,e=>{e.v(t=>Promise.all(["static/chunks/9139c7fcc56a1294.js"].map(t=>e.l(t))).then(()=>t(19636)))},35348,e=>{e.v(t=>Promise.all(["static/chunks/dd18fce23b9eaa92.js"].map(t=>e.l(t))).then(()=>t(9057)))},30639,e=>{e.v(t=>Promise.all(["static/chunks/6c64d7ad9748d717.js"].map(t=>e.l(t))).then(()=>t(67893)))},67715,e=>{e.v(t=>Promise.all(["static/chunks/e6e1f74520d47129.js"].map(t=>e.l(t))).then(()=>t(23973)))},18994,e=>{e.v(t=>Promise.all(["static/chunks/9a975f54d696d2b8.js"].map(t=>e.l(t))).then(()=>t(64256)))},29167,e=>{e.v(t=>Promise.all(["static/chunks/203f7a44e08df6c4.js"].map(t=>e.l(t))).then(()=>t(13123)))},10719,e=>{e.v(t=>Promise.all(["static/chunks/83305dd45f5bb5d9.js"].map(t=>e.l(t))).then(()=>t(50743)))},83140,e=>{e.v(t=>Promise.all(["static/chunks/3b54e05262bfd2af.js"].map(t=>e.l(t))).then(()=>t(70215)))},63178,e=>{e.v(t=>Promise.all(["static/chunks/110256220780cd46.js"].map(t=>e.l(t))).then(()=>t(7762)))},65460,e=>{e.v(t=>Promise.all(["static/chunks/b8c97c41b375cec2.js"].map(t=>e.l(t))).then(()=>t(7066)))},63732,e=>{e.v(t=>Promise.all(["static/chunks/c0227de5758bd2fd.js"].map(t=>e.l(t))).then(()=>t(16233)))},66057,e=>{e.v(t=>Promise.all(["static/chunks/87a9fa58bdd52a0d.js"].map(t=>e.l(t))).then(()=>t(79598)))},69160,e=>{e.v(t=>Promise.all(["static/chunks/c34c893f59e83b70.js"].map(t=>e.l(t))).then(()=>t(40639)))},13883,e=>{e.v(t=>Promise.all(["static/chunks/d87c52f532263f1c.js"].map(t=>e.l(t))).then(()=>t(14706)))},16568,e=>{e.v(t=>Promise.all(["static/chunks/4c9bc7abe245d46a.js"].map(t=>e.l(t))).then(()=>t(27065)))},98809,e=>{e.v(t=>Promise.all(["static/chunks/6c12047a984a71f4.js"].map(t=>e.l(t))).then(()=>t(22822)))},31754,e=>{e.v(t=>Promise.all(["static/chunks/9f6528a7fb4550ae.js"].map(t=>e.l(t))).then(()=>t(45610)))},51382,e=>{e.v(t=>Promise.all(["static/chunks/b0018edf0bc10715.js"].map(t=>e.l(t))).then(()=>t(23866)))},86622,e=>{e.v(t=>Promise.all(["static/chunks/23502a91ff13f7c2.js"].map(t=>e.l(t))).then(()=>t(98088)))},61996,e=>{e.v(t=>
5Promise.all(["static/chunks/efe36abe1a2583e6.js"].map(t=>e.l(t))).then(()=>t(45260)))},3239,e=>{e.v(t=>Promise.all(["static/chunks/3af9d59851084d66.js"].map(t=>e.l(t))).then(()=>t(84224)))},47669,e=>{e.v(t=>Promise.all(["static/chunks/b5fb0096212c0028.js"].map(t=>e.l(t))).then(()=>t(68930)))},75352,e=>{e.v(t=>Promise.all(["static/chunks/a7632696820e9210.js"].map(t=>e.l(t))).then(()=>t(74217)))},31166,e=>{e.v(t=>Promise.all(["static/chunks/e95a0063ad149155.js"].map(t=>e.l(t))).then(()=>t(71093)))},9951,e=>{e.v(t=>Promise.all(["static/chunks/c97ebee7d430b944.js"].map(t=>e.l(t))).then(()=>t(53089)))},12968,e=>{e.v(t=>Promise.all(["static/chunks/1377e50c2290ff53.js"].map(t=>e.l(t))).then(()=>t(65097)))},66949,e=>{e.v(t=>Promise.all(["static/chunks/b6613ebe35f11596.js"].map(t=>e.l(t))).then(()=>t(8166)))},28943,e=>{e.v(t=>Promise.all(["static/chunks/75db76db712e3d1d.js"].map(t=>e.l(t))).then(()=>t(12409)))},57736,e=>{e.v(t=>Promise.all(["static/chunks/00606f96e57f5c56.js"].map(t=>e.l(t))).then(()=>t(28961)))},87950,e=>{e.v(t=>Promise.all(["static/chunks/28e76aa57e112494.js"].map(t=>e.l(t))).then(()=>t(87340)))},6257,e=>{e.v(t=>Promise.all(["static/chunks/0e307aff64e58a97.js"].map(t=>e.l(t))).then(()=>t(73932)))},51665,e=>{e.v(t=>Promise.all(["static/chunks/29fb04942f4dfe9a.js"].map(t=>e.l(t))).then(()=>t(88818)))},43770,e=>{e.v(t=>Promise.all(["static/chunks/eadea069708d9ae2.js"].map(t=>e.l(t))).then(()=>t(94345)))},515,e=>{e.v(t=>Promise.all(["static/chunks/c937ccbcab79cbea.js"].map(t=>e.l(t))).then(()=>t(59963)))},23877,e=>{e.v(t=>Promise.all(["static/chunks/48581f9432c0a544.js"].map(t=>e.l(t))).then(()=>t(19377)))},75365,e=>{e.v(t=>Promise.all(["static/chunks/90909ffee69629c2.js"].map(t=>e.l(t))).then(()=>t(5350)))},22233,e=>{e.v(t=>Promise.all(["static/chunks/70ae6502eb703a86.js"].map(t=>e.l(t))).then(()=>t(63673)))},66815,e=>{e.v(t=>Promise.all(["static/chunks/6c706631f7ed3f53.js"].map(t=>e.l(t))).then(()=>t(11091)))},73074,e=>{e.v(t=>Promise.all(["static/chunks/5a244cf2362f3c98.js"].map(t=>e.l(t))).then(()=>t(50920)))},71723,e=>{e.v(t=>Promise.all(["static/chunks/7ddf4a1d6ab208b8.js"].map(t=>e.l(t))).then(()=>t(48812)))},13033,e=>{e.v(t=>Promise.all(["static/chunks/a5e3ff86d948c5dc.js"].map(t=>e.l(t))).then(()=>t(6746)))},18944,e=>{e.v(t=>Promise.all(["static/chunks/fa993d14247a0ee7.js"].map(t=>e.l(t))).then(()=>t(19038)))},19789,e=>{e.v(t=>Promise.all(["static/chunks/dbf74b9ecd71ec52.js"].map(t=>e.l(t))).then(()=>t(67149)))},34652,e=>{e.v(t=>Promise.all(["static/chunks/d5c95448f48655cb.js"].map(t=>e.l(t))).then(()=>t(33208)))},48659,e=>{e.v(t=>Promise.all(["static/chunks/6fe75c000adfabd5.js"].map(t=>e.l(t))).then(()=>t(19818)))},34913,e=>{e.v(t=>Promise.all(["static/chunks/4c6834d726839991.js"].map(t=>e.l(t))).then(()=>t(5883)))},63329,e=>{e.v(t=>Promise.all(["static/chunks/4781b1eeefce05af.js"].map(t=>e.l(t))).then(()=>t(36883)))},11097,e=>{e.v(t=>Promise.all(["static/chunks/d403d23788fa040e.js"].map(t=>e.l(t))).then(()=>t(81814)))},84177,e=>{e.v(t=>Promise.all(["static/chunks/acaa557f86d58425.js"].map(t=>e.l(t))).then(()=>t(88657)))},83292,e=>{e.v(t=>Promise.all(["static/chunks/2294e9ecd006c425.js"].map(t=>e.l(t))).then(()=>t(61429)))},91519,e=>{e.v(t=>Promise.all(["static/chunks/17fe1ef79f4d0bef.js"].map(t=>e.l(t))).then(()=>t(18494)))},71473,e=>{e.v(t=>Promise.all(["static/chunks/4407b350060718b0.js"].map(t=>e.l(t))).then(()=>t(18274)))},50238,e=>{e.v(t=>Promise.all(["static/chunks/272eef7414d1f64c.js"].map(t=>e.l(t))).then(()=>t(64159)))},30305,e=>{e.v(t=>Promise.all(["static/chunks/a45b6095c8eb5cec.js"].map(t=>e.l(t))).then(()=>t(202)))},25961,e=>{e.v(t=>Promise.all(["static/chunks/968ca9244321fb12.js"].map(t=>e.l(t))).then(()=>t(15997)))},55998,e=>{e.v(t=>Promise.all(["static/chunks/4050aec5c578d697.js"].map(t=>e.l(t))).then(()=>t(49388)))},83513,e=>{e.v(t=>Promise.all(["static/chunks/a937ea38fe4bb58e.js"].map(t=>e.l(t))).then(()=>t(12905)))},89662,e=>{e.v(t=>Promise.all(["static/chunks/89160ea2dd499f78.js"].map(t=>e.l(t))).then(()=>t(79446)))},44347,e=>{e.v(t=>Promise.all(["static/chunks/d5ff1c6cc595ed98.js"].map(t=>e.l(t))).then(()=>t(68346)))},10307,e=>{e.v(t=>Promise.all(["static/chunks/67a99dc2897c4534.js"].map(t=>e.l(t))).then(()=>t(97746)))},69435,e=>{e.v(t=>Promise.all(["static/chunks/24c14aa36709bc3d.js"].map(t=>e.l(t))).then(()=>t(6580)))},73871,e=>{e.v(t=>Promise.all(["static/chunks/4ed2ec0f884db617.js"].map(t=>e.l(t))).then(()=>t(75150)))},23957,e=>{e.v(t=>Promise.all(["static/chunks/e79af91b1dd7f9eb.js"].map(t=>e.l(t))).then(()=>t(43866)))},34630,e=>{e.v(t=>Promise.all(["static/chunks/d9a43276e8c83143.js"].map(t=>e.l(t))).then(()=>t(28093)))},66199,e=>{e.v(t=>Promise.all(["static/chunks/8b0156864845a563.js"].map(t=>e.l(t))).then(()=>t(43103)))},98912,e=>{e.v(t=>Promise.all(["static/chunks/ffc56fe1f2a16bda.js"].map(t=>e.l(t))).then(()=>t(64380)))},79221,e=>{e.v(t=>Promise.all(["static/chunks/b02668f86ff20a75.js"].map(t=>e.l(t))).then(()=>t(57977)))},98026,e=>{e.v(t=>Promise.all(["static/chunks/3ff3b27dc40eb373.js"].map(t=>e.l(t))).then(()=>t(50130)))},67981,e=>{e.v(t=>Promise.all(["static/chunks/b065029777261413.js"].map(t=>e.l(t))).then(()=>t(82413)))},15620,e=>{e.v(t=>Promise.all(["static/chunks/f00e5f69bf56f2b8.js"].map(t=>e.l(t))).then(()=>
5t(93690)))},25086,e=>{e.v(t=>Promise.all(["static/chunks/d7edebe648172bb4.js"].map(t=>e.l(t))).then(()=>t(6324)))},15005,e=>{e.v(t=>Promise.all(["static/chunks/d8cca370c202c903.js"].map(t=>e.l(t))).then(()=>t(82958)))},79902,e=>{e.v(t=>Promise.all(["static/chunks/bbec20aafceee20b.js"].map(t=>e.l(t))).then(()=>t(15540)))},88937,e=>{e.v(t=>Promise.all(["static/chunks/296b3ce626fa1d50.js"].map(t=>e.l(t))).then(()=>t(74225)))},40802,e=>{e.v(t=>Promise.all(["static/chunks/278435f60c947bf4.js"].map(t=>e.l(t))).then(()=>t(6686)))},87992,e=>{e.v(t=>Promise.all(["static/chunks/2c28265d79445dff.js"].map(t=>e.l(t))).then(()=>t(66211)))},14604,e=>{e.v(t=>Promise.all(["static/chunks/206fca3d008f4b6f.js"].map(t=>e.l(t))).then(()=>t(2119)))},54793,e=>{e.v(t=>Promise.all(["static/chunks/4ed73a5825cc46f3.js"].map(t=>e.l(t))).then(()=>t(30483)))},53223,e=>{e.v(t=>Promise.all(["static/chunks/ebea482f114b1fc8.js"].map(t=>e.l(t))).then(()=>t(23283)))},95028,e=>{e.v(t=>Promise.all(["static/chunks/aa80cbb37857ff0f.js"].map(t=>e.l(t))).then(()=>t(45830)))},71203,e=>{e.v(t=>Promise.all(["static/chunks/f5baa9deb45629ef.js"].map(t=>e.l(t))).then(()=>t(993)))},48049,e=>{e.v(t=>Promise.all(["static/chunks/cf78bc4697022504.js"].map(t=>e.l(t))).then(()=>
5t(51120)))},71092,e=>{e.v(t=>Promise.all(["static/chunks/6e5e29198d4f1ac0.js"].map(t=>e.l(t))).then(()=>t(89431)))},51201,e=>{e.v(t=>Promise.all(["static/chunks/1ffbb6d0fbf2bcc3.js"].map(t=>e.l(t))).then(()=>t(4718)))},3025,e=>{e.v(t=>Promise.all(["static/chunks/bfb84ef8d11e0ab9.js"].map(t=>e.l(t))).then(()=>t(90704)))},25836,e=>{e.v(t=>Promise.all(["static/chunks/18eef40dcc8a5d9e.js"].map(t=>e.l(t))).then(()=>t(35624)))},30029,e=>{e.v(t=>Promise.all(["static/chunks/37887be0cc454d95.js"].map(t=>e.l(t))).then(()=>t(84422)))},81174,e=>{e.v(t=>Promise.all(["static/chunks/2b441b76d61d5e6f.js"].map(t=>e.l(t))).then(()=>t(88339)))},57944,e=>{e.v(t=>Promise.all(["static/chunks/5ed161c3f902480a.js"].map(t=>e.l(t))).then(()=>t(91039)))},11980,e=>{e.v(t=>Promise.all(["static/chunks/e7670de3fe04319a.js"].map(t=>e.l(t))).then(()=>t(13672)))},96918,e=>{e.v(t=>Promise.all(["static/chunks/c3e86d8e15665e0c.js"].map(t=>e.l(t))).then(()=>t(68743)))},64216,e=>{e.v(t=>Promise.all(["static/chunks/5b8093222168e65a.js"].map(t=>e.l(t))).then(()=>t(47387)))},92225,e=>{e.v(t=>Promise.all(["static/chunks/e1cba880ac779225.js"].map(t=>e.l(t))).then(()=>t(64534)))},71185,e=>{e.v(t=>Promise.all(["static/chunks/e9c9157925e12f20.js"].map(t=>e.l(t))).then(()=>t(74824)))},38659,e=>{e.v(t=>Promise.all(["static/chunks/5b38e010e92cf8a7.js"].map(t=>e.l(t))).then(()=>t(55107)))},64274,e=>{e.v(t=>Promise.all(["static/chunks/9c55a25da91fe241.js"].map(t=>e.l(t))).then(()=>t(98750)))},47303,e=>{e.v(t=>Promise.all(["static/chunks/29a7b1fa9ba93bb1.js"].map(t=>e.l(t))).then(()=>t(20924)))},17425,e=>{e.v(t=>Promise.all(["static/chunks/8572e269416679a3.js"].map(t=>e.l(t))).then(()=>t(99631)))},3498,e=>{e.v(t=>Promise.all(["static/chunks/aea89d2f51be1eba.js"].map(t=>e.l(t))).then(()=>t(44554)))},90695,e=>{e.v(t=>Promise.all(["static/chunks/d5c3b95bae991c58.js"].map(t=>e.l(t))).then(()=>t(11102)))},91106,e=>{e.v(t=>Promise.all(["static/chunks/ed84338a90c72b64.js"].map(t=>e.l(t))).then(()=>t(17881)))},79055,e=>{e.v(t=>Promise.all(["static/chunks/6f35fa68e6a578e9.js"].map(t=>e.l(t))).then(()=>t(73430)))},35593,e=>{e.v(t=>Promise.all(["static/chunks/1776ed24f7acdaaa.js"].map(t=>e.l(t))).then(()=>t(15)))},69867,e=>{e.v(t=>Promise.all(["static/chunks/7453988d36664d6b.js"].map(t=>e.l(t))).then(()=>t(25087)))},48742,e=>{e.v(t=>Promise.all(["static/chunks/81850c792af0ebf9.js"].map(t=>e.l(t))).then(()=>t(87524)))},86820,e=>{e.v(t=>Promise.all(["static/chunks/63d0079245a1784e.js"].map(t=>e.l(t))).then(()=>t(72763)))},24709,e=>{e.v(t=>Promise.all(["static/chunks/138ddf2158905165.js"].map(t=>e.l(t))).then(()=>t(51123)))},97938,e=>{e.v(t=>Promise.all(["static/chunks/82805bee379df19a.js"].map(t=>e.l(t))).then(()=>t(72467)))},38816,e=>{e.v(t=>Promise.all(["static/chunks/a4d066c31ef6085e.js"].map(t=>e.l(t))).then(()=>t(3004)))},8001,e=>{e.v(t=>Promise.all(["static/chunks/e4097acb98936f60.js"].map(t=>e.l(t))).then(()=>t(54417)))},49935,e=>{e.v(t=>Promise.all(["static/chunks/321cc2967bb09f2e.js"].map(t=>e.l(t))).then(()=>t(28522)))},68221,e=>{e.v(t=>Promise.all(["static/chunks/12878661ba221682.js"].map(t=>e.l(t))).then(()=>t(81489)))},79342,e=>{e.v(t=>Promise.all(["static/chunks/883d0ebed84c3daa.js"].map(t=>e.l(t))).then(()=>t(15707)))},11871,e=>{e.v(t=>Promise.all(["static/chunks/3f6e7878be5421df.js"].map(t=>e.l(t))).then(()=>t(95084)))},98688,e=>{e.v(t=>Promise.all(["static/chunks/71641a94f4566cad.js"].map(t=>e.l(t))).then(()=>t(34501)))},58616,e=>{e.v(t=>Promise.all(["static/chunks/7af50fceeed08db8.js"].map(t=>e.l(t))).then(()=>t(11591)))},78033,e=>{e.v(t=>Promise.all(["static/chunks/07be655c4e9cfe25.js"].map(t=>e.l(t))).then(()=>t(64728)))},14674,e=>{e.v(t=>Promise.all(["static/chunks/519d45c63f2638c6.js"].map(t=>e.l(t))).then(()=>t(29483)))},43272,e=>{e.v(t=>Promise.all(["static/chunks/b35bb9b7f2c953b8.js"].map(t=>e.l(t))).then(()=>t(4923)))},95804,e=>{e.v(t=>Promise.all(["static/chunks/ebd5f979e2fcbd6e.js"].map(t=>e.l(t))).then(()=>t(45070)))},26412,e=>{e.v(t=>Promise.all(["static/chunks/169f9e74612896bb.js"].map(t=>e.l(t))).then(()=>t(59860)))},22106,e=>{e.v(t=>Promise.all(["static/chunks/1d53af5bb76b4db0.js"].map(t=>e.l(t))).then(()=>t(61993)))},63641,e=>{e.v(t=>Promise.all(["static/chunks/743a8e86449bc562.js"].map(t=>e.l(t))).then(()=>t(33900)))},69724,e=>{e.v(t=>Promise.all(["static/chunks/e79886ca1857e237.js"].map(t=>e.l(t))).then(()=>t(1910)))},70463,e=>{e.v(t=>Promise.all(["static/chunks/3d0cd3c4616e31fa.js"].map(t=>e.l(t))).then(()=>t(61370)))},59285,e=>{e.v(t=>
5Promise.all(["static/chunks/0fea042372cdd2e1.js"].map(t=>e.l(t))).then(()=>t(6357)))},4677,e=>{e.v(t=>Promise.all(["static/chunks/e6effadf9f04aa31.js"].map(t=>e.l(t))).then(()=>t(36716)))},56804,e=>{e.v(t=>Promise.all(["static/chunks/d3500bff78de66d6.js"].map(t=>e.l(t))).then(()=>t(40699)))},66067,e=>{e.v(t=>Promise.all(["static/chunks/033cc8a7ed1a70ad.js"].map(t=>e.l(t))).then(()=>t(21991)))},68903,e=>{e.v(t=>Promise.all(["static/chunks/435180fb178b664e.js"].map(t=>e.l(t))).then(()=>t(74305)))},19890,e=>{e.v(t=>Promise.all(["static/chunks/51d9aaee502f02e6.js","static/chunks/3fabc67e79f6c765.js"].map(t=>e.l(t))).then(()=>t(66307)))},32054,e=>{e.v(t=>Promise.all(["static/chunks/dee6943d38534972.js","static/chunks/281e2992a9b07c83.js"].map(t=>e.l(t))).then(()=>t(89538)))},9310,e=>{e.v(t=>Promise.all(["static/chunks/d9aaf2642cffc393.js"].map(t=>e.l(t))).then(()=>t(86828)))},82042,e=>{e.v(t=>Promise.all(["static/chunks/b9440f26e6482b42.js"].map(t=>e.l(t))).then(()=>t(68129)))}]);

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.